/* PC Evidence Portal - Professional Legal Brief Style */

:root {
    --primary-color: #1a4d7a;
    --accent-color: #2874a6;
    --text-color: #2c3e50;
    --bg-color: #ffffff;
    --gray-light: #ecf0f1;
    --gray-medium: #bdc3c7;
    --high-priority: #e74c3c;
    --medium-priority: #f39c12;
    --low-priority: #27ae60;
    --quote-bg: #f8f9fa;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: var(--primary-color);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: normal;
}

header .case-name {
    font-size: 1.2em;
    margin-bottom: 5px;
}

header .date {
    font-size: 0.9em;
    opacity: 0.9;
}

nav {
    background: var(--accent-color);
    padding: 0;
    border-radius: 0 0 8px 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 0.95em;
}

nav a:hover, nav a.active {
    background: var(--primary-color);
}

main {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-color);
    font-size: 2em;
    margin: 30px 0 20px 0;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

h3 {
    color: var(--accent-color);
    font-size: 1.5em;
    margin: 20px 0 10px 0;
}

.intro {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.intro p {
    margin-bottom: 15px;
}

.intro ul {
    margin-left: 30px;
    margin-top: 15px;
}

.intro li {
    margin-bottom: 10px;
}

.note {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
}

.issue-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.issue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.issue-card.high-priority {
    border-left: 6px solid var(--high-priority);
}

.issue-card.medium-priority {
    border-left: 6px solid var(--medium-priority);
}

.issue-card.low-priority {
    border-left: 6px solid var(--low-priority);
}

.issue-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.issue-card h3 a:hover {
    text-decoration: underline;
}

.summary {
    font-size: 1.1em;
    font-style: italic;
    margin: 15px 0;
    color: #555;
}

.stats {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.stat {
    font-size: 0.95em;
    color: #666;
}

.impact {
    margin: 15px 0;
    padding: 15px;
    background: var(--quote-bg);
    border-left: 4px solid var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s;
    font-size: 0.95em;
}

.btn:hover {
    background: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    font-size: 1.1em;
    padding: 15px 30px;
}

.btn-primary:hover {
    background: var(--accent-color);
}

.quote-box {
    background: var(--quote-bg);
    border-left: 5px solid var(--accent-color);
    padding: 20px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.05em;
}

.quote-box .attribution {
    text-align: right;
    margin-top: 10px;
    font-style: italic;
    color: #666;
    font-family: 'Georgia', serif;
}

.evidence-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 20px;
    margin: 15px 0;
}

.evidence-item .date {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1em;
}

.evidence-item .quote {
    margin: 15px 0;
    padding: 15px;
    background: var(--quote-bg);
    border-left: 4px solid var(--medium-priority);
    font-style: italic;
}

.evidence-item .context {
    margin: 10px 0;
    font-size: 0.95em;
    color: #555;
}

.evidence-item .settlement {
    margin-top: 15px;
    padding: 10px;
    background: #e8f4f8;
    border-radius: 5px;
    font-size: 0.9em;
}

.solution-box {
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.solution-box h4 {
    color: #155724;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.solution-box .directive {
    background: white;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
    border-left: 4px solid #28a745;
}

.breadcrumb {
    font-size: 0.9em;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.pattern-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.pattern-header h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.pattern-header .tagline {
    font-size: 1.2em;
    opacity: 0.95;
}

.evidence-count {
    display: inline-block;
    background: var(--high-priority);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
    margin-left: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--gray-light);
    border-radius: 8px;
    color: #666;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 20px;
    }

    header h1 {
        font-size: 1.8em;
    }

    nav ul {
        flex-direction: column;
    }

    nav a {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    main {
        padding: 20px;
    }

    .stats {
        flex-direction: column;
        gap: 10px;
    }

    .pattern-header h1 {
        font-size: 1.8em;
    }
}

/* Print Styles */
@media print {
    nav, .btn {
        display: none;
    }

    body {
        max-width: 100%;
        padding: 0;
    }

    .issue-card {
        page-break-inside: avoid;
    }
}
