/* =========================================
   VARIABLES CSS (Diseño Premium & Colores)
   ========================================= */
:root {
    --primary-color: #002D5B; /* Azul profundo del escudo */
    --primary-light: #004286;
    --secondary-color: #F8B315; /* Dorado/Amarillo de las estrellas */
    --secondary-hover: #D99A10;
    
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =========================================
   COMPONENTS (Buttons, Cards, Glass)
   ========================================= */
.btn-primary, .btn-secondary, .btn-primary-outline {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
}
.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(248, 179, 21, 0.3);
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-primary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}
.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.glass-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: var(--secondary-color);
    vertical-align: middle;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.logo-img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.navbar.scrolled .logo-img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
}
.nav-links a:hover {
    color: var(--secondary-color);
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}
.navbar.scrolled .nav-links a.btn-primary-outline {
    color: var(--primary-color);
}
.navbar.scrolled .nav-links a.btn-primary-outline:hover {
    color: var(--text-light);
}

/* =========================================
   DROPDOWN MENU
   ========================================= */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Puente invisible para mantener el hover entre el trigger y el menú */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -50px;
    height: 20px;
    background: transparent;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    left: 0;
    overflow: hidden;
    margin-top: 10px;
}

.dropdown-menu a {
    color: var(--text-main) !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: var(--primary-color) !important;
}

.dropdown.active .dropdown-menu {
    display: block;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 45, 91, 0.9) 0%, rgba(0, 45, 91, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--text-light);
    max-width: 800px;
}

