/* Name Monitoring System - Official Government Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Official Government Color Scheme */
    --primary-color: #003366;        /* Navy Blue - Official */
    --primary-dark: #002244;         /* Darker Navy */
    --secondary-color: #5C6F82;      /* Steel Blue-Gray */
    --accent-gold: #C9B037;          /* Government Gold */
    --success-color: #2E7D32;        /* Forest Green */
    --warning-color: #D68910;        /* Official Warning Orange */
    --error-color: #B71C1C;          /* Official Red */
    --text-dark: #1a1a1a;            /* Almost Black */
    --text-light: #666666;           /* Medium Gray */
    --text-primary: #2c3e50;         /* Dark Slate */
    --text-secondary: #546e7a;       /* Slate Gray */
    --bg-light: #eceff1;             /* Light Gray-Blue */
    --bg-white: #FFFFFF;             /* Pure White */
    --bg-cream: #F9F9F7;             /* Cream Paper */
    --border-color: #b0bec5;         /* Blue-Gray Border */
    --border-dark: #78909c;          /* Darker Border */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 6px 12px rgba(0,0,0,0.2);
}

body {
    font-family: 'Segoe UI', 'Times New Roman', Georgia, serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
}

/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #002244 0%, #003366 100%);
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-box {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.login-header {
    background: var(--primary-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.login-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.login-header p {
    opacity: 0.9;
    font-size: 14px;
}

.login-form {
    padding: 30px;
}

/* Google Login Button */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 60px);
    padding: 14px 24px;
    margin: 0 30px 24px 30px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    font-family: 'Google Sans', Roboto, Arial, sans-serif;
    letter-spacing: 0.25px;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #d2d4d7;
    box-shadow: 0 1px 3px 0 rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
    transform: translateY(-1px);
}

.btn-google:active {
    background: #f1f3f4;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3);
    transform: translateY(0);
}

.btn-google svg {
    margin-right: 14px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 30px;
    color: #5f6368;
    font-size: 13px;
    font-weight: 400;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dadce0;
}

.login-divider span {
    padding: 0 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-footer {
    padding: 20px 30px;
    background: var(--bg-light);
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.login-footer .register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-footer .register-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-cream);
}

/* Header - Official Government Style */
.dashboard-header {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
    padding: 20px 30px;
    border-top: 4px solid var(--accent-gold);
    border-bottom: 2px solid var(--border-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-left {
    flex: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    letter-spacing: 0.5px;
}

.dashboard-header h1 {
    font-size: 28px;
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.username {
    font-weight: 600;
    color: var(--bg-white);
    font-size: 14px;
}

.role-badge {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 14px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Stats Grid - File Folder Style */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(to bottom, #f4e8d0 0%, #e8dcc4 100%);
    border-radius: 2px 2px 4px 4px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #d4c4a8;
    border-top: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 0 0 4px 0;
    opacity: 0.15;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

.stat-card.highlight {
    border-top: 3px solid var(--error-color);
}

.stat-card.highlight::before {
    background: var(--error-color);
}

.stat-icon {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    font-family: 'Courier New', monospace;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.stat-label {
    font-size: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Dashboard Grid - Document Style */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.dashboard-section {
    background: var(--bg-white);
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(to right, rgba(0,51,102,0.05), transparent);
    padding: 12px 0 12px 12px;
    margin-left: -12px;
    margin-right: -12px;
    padding-right: 12px;
}

.section-header h2 {
    font-size: 18px;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Forms */
/* Form Inputs - Official Government Style */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--steel-gray);
    border-radius: 2px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}

.help-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.preferences-form {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 0 0 auto;
}

/* Buttons - Official Government Style */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: #001a33;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-icon {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.2);
}

/* Monitored Names List - File Cabinet Style */
.monitored-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.monitored-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(to right, #fdfbf7, #f9f6f0);
    border-left: 4px solid var(--accent-gold);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: all 0.3s;
    position: relative;
}

.monitored-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 4px;
    height: 20px;
    background: var(--primary-color);
}

.monitored-item:hover {
    background: linear-gradient(to right, #f5f2ec, #f0ebe1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transform: translateX(2px);
}

.monitored-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.monitored-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.monitored-actions {
    display: flex;
    gap: 8px;
}

.sensitivity-badge {
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.sensitivity-exact {
    background: #fff5f5;
    color: #8B0000;
    border-color: #C62828;
}

.sensitivity-moderate {
    background: #f0f7ff;
    color: #003d7a;
    border-color: #1565C0;
}

.sensitivity-flexible {
    background: #faf5ff;
    color: #4a0072;
    border-color: #6A1B9A;
}

/* Matches List - Official Document Style */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    padding: 16px;
    background: linear-gradient(to right, #fdfbf7, white);
    border-radius: 2px;
    border-left: 4px solid var(--steel-gray);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-left-width: 4px;
}

.match-item.unread {
    background: linear-gradient(to right, #fff9e6, #fffef8);
    border-left-color: var(--accent-gold);
    box-shadow: 0 2px 4px rgba(201,176,55,0.2);
}

.match-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.match-type {
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

.match-type-arrest {
    background: #fff5f5;
    color: #8B0000;
    border-color: #C62828;
}

.match-type-warrant {
    background: #fff9e6;
    color: #8B4500;
    border-color: #E65100;
}

.match-date {
    font-size: 12px;
    color: var(--text-light);
}

.match-content {
    margin-bottom: 12px;
}

.match-table {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 8px;
}

/* Match Cards (View Page) - Official Document Style */
.matches-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.match-card {
    background: linear-gradient(to right, #fdfbf7, white);
    border-radius: 2px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    border: 2px solid var(--steel-gray);
    border-left-width: 6px;
}

.match-card.unread {
    border-left-color: var(--accent-gold);
    background: linear-gradient(to right, #fff9e6, #fffef8);
    box-shadow: 0 2px 6px rgba(201,176,55,0.2);
}

.match-card-header {
    margin-bottom: 16px;
}

.match-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.match-card-title h3 {
    font-size: 18px;
    color: var(--primary-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.unread-badge {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-color);
}

.match-card-meta {
    display: flex;
    gap: 15px;
}

.match-card-body {
    margin-bottom: 16px;
}

.match-info {
    margin-bottom: 12px;
    color: var(--text-light);
}

.match-preview {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 6px;
}

.preview-item {
    margin-bottom: 6px;
    font-size: 14px;
}

.match-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.email-badge {
    font-size: 12px;
    color: var(--text-light);
}

/* Match Detail View */
.match-detail-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.match-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.match-detail-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.match-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.match-detail-body h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Detail Tables - Official Government Style */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--steel-gray);
}

.detail-table tr {
    border-bottom: 1px solid var(--border-color);
}

.detail-table tr:nth-child(even) {
    background: #f9f9f9;
}

.detail-table td {
    padding: 12px 16px;
}

.detail-label {
    font-weight: 700;
    width: 30%;
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.3px;
    background: #f5f5f5;
}

.detail-value {
    color: var(--text-dark);
    font-weight: 500;
}

/* Filters - Official Government Style */
.filters-bar {
    background: linear-gradient(to bottom, #f8f8f8, white);
    padding: 20px;
    border-radius: 2px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid var(--steel-gray);
    border-top: 3px solid var(--accent-gold);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid var(--steel-gray);
    border-radius: 2px;
    font-size: 14px;
    background: white;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}

.filter-results {
    margin-left: auto;
    color: var(--text-light);
    font-size: 14px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
}

.pagination-info {
    font-weight: 600;
    color: var(--text-dark);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state p {
    margin-bottom: 20px;
    font-size: 16px;
}

/* Alerts - Official Government Style */
.alert {
    padding: 15px 20px;
    border-radius: 2px;
    margin-bottom: 20px;
    border: 2px solid;
    font-weight: 600;
}

.alert-error {
    background: #fff5f5;
    color: #8B0000;
    border-color: var(--error-color);
    border-left-width: 6px;
}

.alert-success {
    background: #f0f8f0;
    color: #1a5f1a;
    border-color: var(--success-color);
    border-left-width: 6px;
}

/* Alert Messages (floating) */
.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 2px;
    border: 2px solid;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
}

.alert-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
/* Modal - Official Document Style */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.75);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-white);
    border-radius: 2px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 3px solid var(--primary-color);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 3px solid var(--accent-gold);
    background: linear-gradient(to bottom, #f8f8f8, white);
}

.modal-header h2 {
    font-size: 20px;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--steel-gray);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content form {
    padding: 24px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Edit Name Modal Styles */
.edit-name-info {
    padding: 0 24px 8px 24px;
}

.edit-name-display {
    padding: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: center;
}

.edit-name-display strong {
    font-size: 16px;
    color: var(--primary-color);
}

.sensitivity-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.sensitivity-option {
    cursor: pointer;
    display: block;
}

.sensitivity-option input[type="radio"] {
    display: none;
}

.sensitivity-card {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.sensitivity-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.sensitivity-option input[type="radio"]:checked + .sensitivity-card {
    border-color: var(--primary-color);
    background: rgba(33, 150, 243, 0.05);
    box-shadow: var(--shadow-md);
}

.sensitivity-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sensitivity-description {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

.badge-recommended {
    display: inline-block;
    background: var(--success-color);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sensitivity-card.recommended {
    border-color: var(--success-color);
}

.sensitivity-option input[type="radio"]:checked + .sensitivity-card.recommended {
    background: rgba(76, 175, 80, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-results {
        margin-left: 0;
    }
    
    .match-detail-header {
        flex-direction: column;
        gap: 20px;
    }
}

/* FAQ Section - Official Government Style */
.faq-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(to bottom, #fdfbf7, white);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.12);
    border: 2px solid var(--steel-gray);
    border-top: 4px solid var(--accent-gold);
}

.faq-section h2 {
    color: var(--primary-dark);
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 2px;
    border-left: 4px solid var(--accent-gold);
    border: 1px solid #ddd;
    border-left-width: 4px;
    border-left-color: var(--accent-gold);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.faq-item:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transform: translateX(3px);
    border-left-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-dark);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.faq-item p {
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}

.faq-item strong {
    color: var(--primary-dark);
    font-weight: 700;
}

