/* ================= KÖZÖS BETŰTÍPUSOK ================= */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ================= SPORT-NEON VÁLTOZÓK ================= */
:root {
    /* Alap szín paletta - szürkés, sportos */
    --sport-bg: #191c24;
    --sport-card: #252a36;
    --sport-card-dark: #1e2230;
    --sport-text: #e6e9f0;
    --sport-text-dim: #a0a8c0;
    
    /* Neon kiemelések - melegebb sportszerű színek */
    --neon-lime: #c5ff00;      /* Focilabda fényvisszaverő csíkok */
    --neon-orange: #ff7300;    /* Kosárlabda színe */ 
    --neon-pink: #ff0076;      /* Vesztett állapot */
    --neon-aqua: #00ffaa;      /* Nyert állapot */
    --neon-yellow: #ffdd00;    /* Függőben lévő */
    
    /* Neon ragyogások */
    --lime-glow: 0 0 10px rgba(197, 255, 0, 0.7);
    --orange-glow: 0 0 15px rgba(255, 115, 0, 0.7);
    --pink-glow: 0 0 15px rgba(255, 0, 118, 0.7);
    --aqua-glow: 0 0 15px rgba(0, 255, 170, 0.7);
    --yellow-glow: 0 0 15px rgba(255, 221, 0, 0.7);
    
    /* Szegélyek és árnyékok */
    --sport-border: 1px solid rgba(197, 255, 0, 0.2);
    --sport-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    --content-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    
    /* Régi Night változók átalakítása sport változókra a kompatibilitás miatt */
    --night-bg: var(--sport-bg);
    --night-card: var(--sport-card);
    --night-card-dark: var(--sport-card-dark);
    --night-text: var(--sport-text);
    --night-text-dim: var(--sport-text-dim);
    --night-border: var(--sport-border);
    --night-shadow: var(--card-shadow);
    --neon-blue: var(--neon-orange);
    --neon-green: var(--neon-aqua);
    --neon-red: var(--neon-pink);
    --neon-purple: var(--neon-lime);
}

/* ================= ALAP STÍLUSOK ================= */
body {
    background-color: var(--sport-bg);
    color: var(--sport-text);
    font-family: 'Barlow', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main elem beállítása, hogy kitöltse a rendelkezésre álló teret */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

/* ================= KÖZÖS OLDAL KOMPONENSEK ================= */
.sport-wrapper, .night-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(255, 115, 0, 0.03), transparent 20%),
                radial-gradient(circle at 80% 80%, rgba(197, 255, 0, 0.03), transparent 20%);
    font-family: 'Barlow', 'Roboto', sans-serif;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.sport-container, .night-container {
    flex: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.sport-title, .neon-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 1rem 0 2rem 0;
    color: var(--sport-text);
    text-shadow: 0 0 5px var(--neon-orange), 0 0 10px rgba(255, 115, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.sport-title::after, .neon-title::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ================= BEJELENTKEZÉSI FELÜLET ================= */
.sport-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 5;
    background: radial-gradient(circle at 30% 30%, rgba(255, 115, 0, 0.05), transparent 30%),
                radial-gradient(circle at 70% 70%, rgba(197, 255, 0, 0.05), transparent 30%);
}

.sport-login-card {
    background-color: var(--sport-card);
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 255, 0, 0.15);
    z-index: 10;
}

.sport-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-orange), var(--neon-aqua));
    z-index: 15;
}

.sport-login-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sport-logo-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--sport-card-dark), var(--sport-card));
    color: var(--neon-lime);
    font-size: 2rem;
    font-weight: 700;
    border: 1px solid rgba(197, 255, 0, 0.3);
    box-shadow: 0 0 20px rgba(197, 255, 0, 0.2);
    text-shadow: 0 0 10px rgba(197, 255, 0, 0.5);
    letter-spacing: 0;
    position: relative;
}

.sport-logo-inner::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-lime), transparent, var(--neon-orange)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
}

.sport-login-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--sport-text);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Form styles */
.sport-login-form {
    margin-bottom: 1.5rem;
}

.sport-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.sport-form-group label {
    display: block;
    color: var(--sport-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sport-input-wrapper {
    position: relative;
}

.sport-input {
    width: 100%;
    background-color: var(--sport-card-dark);
    border: 1px solid rgba(197, 255, 0, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--sport-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Barlow', 'Roboto', sans-serif;
}

.sport-input:focus {
    border-color: var(--neon-lime);
    box-shadow: 0 0 0 2px rgba(197, 255, 0, 0.1);
}

.sport-input::placeholder {
    color: var(--sport-text-dim);
    opacity: 0.7;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-orange));
    transition: width 0.3s ease;
}

.input-focus .input-line {
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sport-text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 0;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--neon-lime);
}

.password-icon-hide::before {
    content: '•••';
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.password-icon-show::before {
    content: '👁️';
    font-size: 1.2rem;
}

.sport-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 10px;
}

.sport-checkbox-wrapper {
    display: flex;
    align-items: center;
}