.badge {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.features {
    list-style: none;
    margin-top: 2rem;
}

.features li {
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.map-placeholder {
    margin-top: 1.5rem;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

 .map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   FIXTURE SECTION
   ========================================= */
.fixture-section {
    padding: 6rem 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.fixture-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap; /* Permite que los botones bajen si no hay espacio */
    padding: 0 1rem;
}

.filter-btn {
    background: none;
    border: 2px solid #e2e8f0;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: inherit;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap; /* Evita que el texto interno se rompa */
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.fixture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Match Card Component */
.match-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
}
.match-card.past::before {
    background-color: var(--text-muted);
}
.match-card.win::before { background-color: #10b981; }
.match-card.draw::before { background-color: var(--secondary-color); }
.match-card.loss::before { background-color: #ef4444; }

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.match-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.match-teams {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo-sm {
    width: 30px;
    height: 30px;
    background-color: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    overflow: hidden;
}

.team-logo-sm.cdsn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.score {
    font-size: 1.5rem;
    font-weight: 900;
}

.score.winner {
    color: var(--primary-color);
}

.score.loser {
    color: var(--text-muted);
}

.match-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-status {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-upcoming { background: #e0f2fe; color: #0284c7; }
.status-past { background: #f1f5f9; color: #475569; }

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 300px;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #94a3b8;
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        color: var(--text-main);
    }
    
    .navbar .nav-links a {
        color: var(--primary-color);
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding-left: 1rem;
        min-width: 100%;
        margin-top: 0.5rem;
    }
    
    .dropdown-menu a {
        padding: 8px 0;
    }
    
    .hamburger {
        display: block;
        width: 30px;
        cursor: pointer;
    }
    
    .hamburger span {
        display: block;
        height: 3px;
        background-color: var(--text-light);
        margin-bottom: 5px;
        border-radius: 3px;
    }
    .navbar.scrolled .hamburger span {
        background-color: var(--primary-color);
    }

    .section-title {
        font-size: 2rem;
    }

    .about {
        padding: 4rem 0;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem; /* Ajuste para que no se corte en móviles */
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .fixture-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex: 1 1 auto; /* Los botones crecen para ocupar el ancho disponible */
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr; /* Una sola columna para noticias en móvil */
    }

    .standings-container {
        padding: 1rem;
        margin: 1rem;
    }
}

/* =========================================
   FOOTER DEVELOPER CREDIT
   ========================================= */
.desarrollado {
    float: right;
    bottom: 10px;
    right: 10px;
    position: relative;
}

span.small {
    font-size: 9px;
    margin: 0;
}



/* =========================================
   STANDINGS TABLE (TABLA DE POSICIONES)
   ========================================= */
.standings-container {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    text-align: center;
}

.standings-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 14px 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.standings-table th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.standings-table th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.standings-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    vertical-align: middle;
}

.standings-table tbody tr {
    transition: var(--transition);
}

.standings-table tbody tr:hover {
    background-color: #f8fafc;
}

.standings-table tr.cdsn-row {
    background-color: rgba(0, 45, 91, 0.05);
    font-weight: 600;
}

.standings-table tr.cdsn-row td {
    color: var(--primary-color);
}

.standings-table tr.cdsn-row .team-logo-sm.cdsn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.standings-table .team-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
}

.standings-table .pts {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* =========================================
   NOTICIAS SECTION STYLES
   ========================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.news-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.category-hockey { background-color: rgba(236, 72, 153, 0.15); color: #ec4899; }
.category-obras { background-color: rgba(16, 185, 129, 0.15); color: #10b981; }
.category-institucional { background-color: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.news-card-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.news-card-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.news-card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more-btn {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.news-card:hover .read-more-btn {
    color: var(--secondary-color);
    padding-left: 5px;
}

/* =========================================
   NEWS READING MODAL OVERLAY
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 680px;
    width: 100%;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.3s ease-in-out;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: #ef4444;
}

.modal-body-text {
    margin-top: 1.5rem;
    line-height: 1.8;
    color: #334155;
    font-size: 1.05rem;
}

.modal-body-text p {
    margin-bottom: 1.25rem;
}

.modal-body-text strong {
    color: var(--primary-color);
}

/* =========================================
   CANTINA SECTION & CARD LAYOUTS
   ========================================= */
.canteen-menu {
    margin-bottom: 4rem;
}

.canteen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.menu-category-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-category-card.highlight-card {
    border-top: 4px solid var(--secondary-color);
    background-color: rgba(255, 215, 0, 0.02);
}

.category-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    padding-bottom: 0.75rem;
}

.category-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.category-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    border-bottom: 1px dashed rgba(0,0,0,0.08);
    padding-bottom: 1rem;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.menu-item-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.menu-item-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    white-space: nowrap;
}

.menu-item-price.highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.2);
}

/* =========================================
   TIENDA & ALQUILER SPECIFICS
   ========================================= */
.nav-shop-link {
    font-weight: 700;
    color: var(--secondary-color) !important;
    text-shadow: 0 0 8px rgba(255, 183, 3, 0.3);
}

.product-card {
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.product-img-placeholder {
    transition: var(--transition);
}

.product-card:hover .product-img-placeholder {
    transform: scale(1.03);
}

/* =========================================
   TABLAS RESPONSIVAS (Stack Vertical)
   ========================================= */
@media (max-width: 992px) {
    .standings-table thead, 
    .admin-table thead,
    .table-responsive table thead,
    .tab-panel table thead,
    #dashboard-section table thead {
        display: none;
    }

    .standings-table,
    .admin-table,
    .tab-panel table {
        display: block;
        width: 100%;
    }

    .standings-table tr, 
    .admin-table tr,
    .table-responsive table tr,
    .tab-panel table tr,
    #dashboard-section table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid #e2e8f0;
        border-radius: var(--radius);
        background: #fff;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    .standings-table td, 
    .admin-table td,
    .table-responsive table td,
    .tab-panel table td,
    #dashboard-section table td {
        display: grid;
        grid-template-columns: 12ch auto;
        padding: 0.75rem 1rem;
        text-align: left !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .standings-table td:last-child, 
    .admin-table td:last-child,
    .table-responsive table td:last-child,
    .tab-panel table td:last-child,
    #dashboard-section table td:last-child {
        border-bottom: none;
    }

    .standings-table td::before, 
    .admin-table td::before,
    .table-responsive table td::before,
    .tab-panel table td::before,
    #dashboard-section table td::before {
        content: attr(data-cell) ": ";
        font-weight: 700;
        text-transform: capitalize;
        color: var(--primary-color);
    }

    .standings-table .team-name {
        display: flex !important;
        justify-content: flex-start;
    }
}

/* =========================================
   ALQUILER: INPUTS / SELECTS / PLACEHOLDERS LEGIBLES
   (Aplica a formularios con fondo oscuro, ej. alquiler.html)
   ========================================= */
.booking-form-card input,
.booking-form-card select,
.pricing-card p {
    color: #fff;
}
.booking-form-card input::placeholder {
    color: rgba(255, 255, 255, 0.55);
    opacity: 1;
}
.booking-form-card select {
    color-scheme: dark;
}
.booking-form-card select option {
    color: #fff;
    background-color: #0b1329;
}
.booking-form-card input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
}
