/* ===========================
   KooraGo - Sporty100 Style
   Dark Theme + Blue/Purple Accent
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

:root {
    /* Sporty100 Dark Colors */
    --bg-main: #0d1117;
    --bg-secondary: #161b22;
    --bg-card: #1c2128;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    --text-light: #6e7681;

    /* Blue/Purple Gradient Accent */
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-bg: rgba(99, 102, 241, 0.15);
    --gradient-accent: linear-gradient(135deg, #6366f1, #8b5cf6);

    /* Status Colors */
    --live-color: #ef4444;
    --success: #22c55e;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 12px;

    /* Card Gradient Border */
    --card-border: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
}

/* Light Mode (optional toggle) */
[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Base Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===========================
   HEADER - KooraTime Style
   =========================== */
.header {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-text {
    color: var(--accent);
}

/* Navigation */
.nav {
    display: none;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    padding: 8px 20px;
    border-radius: 99px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text-main);
    background: var(--accent-bg);
}

.nav-link.active {
    background: var(--accent);
    color: #fff;
}

/* Search Form */
.search-form {
    display: none;
    align-items: center;
    gap: 0;
    background: var(--bg-main);
    border-radius: 25px;
    padding: 4px 4px 4px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .search-form {
        display: flex;
    }
}

.search-input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 0.9rem;
    width: 180px;
    color: var(--text-main);
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-input:focus {
    outline: none;
}

.search-btn {
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: scale(1.05);
}

/* Search Results Page */
.search-section {
    margin-bottom: 2rem;
}

.search-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-bg);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.search-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.search-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.search-item-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--bg-main);
}

.search-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent);
}

/* Theme Icons */
[data-theme="light"] .theme-icon-dark {
    display: none;
}

[data-theme="light"] .theme-icon-light {
    display: block;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.hamburger {
    width: 20px;
    height: 2px;
    background: var(--text-main);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 0.5rem;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    padding: 12px;
    text-align: center;
    background: var(--bg-main);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-weight: 600;
}

/* ===========================
   MAIN CONTENT
   =========================== */
.main {
    padding: 2rem 0;
}

/* Date Tabs - KooraTime Style */
.date-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--bg-secondary);
    padding: 6px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    justify-content: center;
}

.date-tab {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.2s;
}

.date-tab:hover {
    color: var(--text-main);
    background: var(--accent-bg);
}

.date-tab.active {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

/* Page Title */
.page-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-main);
}

.page-title-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* ===========================
   LIVE BANNER - KooraTime Style
   =========================== */
.live-banner {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.live-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--live-color);
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--live-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.live-matches-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) rgba(0, 0, 0, 0.05);
}

.live-matches-scroll::-webkit-scrollbar {
    height: 6px;
}

.live-matches-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.live-matches-scroll::-webkit-scrollbar-thumb {
    background: var(--accent-light);
    border-radius: 10px;
}

.live-match-mini {
    min-width: 220px;
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    padding: 1rem;
    transition: all 0.2s;
    position: relative;
}

.live-match-mini:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.live-match-mini::before {
    content: 'LIVE';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.65rem;
    font-weight: 800;
    background: var(--live-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
}

.live-match-teams {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.live-match-score {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

/* ===========================
   LEAGUE & MATCH CARDS
   =========================== */
.league-section {
    margin-bottom: 2rem;
}

.league-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.league-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
}

.league-name {
    font-weight: 700;
    font-size: 1rem;
}

.league-country {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Match Card - Sporty100 Style */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 1024px) {
    .matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .matches-grid {
        grid-template-columns: 1fr;
    }
}

.match-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.match-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 2px;
    background: var(--card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

.match-card:hover::before {
    opacity: 1;
}

.match-card:hover {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
}

/* Card Header */
.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-main);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.match-card-league {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.match-round {
    color: var(--accent);
}

.match-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.match-status.live {
    background: var(--live-color);
    color: #fff;
}

.match-status .live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.match-status.finished {
    background: var(--text-light);
    color: #fff;
}

/* Teams Row */
.match-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    gap: 1rem;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.team-logo-lg {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.team-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    background: var(--accent-bg);
}

.team-name {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.3;
    color: var(--text-main);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Match Center (Score/Time) */
.match-center {
    min-width: 100px;
    text-align: center;
}

.match-time-big {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.match-date-small {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.match-score-big {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.score-dash {
    color: var(--text-muted);
}

/* Card Footer */
.match-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-main);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.watch-btn-mini {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.watch-btn-mini:hover {
    background: #6d28d9;
    transform: scale(1.05);
}

/* Watch Button (Legacy) */
.watch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.watch-btn:hover {
    background: #6d28d9;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* ===========================
   WATCH PAGE - KooraTime Style
   =========================== */
.watch-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .watch-container {
        grid-template-columns: 1fr;
    }
}

.player-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.player-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: var(--text-muted);
    gap: 1rem;
}

.player-placeholder-icon {
    font-size: 3rem;
}

/* Sidebar */
.watch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.servers-section,
.match-details-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.servers-title {
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.servers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-btn {
    flex: 1 1 auto;
    min-width: 80px;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--bg-main);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.2s;
}

.server-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-bg);
}

.server-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

/* Match Details Card */
.match-details-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.match-details-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.match-details-team-logo {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    padding: 6px;
    object-fit: contain;
    box-shadow: var(--shadow-sm);
}

.match-details-team-name {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
}

.match-details-score {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.match-details-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.match-details-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-main);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   EMPTY STATE
   =========================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.empty-state-text {
    color: var(--text-muted);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-timezone {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===========================
   MATCH INFO ORGANIZED LAYOUT
   =========================== */
.match-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.match-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-main);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.match-extra-details {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.extra-details-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-bg);
}

.extra-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.extra-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.detail-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.detail-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .match-card {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .match-time-section {
        width: 100%;
    }

    .match-teams {
        width: 100%;
    }

    .match-info {
        width: 100%;
    }

    .team-logo {
        width: 48px;
        height: 48px;
    }

    .match-score {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .extra-details-grid {
        grid-template-columns: 1fr;
    }
}

/* H2H and Form Section */
.h2h-section,
.form-section {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.h2h-matches-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.h2h-match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--bg-main);
    border-radius: 8px;
    font-size: 0.9rem;
}

.h2h-date {
    color: var(--text-muted);
    font-size: 0.8rem;
    width: 90px;
}

.h2h-teams {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.h2h-score {
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: var(--bg-main);
    border-radius: 8px;
}

.form-team {
    font-weight: 600;
}

.form-badges {
    display: flex;
    gap: 4px;
}

.form-badge {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    color: white;
}

.form-badge.w {
    background-color: #22c55e;
}

.form-badge.d {
    background-color: #f59e0b;
}

.form-badge.l {
    background-color: #ef4444;
}

.text-green-400 {
    color: #4ade80;
}

.text-red-400 {
    color: #f87171;
}

.text-gray-400 {
    color: #9ca3af;
}

.font-bold {
    font-weight: 700;
}