.sport-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    background-color: var(--sport-card-dark);
    border: 1px solid rgba(197, 255, 0, 0.3);
    position: relative;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.sport-checkbox:checked {
    background-color: rgba(197, 255, 0, 0.1);
    border-color: var(--neon-lime);
}

.sport-checkbox:checked::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--neon-lime);
    font-size: 0.9rem;
    font-weight: bold;
}

.sport-checkbox-label {
    color: var(--sport-text);
    font-size: 0.9rem;
    cursor: pointer;
}

.sport-forgot-link {
    color: var(--neon-orange);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.sport-forgot-link:hover {
    color: var(--neon-lime);
    text-shadow: 0 0 8px rgba(197, 255, 0, 0.4);
}

.sport-button {
    width: 100%;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-lime));
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-family: 'Barlow', 'Roboto', sans-serif;
    margin-top: 1rem;
}

.sport-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.sport-button:hover {
    box-shadow: 0 0 20px rgba(197, 255, 0, 0.4);
    transform: translateY(-2px);
}

.sport-button:hover::before {
    left: 100%;
}

.sport-login-footer {
    text-align: center;
    color: var(--sport-text-dim);
    font-size: 0.9rem;
    border-top: 1px solid rgba(197, 255, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.sport-register-link {
    color: var(--neon-lime);
    font-weight: 600;
    text-decoration: none;
    transition: text-shadow 0.3s ease;
}

.sport-register-link:hover {
    text-shadow: 0 0 8px rgba(197, 255, 0, 0.5);
}

/* Alerts */
.sport-alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.sport-alert.error {
    background-color: rgba(255, 0, 118, 0.1);
    border: 1px solid rgba(255, 0, 118, 0.3);
    color: var(--neon-pink);
}

.sport-alert.success {
    background-color: rgba(0, 255, 170, 0.1);
    border: 1px solid rgba(0, 255, 170, 0.3);
    color: var(--neon-aqua);
}

/* ================= MENÜ STÍLUSOK ================= */
.sport-navbar {
    background-color: var(--sport-card-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    border-bottom: var(--sport-border);
    position: relative;
    z-index: 100;
}

.navbar-toggler {
    border: 1px solid rgba(197, 255, 0, 0.3);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(197, 255, 0, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(197, 255, 0, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.sport-brand {
    font-family: 'Barlow', 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--sport-text) !important;
    display: flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    background: rgba(197, 255, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(197, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.brand-text {
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(197, 255, 0, 0.3);
}

.sport-brand:hover {
    box-shadow: 0 0 15px rgba(197, 255, 0, 0.3);
    transform: translateY(-2px);
}

/* Navigációs linkek egységes megjelenése */
.sport-nav-link, .nav-link {
    color: var(--sport-text) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.sport-nav-link:hover, .sport-nav-link.active, 
.nav-link:hover, .nav-link.active {
    background: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime) !important;
}

.sport-nav-link.active::after, .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-lime), var(--neon-orange));
    border-radius: 2px;
}

/* Dropdown menük */
.sport-dropdown-menu, .dropdown-menu {
    background-color: var(--sport-card-dark);
    border: var(--sport-border);
    border-radius: 8px;
    box-shadow: var(--sport-shadow);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.sport-dropdown-item, .dropdown-item {
    color: var(--sport-text);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sport-dropdown-item:hover, .dropdown-item:hover {
    background-color: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime);
}

.sport-dropdown-divider, .dropdown-divider {
    border-color: rgba(197, 255, 0, 0.1);
    margin: 0.5rem 0;
}

/* Fejléc bejelentkezési űrlap */
.navbar-login-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar-input-group {
    position: relative;
}

.navbar-input {
    background: rgba(197, 255, 0, 0.08);
    border: 1px solid rgba(197, 255, 0, 0.2);
    border-radius: 6px;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem;
    color: var(--sport-text);
    width: 150px;
    transition: all 0.3s ease;
}

.navbar-input:focus {
    background: rgba(197, 255, 0, 0.12);
    border-color: rgba(197, 255, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(197, 255, 0, 0.1);
    outline: none;
    width: 180px;
}

.navbar-input::placeholder {
    color: rgba(197, 255, 0, 0.5);
    font-size: 0.8rem;
}

.navbar-submit {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-lime));
    color: #000;
    border: none;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.navbar-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 255, 0, 0.3);
}

.navbar-forgot {
    font-size: 0.7rem;
    color: var(--neon-orange);
    text-decoration: none;
    position: absolute;
    right: 5px;
    bottom: -18px;
    transition: all 0.3s ease;
}

.navbar-forgot:hover {
    color: var(--neon-lime);
    text-decoration: underline;
}

/* Bejelentkezés/regisztráció gombok */
.login-btn, .register-btn {
    padding: 0.4rem 1rem !important;
    margin-left: 0.5rem;
}

.login-btn {
    background: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime) !important;
}

.register-btn {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-lime));
    color: #000 !important;
    font-weight: 600;
}

.login-btn:hover {
    background: rgba(197, 255, 0, 0.2);
    transform: translateY(-2px);
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(197, 255, 0, 0.3);
}

/* ================= LÁBLÉC STÍLUSOK ================= */
.sport-footer {
    background-color: var(--sport-card-dark);
    color: var(--sport-text-dim);
    padding: 1.5rem 0;
    margin-top: 3rem;
    border-top: var(--sport-border);
    font-family: 'Barlow', 'Roboto', sans-serif;
    font-size: 0.9rem;
}

/* Reszponzív igazítások a fejléc bejelentkezéshez */
@media (max-width: 1200px) {
    .navbar-login-form {
        flex-wrap: wrap;
    }
    
    .navbar-input {
        width: 120px;
    }
    
    .navbar-input:focus {
        width: 140px;
    }
}

@media (max-width: 991px) {
    .navbar-login-form {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(197, 255, 0, 0.1);
        width: 100%;
    }
    
    .navbar-input-group {
        flex: 1;
    }
    
    .navbar-input {
        width: 100%;
    }
    
    .navbar-input:focus {
        width: 100%;
    }
}

/* Responsive adaptations */
@media (max-width: 767px) {
    .sport-login-card {
        padding: 2rem 1.5rem;
    }
    
    .sport-login-title {
        font-size: 1.6rem;
    }
    
    .sport-logo-inner {
        width: 70px;
        height: 70px;
        font-size: 1.6rem;
    }
    
    .sport-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .sport-login-container {
        padding: 1rem;
    }
    
    .sport-login-card {
        padding: 1.5rem 1rem;
    }
    
    .sport-login-title {
        font-size: 1.4rem;
    }
    
    .sport-logo-inner {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Mobilra optimalizált menü */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--sport-card-dark);
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        border: var(--sport-border);
        border-top: none;
        box-shadow: var(--sport-shadow);
    }
    
    .sport-nav-link, .nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.3rem 0;
    }
    
    .sport-nav-link.active::after, .nav-link.active::after {
        width: 4px;
        height: 70%;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .sport-dropdown-menu, .dropdown-menu {
        background-color: rgba(197, 255, 0, 0.05);
        border: none;
        box-shadow: none;
    }
    
    .navbar-login-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(197, 255, 0, 0.1);
    }
    
    .navbar-input-group {
        width: 100%;
    }
    
    .navbar-input, .navbar-input:focus {
        width: 100%;
    }
    
    .navbar-submit {
        width: 100%;
    }
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 991px) {
    .sport-grid {
        grid-template-columns: 1fr;
    }
    
    .sport-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .sport-card-stats {
        flex-wrap: wrap;
    }
    
    .sport-stat {
        flex: 1 0 45%; /* Két oszlop mobilon */
        margin-bottom: 8px;
    }
    
    .sport-title {
        font-size: 1.5rem;
    }
    
    .sport-title::before, 
    .sport-title::after {
        width: 30px;
    }
}

