﻿/* Fixed caution banner that stays visible at bottom of viewport */
.caution {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    z-index: 2147483647;
    max-width: 980px;
    width: calc(100% - 40px);
    color: #b91c1c !important;
    background: rgba(185, 28, 28, 0.09);
    border-left: 6px solid #b91c1c;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(13, 38, 59, 0.06);
    text-align: center;
    pointer-events: none;
}

:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --secondary: #64748b;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --background: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.page-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1.5rem 5rem 1.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: fadeInUp 0.6s ease-out forwards;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.filter-panel {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.5rem;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    width: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.filter-group.shrink {
    flex: 0 0 auto !important;
    width: 140px;
    /* Perfect for 9 chars + arrow */
}

.filter-group.grow {
    flex: 1;
    min-width: 0;
}

.filter-comp {
    flex: 3 !important;
    min-width: 510px !important;
}

.filter-view {
    flex: 2 !important;
    min-width: 350px !important;
}

/* Updated Responsive Layout */
.competition-wrapper {
    display: flex;
    gap: 0.5rem;
    /* Reduced gap */
    flex-wrap: wrap;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    /* Prevent stretching */
}

.results-column {
    flex: 0 1 600px;
    /* Fixed base width, shrinkable */
    min-width: 0;
    /* Prevent overflow */
    max-width: 100%;
    overflow-x: auto;
    /* Prevent overlap */
}

.table-column {
    flex: 1 1 400px;
    /* Allow grow, basis 400px */
    min-width: 300px;
    /* Allow shrinking to mobile size */
    max-width: 100%;
    overflow-x: auto;
    /* Prevent overlap */
}

.filter-group label {
    display: none !important;
}

.modern-dropdown {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
    /* Sufficient right padding for arrow clearance */
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: var(--surface);
    color: var(--text);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1rem !important;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box !important;
}

.modern-dropdown:hover {
    border-color: var(--secondary);
}

.modern-dropdown:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modern-gridview {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
}

.modern-gridview th {
    background: var(--primary) !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.25rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1) !important;
    text-align: center;
}

.modern-gridview th.date-header-row {
    background: #1e3a8a !important;
    color: white !important;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
}

.modern-gridview th.comp-header-row {
    background: #475569 !important;
    color: white !important;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: normal;
}

.modern-gridview td {
    padding: 0.1rem 0.25rem;
    font-size: 0.7rem;
    /* Reduced to fix wrapping/wrapping */
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}

.modern-gridview tr:last-child td {
    border-bottom: none;
}

.modern-gridview tr:hover td {
    background-color: #f1f5f9;
}

.modern-gridview th.home-header-bg {
    background-color: #2e7d32 !important;
    color: white !important;
}

.modern-gridview th.away-header-bg {
    background-color: #1a237e !important;
    color: white !important;
}

.pos-cell {
    font-weight: 600;
    color: var(--text-light);
    width: 35px;
    text-align: center;
}

.club-cell {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    /* Constrained to allow results column expansion */
}

.club-cell a,
.club-link {
    font-weight: 600;
    color: #476692;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.75rem;
}

.club-cell a:hover,
.club-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
    opacity: 1;
}

.pts-cell {
    font-weight: 700;
    color: var(--text);
    background: #f0f7ff !important;
    text-align: center;
    width: 35px;
}

.num-cell {
    text-align: center;
    width: 28px;
}

.vs-badge,
.score-banner {
    transition: transform 0.2s ease;
}

.status-badge {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #b91c1c;
    /* Red text */
    background-color: #fef2f2;
    /* Light red bg */
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 2px;
    display: inline-block;
}

.modern-gridview tr:hover .vs-badge,
.modern-gridview tr:hover .score-banner {
    transform: scale(1.05);
}

.modern-button {
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.8rem;
    /* Adjusted for smaller button */
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    /* Explicit size */
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    text-decoration: none;
    /* For hyperlinks acting as buttons */
    display: inline-block;
    /* Ensure padding works on links */
}

.modern-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Spinner overlay */
.spinner-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.spinner-panel {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
}

.spinner-icon-large {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Chatbot Styles */
#chatbot-button {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 9998;
    transition: transform 0.2s ease;
}

#chatbot-button:hover {
    transform: scale(1.05);
}

#chatbot-popup {
    position: fixed;
    top: 90px;
    right: 24px;
    width: 450px !important;
    height: 650px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    z-index: 9999;
    border: 1px solid var(--border);
}

#chatbot-popup.visible {
    display: flex;
}

#chatbot-header {
    background: var(--gradient);
    color: white;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

#chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#chatbot-close:hover {
    transform: scale(1.1);
}

#chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    white-space: pre-wrap !important;
}

.chatbot-message.assistant {
    align-self: flex-start;
    background: #f3f4f6;
    color: var(--text);
    border-bottom-left-radius: 0.25rem;
}

/* Chatbot Loading Indicator */
.chatbot-loading {
    align-self: flex-start;
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border-bottom-left-radius: 0.25rem;
    display: flex;
    gap: 4px;
    align-items: center;
    width: fit-content;
}

.chatbot-loading span {
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    border-radius: 50%;
    display: inline-block;
    animation: chatbot-bounce 1.4s infinite ease-in-out both;
}