@media (max-width: 500px) {
    .sport-grid {
        grid-template-columns: 1fr;
    }
    
    .sport-card-container {
        min-width: 100%;
    }
    
    .sport-table th,
    .sport-table td {
        padding: 8px;
    }
}

/* ================= KIJELENTKEZÉS GOMB ================= */
.logout-item {
    color: var(--neon-pink);
    transition: all 0.3s ease;
}

.logout-item:hover {
    background-color: rgba(255, 0, 118, 0.1);
    color: var(--neon-pink);
    box-shadow: 0 0 8px rgba(255, 0, 118, 0.3);
}

/* ================= NAP OLDAL STÍLUSOK ================= */
/* Neon fények */
.neon-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.neon-glow.top-left {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-lime));
    opacity: 0.3;
}

.neon-glow.bottom-right {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
    background: linear-gradient(225deg, var(--neon-aqua), var(--neon-orange));
    opacity: 0.2;
}

/* Mobilnézet kapcsoló */
.view-switch {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.sport-switch-btn {
    background-color: var(--sport-card-dark);
    color: var(--sport-text);
    border: var(--sport-border);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.sport-switch-btn:hover {
    background: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime);
}

.sport-switch-btn.active {
    background: rgba(197, 255, 0, 0.15);
    color: var(--neon-lime);
    border-color: var(--neon-lime);
    box-shadow: 0 0 10px rgba(197, 255, 0, 0.2);
}

/* Mobil optimalizáció */
@media (max-width: 767px) {
    .sport-table {
        font-size: 0.8rem;
    }
    
    .sport-table th,
    .sport-table td {
        padding: 0.5rem;
    }
    
    .view-switch {
        margin-top: -1rem;
    }
    
    .sport-switch-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobilnézet kártyái */
.sport-mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 1rem 0;
}

.match-card {
    background-color: var(--sport-card);
    border-radius: 8px;
    overflow: hidden;
    border: var(--sport-border);
    box-shadow: var(--sport-shadow);
    position: relative;
}

.match-card-header {
    background-color: var(--sport-card-dark);
    padding: 0.6rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--sport-border);
}

.match-time {
    font-weight: 600;
    color: var(--neon-orange);
    text-shadow: 0 0 5px rgba(255, 115, 0, 0.3);
    font-size: 0.9rem;
}

.match-badge {
    background-color: rgba(255, 115, 0, 0.15);
    color: var(--neon-orange);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 115, 0, 0.3);
}

.match-card-body {
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.match-league {
    font-size: 0.75rem;
    color: var(--sport-text-dim);
    margin-bottom: 0.2rem;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.2rem;
}

.team {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-team {
    text-align: right;
}

.away-team {
    text-align: left;
}

.match-result {
    flex: 0 0 auto;
    text-align: center;
    font-weight: 700;
    color: var(--neon-yellow);
    text-shadow: 0 0 5px rgba(255, 221, 0, 0.3);
    padding: 0 0.5rem;
    min-width: 50px;
}

.match-halftime {
    text-align: center;
    font-size: 0.7rem;
    color: var(--sport-text-dim);
    margin-bottom: 0.2rem;
}

.match-prediction {
    text-align: center;
    font-size: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 115, 0, 0.1);
}

.prediction-type {
    font-weight: 600;
    color: var(--neon-orange);
}

.prediction-value {
    color: var(--neon-aqua);
}

/* Táblázat nézet */
.sport-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--sport-card);
    border: var(--sport-border);
    box-shadow: var(--sport-shadow);
}

.sport-table thead {
    background-color: var(--sport-card-dark);
}

.sport-table th {
    padding: 0.8rem 1rem;
    color: var(--neon-orange);
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: var(--sport-border);
}

.sport-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255, 115, 0, 0.05);
    color: var(--sport-text);
    font-size: 0.85rem;
}

.sport-table tbody tr:hover {
    background-color: rgba(255, 115, 0, 0.05);
}

.half-result {
    color: var(--sport-text-dim);
    font-size: 0.75rem;
}

.pred-cell {
    color: var(--neon-orange);
    font-weight: 600;
}

.pred-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-orange);
}

.pred-value {
    font-size: 0.75rem;
    color: var(--neon-aqua);
}

/* ================= TIPP OLDAL STÍLUSOK ================= */
/* Tipp kártyák */
.sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sport-card {
    background-color: var(--sport-card);
    border-radius: 12px;
    overflow: hidden;
    border: var(--sport-border);
    box-shadow: var(--sport-shadow);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Reorganize sport card header layout */
.sport-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.sport-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sport-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

/* Match status indicators */
.match-status-indicators {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
}

.match-status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.match-status-indicator.pending {
    background-color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.match-status-indicator.win {
    background-color: rgba(0, 255, 170, 0.7);
    border: 1px solid rgba(0, 255, 170, 0.9);
    box-shadow: 0 0 6px rgba(0, 255, 170, 0.6);
}

.match-status-indicator.loss {
    background-color: rgba(255, 0, 118, 0.7);
    border: 1px solid rgba(255, 0, 118, 0.9);
    box-shadow: 0 0 6px rgba(255, 0, 118, 0.6);
}

.match-status-indicator.return {
    background-color: rgba(255, 221, 0, 0.7);
    border: 1px solid rgba(255, 221, 0, 0.9);
    box-shadow: 0 0 6px rgba(255, 221, 0, 0.6);
}

/* Státusz badge továbbfejlesztett stílusok */
.sport-card-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sport-card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
    padding: 0 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Függőben állapot */
.sport-card-badge.pending {
    background-color: rgba(255, 221, 0, 0.15);
    color: var(--neon-yellow);
    border: 1px solid var(--neon-yellow);
    box-shadow: 0 0 15px rgba(255, 221, 0, 0.3);
}

/* Nyert állapot */
.sport-card-badge.win {
    background-color: rgba(0, 255, 170, 0.15);
    color: var(--neon-aqua);
    border: 1px solid var(--neon-aqua);
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.5);
    animation: pulse-win 2s infinite;
}

/* Vesztett állapot */
.sport-card-badge.loss {
    background-color: rgba(255, 0, 118, 0.15);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 118, 0.5);
}

/* Pulzáló effekt a nyert állapotra */
@keyframes pulse-win {
    0% {
        box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 170, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
    }
}

/* Mobil nézet igazítások */
@media (max-width: 576px) {
    .sport-card-badge {
        font-size: 0.75rem;
        min-width: 70px;
        height: 26px;
    }
}

/* Toggle button styling */
.sport-card-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--sport-text-dim);
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sport-card-toggle:hover,
.sport-card-toggle:focus {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--sport-text);
    outline: none;
}

/* Akkordion stílusok a tipp kártyákhoz */
.sport-card-collapse {
    transition: none; /* Bootstrap kezeli az átmeneteket */
}

.sport-card-collapse.collapsing {
    transition: height 0.35s ease;
}