.chatbot-loading span:nth-child(1) {
    animation-delay: -0.32s;
}

.chatbot-loading span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes chatbot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

.chatbot-message.user {
    align-self: flex-end;
    background: var(--gradient);
    color: white;
    border-radius: 18px 18px 4px 18px;
}

#chatbot-input-area {
    padding: 1.25rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 0.75rem;
    background: white;
    border-radius: 0 0 12px 12px;
}

#chatbot-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid #667eea;
    border-radius: 20px;
    outline: none;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

#chatbot-input:focus {
    border-color: #764ba2;
}

#chatbot-send {
    background: var(--gradient);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
}

#chatbot-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Match Report Styles Added */
.result-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius);
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}

.result-display .team {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.result-display .team.home {
    text-align: right;
}

.result-display .team.away {
    text-align: left;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

/* Result Date Grouping */
.result-date-header {
    background: #e9eff5;
    /* More visible blue tint */
    color: #1e293b;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 1rem 0.4rem 1.5rem;
    /* Reduced padding */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #cbd5e1;
    /* Darker border */
    margin: 0.4rem 0 0.15rem 0;
    /* Tightened margin */
    border-radius: 4px;
    display: block;
    position: relative;
    width: auto;
}

.result-date-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #476692;
    /* Matching Blue Accent */
    border-radius: 4px 0 0 4px;
}

.result-display+.result-date-header {
    margin-top: 0.2rem;
}

/* Result Extras & FT Badge */
.status-ft {
    font-size: 0.6rem;
    font-weight: 800;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-transform: uppercase;
}


/* Updated Action Buttons with Icons */
.btn-icon-wrapper {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}


.btn-report,
.btn-lineup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.btn-report {
    background: var(--primary);
}

.btn-report:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(76, 175, 80, 0.3);
}

.btn-lineup {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.btn-lineup:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Tooltip on hover */
.btn-report::after,
.btn-lineup::after {
    content: attr(title);
    position: absolute;
    bottom: 115%;
    right: 0;
    transform: none;
    z-index: 1000;
    background: #0f172a;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    font-weight: 600;
}

.btn-report:hover::after,
.btn-lineup:hover::after {
    opacity: 1;
}

/* SVG Icons as masks or backgrounds */
.icon-report {
    width: 14px;
    height: 14px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cline x1='10' y1='9' x2='8' y2='9'/%3E%3C/svg%3E") no-repeat center;
}

.icon-lineup {
    width: 14px;
    height: 14px;
    background: var(--secondary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E") no-repeat center;
}

/* Score Pill */
.score-banner {
    background: var(--text);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    min-width: 65px;
    text-align: center;
    line-height: 1;
}

/* Filter Group Standardized */
.filter-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

/* Report Text Area */
.report-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-family: inherit;
    line-height: 1.6;
    color: var(--text);
    white-space: pre-line;
    min-height: 200px;
    display: block;
    width: 100%;
    margin-top: 1rem;
    text-align: left !important;
    text-indent: 0 !important;
}

.report-content p,
.report-content div {
    text-align: left !important;
    text-indent: 0 !important;
}

.player-lists-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .result-display {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.5rem;
    }

    .result-display .team.home,
    .result-display .team.away {
        text-align: center;
    }

    .player-lists-container {
        grid-template-columns: 1fr;
    }
}

/* Player List Styling */
.player-list-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    background: white;
    font-size: 0.75rem;
    color: var(--text);
}

.player-list-item:last-child {
    border-bottom: none;
}

.player-list-item:nth-child(even) {
    background: #f8fafc;
}

.player-list-item strong {
    margin-right: 0.5rem;
    color: var(--primary-dark);
}

.player-number {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--text-light);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 0.75rem;
}

/* Back Link */
.back-link-container {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}


/* Club Badge */
.club-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Result Row Card */
.result-row-card {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 2px;
    padding: 1px 0;
    transition: all 0.2s ease;
    width: 100%;
}

.result-row-card:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result-row-card .result-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: flex-start;
    gap: 0.35rem;
    flex: 1;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding: 0 0.5rem;
    margin: 0;
    background: transparent;
    border: none;
}

.micro-badge {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.2s ease;
    image-rendering: auto;
    background-color: transparent;
    min-width: 18px;
    min-height: 18px;
}

.result-display:hover .micro-badge {
    transform: scale(1.15);
}


/* Position Badges */
.pos-badge {
    display: inline-block;
    width: 40px;
    /* Fixed width */
    text-align: center;
    padding: 1px 0;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    margin-right: 0.75rem;
    text-transform: uppercase;
}

.pos-gk {
    background-color: #10b981;
    color: white;
}

.pos-def {
    background-color: #3b82f6;
}

.pos-mid {
    background-color: #f59e0b;
}

.pos-fwd {
    background-color: #ef4444;
}

.pos-sub {
    background-color: #64748b;
}

/* Match Metadata Header */
.match-meta-header {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    text-align: center;
}

.match-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Styled Officials Section */
.officials-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 2rem;
    width: 100%;
    grid-column: 1 / -1;
}

.officials-header {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.official-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.official-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}