.sport-card-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.sport-card-toggle[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.sport-card-header {
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    .sport-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 1rem;
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .match-status-indicator {
        width: 14px;
        height: 14px;
    }
}

.sport-card-collapse {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    will-change: height; /* Teljesítmény optimalizálás */
}

.sport-card-stats {
    display: flex;
    background: rgba(197, 255, 0, 0.05);
    border-bottom: var(--sport-border);
    padding: 0.75rem;
}

.sport-stat {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
}

.sport-stat-label {
    font-size: 0.75rem;
    color: var(--sport-text-dim);
    margin-bottom: 0.25rem;
}

.sport-stat-value {
    font-weight: 600;
    font-size: 0.95rem;
}

.sport-stat-value.win {
    color: var(--neon-aqua);
}

.sport-stat-value.loss {
    color: var(--neon-pink);
}

.sport-card-body {
    padding: 1.5rem;
}

.sport-events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sport-event-item {
    background: var(--sport-card-dark);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(197, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.sport-event-item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sport-event-item.event-win {
    border-left: 3px solid var(--neon-aqua);
}

.sport-event-item.event-loss {
    border-left: 3px solid var(--neon-pink);
}

.sport-event-item.event-pending {
    border-left: 3px solid var(--neon-yellow);
}

.sport-event-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.sport-event-meta {
    display: flex;
    gap: 1rem;
    color: var(--sport-text-dim);
}

.sport-event-league {
    color: var(--neon-orange);
    font-weight: 600;
}

.sport-event-teams {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.8rem 0;
    text-align: center;
}

.sport-event-prediction {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(197, 255, 0, 0.1);
    padding-top: 0.8rem;
}

.sport-event-prediction span {
    color: var(--sport-text-dim);
}

.prediction {
    color: var(--neon-lime);
}

.odds {
    color: var(--neon-orange);
    font-size: 0.85rem;
}

.sport-no-data {
    text-align: center;
    color: var(--sport-text-dim);
    padding: 2rem;
    font-style: italic;
}

.sport-tip-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sport-tip-item {
    background-color: rgba(255, 115, 0, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 115, 0, 0.1);
    transition: all 0.3s ease;
}

.sport-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sport-tip-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.sport-tip-date {
    font-size: 0.85rem;
    color: var(--sport-text-dim);
}

.sport-tip-league {
    font-size: 0.85rem;
    color: var(--neon-orange);
    font-weight: 600;
}

.sport-tip-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.sport-tip-vs {
    color: var(--sport-text-dim);
    font-size: 0.9rem;
}

.sport-tip-prediction {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 115, 0, 0.1);
    border-radius: 4px;
}

.sport-tip-label {
    color: var(--sport-text-dim);
    margin-right: 0.5rem;
}

.sport-tip-value {
    color: var(--neon-aqua);
    font-weight: 600;
}

.sport-tip-analysis {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--sport-text);
}

.sport-no-data {
    text-align: center;
    color: var(--sport-text-dim);
    padding: 2rem;
}

/* Nap oldal egyedi töréspontok */
.nap-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.nap-cards .match-card {
    width: 100%;
    max-width: 100%;
}

/* Csak 1100px felett jelenítjük meg a táblázatot, alatta elrejtjük */
@media (max-width: 1099px) {
    .nap-table {
        display: none;
    }
    .nap-cards {
        display: flex;
    }
}

/* Csak 1100px felett jelenítjük meg a táblázatot, alatta elrejtjük */
@media (min-width: 1100px) {
    .nap-table {
        display: block;
    }
    .nap-cards {
        display: none;
    }
}

/* Dátumválasztó stílusok */
.date-selector-container {
    background-color: var(--sport-card-dark);
    padding: 0.75rem 0;
    border-bottom: var(--sport-border);
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.date-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.date-list {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 0.5rem;
    padding: 0.25rem;
}

.date-list::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.date-item {
    min-width: 120px;
    text-align: center;
    background-color: var(--sport-card);
    border: var(--sport-border);
    border-radius: 8px;
    padding: 0.5rem;
    color: var(--sport-text);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.date-item:hover {
    background-color: rgba(197, 255, 0, 0.1);
    border-color: var(--neon-lime);
    transform: translateY(-2px);
}

.date-item.active {
    background-color: rgba(255, 115, 0, 0.15);
    border-color: var(--neon-orange);
    color: var(--neon-orange);
    box-shadow: 0 0 10px rgba(255, 115, 0, 0.2);
}

.date-item.today {
    position: relative;
    overflow: hidden;
}

.date-item.today::after {
    content: 'MA';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.6rem;
    background-color: var(--neon-lime);
    color: #000;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
}

.date-day {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.date-number {
    font-size: 0.8rem;
    color: var(--sport-text-dim);
}

.date-nav-btn {
    background-color: var(--sport-card);
    border: var(--sport-border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sport-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-nav-btn:hover {
    background-color: rgba(197, 255, 0, 0.1);
    border-color: var(--neon-lime);
    color: var(--neon-lime);
}

@media (max-width: 768px) {
    .date-selector {
        padding: 0 0.5rem;
    }
    
    .date-item {
        min-width: 100px;
        padding: 0.3rem;
    }
    
    .date-day {
        font-size: 0.75rem;
    }
    
    .date-number {
        font-size: 0.7rem;
    }
}

/* Nap oldal optimalizált mobilnézet */
.mobile-table .responsive-table {
    border-radius: 8px;
    overflow: hidden;
}

.mobile-table .responsive-table th,
.mobile-table .responsive-table td {
    padding: 0.6rem 0.4rem;
    vertical-align: middle;
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .mobile-table .responsive-table th,
    .mobile-table .responsive-table td {
        padding: 0.5rem 0.3rem;
        font-size: 0.75rem;
    }
}

/* Tipp oldal mobil optimalizációk - áthelyezve a megfelelő szekcióba */
@media (max-width: 767px) {
    .sport-grid {
        grid-template-columns: 1fr;
    }

    .sport-card-collapse {
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .sport-event-item {
        padding: 0.75rem;
    }
    
    .sport-event-header {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .sport-event-prediction {
        font-size: 0.85rem;
    }
}

/* ================= DAYTIP / PREDICTION STYLES ================= */
/* Styles imported from site.css and adapted to match sport design */
.prediction-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: var(--sport-card-dark);
    border-radius: 12px;
    border: var(--sport-border);
    box-shadow: var(--sport-shadow);
    position: relative;
    overflow: hidden; /* Add overflow hidden to prevent content from causing scrollbars */
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.prediction-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.prediction-header h1 {
    font-size: 2.5rem;
    margin: 0;
    background: linear-gradient(to bottom, var(--neon-lime), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(197, 255, 0, 0.5);
    letter-spacing: 2px;
    font-weight: 700;
}

.prediction-header .date {
    font-size: 1.5rem;
    background: linear-gradient(to bottom, var(--neon-orange), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(255, 115, 0, 0.5);
    font-weight: 600;
}

/* Updated compact prediction header */
.prediction-header-compact {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.prediction-header-compact h1 {
    font-size: 1.8rem;
    margin: 0;
    background: linear-gradient(to bottom, var(--neon-lime), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(197, 255, 0, 0.5);
    letter-spacing: 1px;
    font-weight: 700;
}

.prediction-header-compact .date {
    font-size: 1.2rem;
    background: linear-gradient(to bottom, var(--neon-orange), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 4px rgba(255, 115, 0, 0.5);
    font-weight: 600;
}

/* Updated New and Premium badges to ribbon style */
.prediction-badge {
    display: block;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.2;
    opacity: 0.9;
    position: absolute;
    z-index: 5;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform-origin: center;
}

.new-badge {
    background-color: rgba(0, 180, 255, 0.85);
    color: #ffffff;
    border: none;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    transform: translateY(-50%) rotate(-45deg) translateX(-20%);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.premium-badge {
    background-color: rgba(255, 221, 0, 0.85);
    color: #000000;
    border: none;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-30%);
    padding: 3px 10px;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    z-index: 10;
}

/* Improve Teams Container and Text Overflow */
.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px; /* Add space for the badge */
    overflow: hidden;
}

.team-name {
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
    color: var(--sport-text);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%; /* Ensure team names don't push outside container */
}

.vs {
    margin: 0 5px;
    color: var(--sport-text-dim);
}

/* Highlight row based on prediction type - keep subtle background effect */
.new-prediction td {
    position: relative;
    background-color: rgba(0, 180, 255, 0.03);
}

.premium-prediction td {
    position: relative;
    background-color: rgba(255, 221, 0, 0.03);
}

.new-prediction:hover td {
    background-color: rgba(0, 180, 255, 0.06);
}

.premium-prediction:hover td {
    background-color: rgba(255, 221, 0, 0.06);
}

/* Match time styling */
.match-time {
    color: var(--neon-lime);
    font-weight: 600;
}

/* Bet type styling */
.bet-type {
    padding: 6px 10px;
    font-weight: bold;
    color: var(--sport-text);
    display: inline-block;
    font-size: 0.9rem;
    background: rgba(30, 30, 60, 0.9);
    border-left: 3px solid var(--neon-orange);
    border-radius: 4px;
    width: 90%;
    box-shadow: 0 0 10px rgba(197, 255, 0, 0.2);
    text-align: center;
    line-height: 1.2;
}

.bet-name {
    display: inline-block;
    font-weight: bold;
    margin-right: 5px;
    color: var(--neon-lime);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bet-value {
    display: inline-block;
    color: var(--sport-text);
    position: relative;
    padding-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Result indicators */
.result-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 12px;
}

.result-indicator + span {
    color: var(--sport-text);
    font-weight: 600;
    font-size: 1.1rem;
    margin-left: 8px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.halftime-score {
    color: var(--sport-text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 3px;
    text-shadow: 0 0 3px rgba(201, 245, 255, 0.5);
}

/* Mobile responsive for prediction table - completely revised mobile view */
@media (max-width: 768px) {
    .prediction-header-compact h1 {
        font-size: 1.5rem;
    }
    
    .prediction-header-compact .date {
        font-size: 1rem;
    }
    
    .prediction-badge {
        font-size: 0.6rem;
        padding: 1px 3px;
    }
    
    .premium-badge {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .prediction-container {
        padding: 15px;
        width: 100%;
    }
    
    /* Table to card transformation for mobile */
    .table-responsive {
        border: none;
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .prediction-table {
        display: block;
        width: 100%;
        margin: 0;
        border-spacing: 0;
    }
    
    .prediction-table thead {
        display: none; /* Hide header row on mobile */
    }
    
    .prediction-table tbody {
        display: block;
        width: 100%;
    }
    
    .prediction-table tr {
        display: block;
        margin-bottom: 1rem;
        border-radius: 8px;
        background-color: var(--sport-card);
        border: var(--sport-border);
        overflow: hidden;
        width: 100%;
    }
    
    .prediction-table td {
        display: block;
        text-align: center;
        border: none;
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Match time and league - top section */
    .prediction-table tr td:nth-child(1), 
    .prediction-table tr td:nth-child(2) {
        background-color: var(--sport-card-dark);
        text-align: center;
        padding: 0.5rem;
    }
    
    .prediction-table tr td:nth-child(1) {
        padding-top: 0.75rem;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    
    .prediction-table tr td:nth-child(2) {
        padding-top: 0.25rem;
        padding-bottom: 0.75rem;
        border-top: none;
    }
    
    /* League and country info */
    .country-name {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.2rem;
    }
    
    .league-name {
        font-size: 0.75rem;
        display: block;
    }
    
    /* Match information */
    .prediction-table tr td:nth-child(3) {
        padding: 1rem 0.5rem;
        border-bottom: 1px solid rgba(197, 255, 0, 0.1);
    }
    
    /* Teams display */
    .teams-container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0 0.5rem;
    }
    
    .team-name {
        font-size: 0.95rem;
        max-width: 45%;
        text-align: center;
    }
    
    /* Prediction section */
    .prediction-table tr td:nth-child(4) {
        padding: 0.75rem 0.5rem;
    }
    
    /* Bet type container */
    .bet-type {
        width: 90%;
        margin: 0 auto;
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .bet-name, .bet-value {
        display: inline-block;
    }
    
    /* Odds section */
    .prediction-table tr td:nth-child(5) {
        padding: 0.5rem;
        margin-bottom: 0.25rem;
    }
    
    /* Hide xG and probability on mobile */
    .prediction-table tr td:nth-child(6),
    .prediction-table tr td:nth-child(7) {
        display: none;
    }
    
    /* Results section */
    .prediction-table tr td:nth-child(8) {
        border-top: 1px solid rgba(197, 255, 0, 0.1);
        padding: 0.75rem 0.5rem;
    }
    
    .result-indicator {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 0.7rem;
    }
    
    .result-indicator + span {
        font-size: 1rem;
        margin-left: 0.3rem;
    }
    
    .halftime-score {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
}

/* Extra fine-tuning for smaller devices */
@media (max-width: 480px) {
    .prediction-container {
        padding: 10px;
    }
    
    .prediction-header h1 {
        font-size: 1.5rem;
    }
    
    .prediction-header .date {
        font-size: 1rem;
    }
    
    .prediction-table tr {
        margin-bottom: 0.75rem;
    }
    
    .prediction-table td {
        padding: 0.4rem;
    }
    
    .teams-container {
        padding: 0;
    }
    
    .team-name {
        font-size: 0.9rem;
    }
    
    .bet-type {
        padding: 0.4rem;
        font-size: 0.8rem;
        width: 95%;
    }
    
    .result-indicator {
        width: 16px;
        height: 16px;
        line-height: 16px;
        font-size: 0.65rem;
    }
    
    .result-indicator + span {
        font-size: 0.9rem;
    }
}

/* Probability styling */
.probability-container {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    max-width: 100px;
    margin: 0 auto;
}

.home-prob {
    color: var(--neon-aqua);
}

.away-prob {
    color: var(--neon-orange);
}

/* Bet Odds Styling */
.odds-adequate {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.odds-good {
    background-color: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime);
    border: 1px solid rgba(197, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(197, 255, 0, 0.4);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.odds-excellent {
    background-color: rgba(0, 255, 170, 0.1);
    color: var(--neon-aqua);
    border: 1px solid rgba(0, 255, 170, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 170, 0.5);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.odds-super {
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
    border: 1px solid var(--neon-yellow);
    box-shadow: 0 0 12px var(--neon-yellow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

/* Prediction Probability Styling */
.prob-adequate {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--sport-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.prob-good {
    background-color: rgba(197, 255, 0, 0.1);
    color: var(--neon-lime);
    border: 1px solid rgba(197, 255, 0, 0.3);
    box-shadow: 0 0 8px rgba(197, 255, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.prob-excellent {
    background-color: rgba(0, 255, 170, 0.1);
    color: var(--neon-aqua);
    border: 1px solid rgba(0, 255, 170, 0.3);
    box-shadow: 0 0 8px rgba(0, 255, 170, 0.4);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

.prob-super {
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-yellow));
    color: #000;
    border: 1px solid var(--neon-yellow);
    box-shadow: 0 0 10px var(--neon-yellow);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
}

/* Fix for eliminating horizontal scrollbar in prediction table */
.table-responsive {
    overflow-x: visible;  /* Override Bootstrap's overflow-x: auto */
    width: 100%;
}

.prediction-table {
    width: 100%;
    table-layout: fixed; /* This ensures the table respects column widths */
    border-collapse: separate;
    border-spacing: 0 5px;
    margin-top: 20px;
}

/* Adjust cell content to prevent overflow */
.prediction-table th,
.prediction-table td {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Optimize column widths for better space distribution */
.prediction-table th:nth-child(1), 
.prediction-table td:nth-child(1) {  /* Time column */
    width: 7%;
    min-width: 50px;
}

.prediction-table th:nth-child(2), 
.prediction-table td:nth-child(2) {  /* League column */
    width: 12%;
}

.prediction-table th:nth-child(3), 
.prediction-table td:nth-child(3) {  /* Match column */
    width: 24%;
}

.prediction-table th:nth-child(4), 
.prediction-table td:nth-child(4) {  /* Prediction column */
    width: 16%;
}

.prediction-table th:nth-child(5), 
.prediction-table td:nth-child(5) {  /* Odds column */
    width: 8%;
}

.prediction-table th:nth-child(6), 
.prediction-table td:nth-child(6),
.prediction-table th:nth-child(7), 
.prediction-table td:nth-child(7) {  /* xG and Prob columns */
    width: 10%;
}

.prediction-table th:nth-child(8), 
.prediction-table td:nth-child(8) {  /* Result column */
    width: 13%;
}

/* Match status indicators */
.match-status-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 5px 10px 5px 0;
}

.match-status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.match-status-indicator.pending {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.match-status-indicator.win {
    background-color: rgba(0, 255, 170, 0.6);
    border: 1px solid rgba(0, 255, 170, 0.7);
    box-shadow: 0 0 5px rgba(0, 255, 170, 0.4);
}

.match-status-indicator.loss {
    background-color: rgba(255, 0, 118, 0.6);
    border: 1px solid rgba(255, 0, 118, 0.7);
    box-shadow: 0 0 5px rgba(255, 0, 118, 0.4);
}

.match-status-indicator.return {
    background-color: rgba(255, 221, 0, 0.6);
    border: 1px solid rgba(255, 221, 0, 0.7);
    box-shadow: 0 0 5px rgba(255, 221, 0, 0.4);
}

/* Mobile responsiveness for match status indicators */
@media (max-width: 576px) {
    .sport-card-header {
        grid-template-areas: 
            "title toggle"
            "indicators indicators"
            "meta meta";
        grid-template-columns: 1fr auto;
    }
    
    .match-status-indicators {
        margin: 8px 0;
    }
    
    .match-status-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Daytip mobilnézet optimalizálása - idő és liga mezők egymás mellett */
@media (max-width: 767px) {
    /* Az első két oszlop speciális megjelenítése */
    .prediction-table tbody tr {
        display: flex;
        flex-wrap: wrap;
    }
    
    /* Idő oszlop */
    .prediction-table tbody tr td:nth-child(1) {
        width: 30%;
        min-width: 60px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 5px;
        font-weight: bold;
        position: relative;
    }
    
    /* Liga/ország oszlop */
    .prediction-table tbody tr td:nth-child(2) {
        width: 70%;
        min-width: 140px;
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px 5px;
    }
    
    /* A többi oszlop teljes szélességű legyen */
    .prediction-table tbody tr td:nth-child(n+3) {
        width: 100%;
        border-top: none;
        padding-top: 0;
    }
    
    /* A csapatok oszlop */
    .prediction-table tbody tr td:nth-child(3) {
        padding-top: 10px;
    }
    
    /* Ország és liga nevek formázása */
    .country-name {
        font-size: 0.75rem;
        color: #aaa;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .league-name {
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    /* New badge pozicionálása */
    .prediction-badge.new-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 0.65rem;
        padding: 2px 4px;
    }
    
    /* Táblázat fejléc módosítása mobilon */
    .prediction-table thead tr th:nth-child(1),
    .prediction-table thead tr th:nth-child(2) {
        width: 50%;
        text-align: center;
    }
    
    .prediction-table thead tr th:nth-child(n+3) {
        display: none;
    }
    
    /* Sorok közötti elválasztó */
    .prediction-table tbody tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 5px;
        padding-bottom: 5px;
    }
}



