/* =================================================
   ESTILOS GLOBALES UNIFICADOS (VERSIÓN CORREGIDA)
   Sin sombras de texto.
   Formularios claros en páginas normales.
   Estilo FIFA oscuro solo donde aplique.
   ================================================= */

/* 1) Base general: elimina TODAS las sombras de texto */
* {
    text-shadow: none !important;
}

/* 2) Tipografía base (color oscuro por defecto) */
body {
    color: #212529;
    background-color: #f8f9fa;
}

/* 3) Secciones con fondo oscuro: todo el texto blanco */
.hero-bg,
.league-detail-section,
.home-page-section,
.home-page-section-home,
.home-page-section-player,
.home-page-section-admin,
.stats-page-section,
.fifa-card,
.home-card,
.fifa-stat-card,
.create-card,
.card.fifa-card,
.card.home-card,
.card.fifa-stat-card {
    color: #fff !important;
}

/* 4) Títulos dentro de zonas oscuras: blanco (y sin sombra, ya eliminada globalmente) */
.hero-bg h1, .hero-bg h2, .hero-bg h3, .hero-bg h4, .hero-bg h5, .hero-bg h6,
.hero-bg .card-header, .hero-bg .section-title,
.league-detail-section h1, .league-detail-section h2, .league-detail-section h3,
.league-detail-section h4, .league-detail-section h5, .league-detail-section h6,
.league-detail-section .card-header, .league-detail-section .section-title,
.home-page-section h1, .home-page-section h2, .home-page-section h3,
.home-page-section h4, .home-page-section h5, .home-page-section h6,
.home-page-section .card-header, .home-page-section .section-title,
.home-page-section-home h1, .home-page-section-home h2, .home-page-section-home h3,
.home-page-section-home h4, .home-page-section-home h5, .home-page-section-home h6,
.home-page-section-home .card-header, .home-page-section-home .section-title,
.home-page-section-player h1, .home-page-section-player h2, .home-page-section-player h3,
.home-page-section-player h4, .home-page-section-player h5, .home-page-section-player h6,
.home-page-section-player .card-header, .home-page-section-player .section-title,
.home-page-section-admin h1, .home-page-section-admin h2, .home-page-section-admin h3,
.home-page-section-admin h4, .home-page-section-admin h5, .home-page-section-admin h6,
.home-page-section-admin .card-header, .home-page-section-admin .section-title,
.stats-page-section h1, .stats-page-section h2, .stats-page-section h3,
.stats-page-section h4, .stats-page-section h5, .stats-page-section h6,
.stats-page-section .card-header, .stats-page-section .section-title,
.fifa-card h1, .fifa-card h2, .fifa-card h3, .fifa-card h4, .fifa-card h5, .fifa-card h6,
.fifa-card .card-header, .fifa-card .section-title,
.home-card h1, .home-card h2, .home-card h3, .home-card h4, .home-card h5, .home-card h6,
.home-card .card-header, .home-card .section-title,
.fifa-stat-card h1, .fifa-stat-card h2, .fifa-stat-card h3, .fifa-stat-card h4,
.fifa-stat-card h5, .fifa-stat-card h6, .fifa-stat-card .card-header,
.fifa-stat-card .section-title,
.create-card h1, .create-card h2, .create-card h3, .create-card h4,
.create-card h5, .create-card h6, .create-card .card-header,
.create-card .section-title {
    color: #fff !important;
}

/* 5) Badges con colores específicos (texto blanco) */
.badge.bg-success,
.badge.bg-warning,
.badge.bg-danger,
.badge.bg-primary,
.badge.bg-info {
    color: #fff !important;
}

/* =================================================
   FORMULARIOS CLAROS (registro, editar liga, etc.)
   ================================================= */

/* Tarjeta común de formulario */
.card:not(.fifa-card):not(.home-card):not(.fifa-stat-card):not(.create-card) {
    background: #fff !important;
    color: #212529 !important;
    border: 1px solid #dee2e6;
}

/* Encabezado y pie de esas tarjetas (si usan .card-header/.card-footer) */
.card:not(.fifa-card) .card-header,
.card:not(.fifa-card) .card-footer {
    background: #212529 !important;
    color: #fff !important;
}

/* Etiquetas visibles */
.card:not(.fifa-card) label {
    color: #212529 !important;
    font-weight: 600;
}

/* Textos auxiliares */
.card:not(.fifa-card) small,
.card:not(.fifa-card) .form-text {
    color: #6c757d !important;
}

/* Inputs, selects, textareas en formularios claros */
.card:not(.fifa-card) input,
.card:not(.fifa-card) select,
.card:not(.fifa-card) textarea {
    background: #f8f9fa !important;
    color: #212529 !important;
    border: 2px solid #ced4da !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

/* Placeholder visible */
.card:not(.fifa-card) input::placeholder,
.card:not(.fifa-card) textarea::placeholder {
    color: #6c757d !important;
}

/* Focus con neón solo al enfocar */
.card:not(.fifa-card) input:focus,
.card:not(.fifa-card) select:focus,
.card:not(.fifa-card) textarea:focus {
    background: #ffffff !important;
    color: #212529 !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff !important;
    outline: none !important;
}

/* Campo inválido */
.card:not(.fifa-card) .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 6px rgba(220,53,69,0.35) !important;
}

/* Mensaje de error */
.invalid-feedback {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Botón principal en formulario claro */
.card:not(.fifa-card) .btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}
.card:not(.fifa-card) .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0a58ca;
}

/* Enlace en el footer */
.card:not(.fifa-card) a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}
.card:not(.fifa-card) a:hover {
    text-decoration: underline;
}

/* =================================================
   CHECKBOX EN FORMULARIOS CLAROS (visible y funcional)
   ================================================= */

.card:not(.fifa-card) .form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0 !important;
}

.card:not(.fifa-card) .form-check-input {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    background-color: #fff !important;
    border: 2px solid #212529 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
    cursor: pointer;
}

.card:not(.fifa-card) .form-check-input:checked {
    background-color: #00ffff !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff !important;
}

.card:not(.fifa-card) .form-check-label {
    color: #212529 !important;
    font-weight: 500;
    line-height: 1.4;
}

.card:not(.fifa-card) .form-check-label a {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}
.card:not(.fifa-card) .form-check-label a:hover {
    text-decoration: underline;
}

/* =================================================
   ZONAS OSCURAS FIFA: inputs con neón sutil
   ================================================= */

.fifa-card input,
.fifa-card textarea,
.fifa-card select,
.home-card input,
.home-card textarea,
.home-card select {
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: 2px solid #00ffff !important;
    box-shadow: none !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.fifa-card input:focus,
.fifa-card textarea:focus,
.fifa-card select:focus,
.home-card input:focus,
.home-card textarea:focus,
.home-card select:focus {
    background: rgba(0, 0, 0, 0.65) !important;
    color: #fff !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff !important;
    outline: none !important;
}

.fifa-card input::placeholder,
.home-card input::placeholder,
.fifa-card textarea::placeholder,
.home-card textarea::placeholder {
    color: rgba(255,255,255,0.7) !important;
}

/* =================================================
   MODALES: sin congelamiento
   ================================================= */

.modal-content,
.modal-content.fifa-card,
.modal-content.fifa-modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    transition: none !important;
}

.modal {
    z-index: 1055 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

/* =================================================
   MÓVIL
   ================================================= */

@media (max-width: 768px) {
    .fifa-card {
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }

    .fifa-card:hover {
        transform: none !important;
        box-shadow: 0 0 8px #ffd700, 0 0 15px #ffd700 !important;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 700px;
    }
}

/* =================================================
   BOTONES EN FORMULARIOS CLAROS
   ================================================= */

/* Botón primario (guardar, crear, etc.) */
.card:not(.fifa-card) .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.card:not(.fifa-card) .btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
}

/* Botón secundario (cancelar, etc.) - estilo blanco con borde rojo */
.card:not(.fifa-card) .btn-secondary {
    background-color: #fff !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.card:not(.fifa-card) .btn-secondary:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* Si algún botón usa .btn-outline-secondary (por ejemplo, en modales) */
.card:not(.fifa-card) .btn-outline-secondary {
    border-color: #dc3545;
    color: #dc3545;
    background: transparent;
}
.card:not(.fifa-card) .btn-outline-secondary:hover {
    background-color: #dc3545;
    color: #fff;
}

/* =================================================
   ESTILOS MEJORADOS PARA EL NAVBAR Y DROPDOWNS
   ================================================= */

/* Navbar base */
.navbar {
    background: linear-gradient(135deg, #0a1922 0%, #0f2a36 100%) !important;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
}

/* Enlaces del navbar */
.navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700 !important;
    transform: translateY(-1px);
}

/* Botón toggler (hamburguesa) */
.navbar-toggler {
    border-color: rgba(255, 215, 0, 0.5);
}
.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(255, 215, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown menú */
.dropdown-menu {
    background: rgba(10, 25, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 0.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 215, 0, 0.2);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

/* Items del dropdown */
.dropdown-item {
    color: #ffffff !important;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 215, 0, 0.2) !important;
    color: #ffd700 !important;
    border-left-color: #ffd700;
    transform: translateX(4px);
}

/* Divisor dentro del dropdown */
.dropdown-divider {
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    margin: 0.5rem 0;
}

/* Botón de salir (logout) */
.btn-outline-light {
    border: 1px solid rgba(255, 215, 0, 0.7);
    color: #ffffff !important;
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    color: #ffd700 !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Ajuste para móviles: dropdown más compacto */
@media (max-width: 992px) {
    .dropdown-menu {
        background: rgba(10, 25, 34, 0.98) !important;
        border: none;
        box-shadow: none;
    }
    .dropdown-item:hover {
        transform: translateX(0);
    }
}

/* Asegurar que navbar y dropdowns estén por encima del contenido */
.navbar {
    position: relative;
    z-index: 1030;
}
.navbar-collapse {
    overflow: visible !important;
}
.dropdown-menu {
    z-index: 1060 !important;
}

/* ranking.css - estilos específicos para la página de ranking */

/* ranking.css - estilos específicos para la página de ranking */

/* Fondo y overlay ya están en stats-page-section (global-text-fix.css) */
/* =================================================
   ranking.css - Personalizaciones sobre estilos FIFA
   ================================================= */
/* =================================================
   ranking.css - Estilo FIFA potenciado
   ================================================= */

/* ===== Tarjetas (heredan .fifa-card) ===== */
.card-puntaje {
    border-color: #ffd700 !important;
}
.card-puntaje.active,
.card-puntaje:hover {
    border-color: #ffd700 !important;
    box-shadow: 0 0 25px #ffd700, 0 0 35px rgba(255, 215, 0, 0.8) !important;
    background: rgba(255, 215, 0, 0.25) !important;
}

.card-goleadores {
    border-color: #0d6efd !important;
}
.card-goleadores.active,
.card-goleadores:hover {
    border-color: #0d6efd !important;
    box-shadow: 0 0 25px #0d6efd, 0 0 35px rgba(13, 110, 253, 0.8) !important;
    background: rgba(13, 110, 253, 0.25) !important;
}

.card-asistidores {
    border-color: #dc3545 !important;
}
.card-asistidores.active,
.card-asistidores:hover {
    border-color: #dc3545 !important;
    box-shadow: 0 0 25px #dc3545, 0 0 35px rgba(220, 53, 69, 0.8) !important;
    background: rgba(220, 53, 69, 0.25) !important;
}

/* Icono que gira al expandir */
.transition-icon {
    transition: transform 0.3s ease;
}
.card-puntaje.active .transition-icon,
.card-goleadores.active .transition-icon,
.card-asistidores.active .transition-icon {
    transform: rotate(180deg);
}

/* ===== Contenedor de la tabla (carta) ===== */
.ranking-table-section {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    margin-bottom: 2rem;
}
.ranking-table-section:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* ===== Encabezado de la tabla (título) ===== */
.table-header {
    padding: 1rem 1.5rem;
    border-bottom: 2px solid;
    background: rgba(0, 0, 0, 0.5);
}
.header-puntaje {
    border-bottom-color: #ffd700;
}
.header-puntaje h4 {
    color: #ffd700;
}
.header-goleadores {
    border-bottom-color: #0d6efd;
}
.header-goleadores h4 {
    color: #0d6efd;
}
.header-asistidores {
    border-bottom-color: #dc3545;
}
.header-asistidores h4 {
    color: #dc3545;
}

/* ===== Estilos de la tabla (fondo transparente) ===== */
.ranking-table-section .table {
    background: transparent !important;
    color: #fff;
    margin-bottom: 0;
}

/* Cabeceras de columnas (thead) con colores temáticos */
.ranking-table-section .gold-header th {
    background-color: rgba(255, 215, 0, 0.25);
    border-bottom: 2px solid #ffd700;
    color: #ffd700;
}
.ranking-table-section .blue-header th {
    background-color: rgba(13, 110, 253, 0.25);
    border-bottom: 2px solid #0d6efd;
    color: #0d6efd;
}
.ranking-table-section .red-header th {
    background-color: rgba(220, 53, 69, 0.25);
    border-bottom: 2px solid #dc3545;
    color: #dc3545;
}

/* Filas de la tabla */
.ranking-table-section .table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ranking-table-section .table tbody tr:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}
.ranking-table-section .table td,
.ranking-table-section .table th {
    border-top: none;
    vertical-align: middle;
}

/* Tabla activa (cuando la tarjeta está expandida) */
.ranking-table-section:not(.d-none) {
    border-color: currentColor;
    box-shadow: 0 0 20px currentColor;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
    }
    .ranking-table-section {
        margin: 0 0.5rem 1.5rem;
    }
}


/* =================================================
   planes.css - Estilo FIFA para la página de planes
   ================================================= */

/* Contenedor principal ya tiene fondo con stats-page-section */

/* Tarjeta base (hereda .fifa-card) */
.plan-card {
    transition: all 0.3s ease;
    cursor: default;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* Plan actual (resaltado) */
.plan-card.current-plan {
    border-color: #ffd700 !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    background: rgba(0, 0, 0, 0.3) !important;
}

/* Iconos de los planes */
.plan-card i {
    color: #ffd700;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Precio en USD (destacado) */
.plan-price-usd {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Lista de características */
.plan-card .list-unstyled li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.plan-card .bi-check-circle-fill {
    color: #ffd700;
    font-size: 1rem;
}

/* Botones dentro de la tarjeta */
.plan-card .fifa-btn {
    width: 100%;
    padding: 0.6rem 1rem;
}

/* Para el botón deshabilitado */
.plan-card .fifa-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .plan-price-usd {
        font-size: 1.6rem;
    }
    .plan-card .list-unstyled li {
        font-size: 0.8rem;
    }
}

/* =================================================
   ESTILOS CLAROS PARA MODAL DE GESTIÓN DE ADMINISTRADORES
   ================================================= */
.modal-claro input,
.modal-claro select,
.modal-claro textarea {
    background: #f8f9fa !important;
    color: #212529 !important;
    border: 2px solid #ced4da !important;
    box-shadow: none !important;
}
.modal-claro input:focus,
.modal-claro select:focus,
.modal-claro textarea:focus {
    background: #ffffff !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff !important;
    outline: none !important;
}
.modal-claro label,
.modal-claro .form-label {
    color: #212529 !important;
}
.modal-claro .alert {
    background-color: #f8f9fa !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
}
.modal-claro .btn-primary {
    background: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}
.modal-claro .btn-primary:hover {
    background: #0b5ed7 !important;
}
.modal-claro .btn-secondary {
    background: #fff !important;
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}
.modal-claro .btn-secondary:hover {
    background: #dc3545 !important;
    color: #fff !important;
}

/* ===== MEJORA GLOBAL DE LEGIBILIDAD EN PÁGINAS DE AUTENTICACIÓN ===== */
.auth-page .card,
.auth-page .card p,
.auth-page .card li,
.auth-page .card small,
.auth-page .card span {
    color: #1f2937;
}

.auth-page .card .text-muted,
.auth-page .card .text-muted-custom {
    color: #4b5563 !important;
}

.auth-page .card h1,
.auth-page .card h2,
.auth-page .card h3,
.auth-page .card h4,
.auth-page .card h5,
.auth-page .card h6 {
    color: #111827;
    font-weight: 700;
}

.auth-page .tips-box,
.auth-page .info-box,
.auth-page .alert,
.auth-page .guide-box {
    background: #f8fbff;
    color: #1f2937;
    border: 1px solid #c7d2fe;
}

.auth-page .tips-box *,
.auth-page .info-box *,
.auth-page .alert *,
.auth-page .guide-box * {
    color: inherit;
}

.auth-page .btn {
    font-weight: 600;
}

/* ALERTAS (AQUÍ ESTÁ TU BUG 👇) */
.fifa-modal .alert {
    background: rgba(0, 200, 255, 0.15);
    color: #e6faff !important;
    border: 1px solid #00d4ff;
}
.fifa-alert-info {
    background: rgba(0, 200, 255, 0.12);
    border: 1px solid #00d4ff;
    color: #e6faff;
}

.fifa-alert-info * {
    color: inherit;
}

/* Estilo para mensajes de error de validación */


/* Opcional: también para errores de formulario en general */

@media (max-width: 768px) {
    .carousel-inner img {
        height: 300px !important;
    }
}

.carousel-caption {
    background: transparent !important;
}

/* Efecto neón en hover para la tarjeta del carrusel */
.carousel-caption:hover {
    border-color: #00ffff !important;          /* cian neón */
    box-shadow: 0 0 20px #00ffff, 0 0 35px #00ffff !important;
    transition: all 0.3s ease;
}

/* También puedes usar dorado si prefieres mantener el borde original */
.carousel-caption:hover {
    border-color: #ffd700 !important;
    box-shadow: 0 0 20px #ffd700, 0 0 35px #ffd700 !important;
}

/* Card transparente SOLO para el mensaje de partido NO activo */
.neon-card {
    background: rgba(0, 0, 0, 0.3) !important;  /* Fondo semi-transparente */
    backdrop-filter: blur(8px);                 /* Efecto vidrio */
    border: 2px solid #ff2a2a;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.3);
    transition: all 0.3s ease;
}

/* Texto dorado */
.golden-message {
    color: #FFD966;
}

.golden-message h5 {
    color: #FFD700;
    font-weight: bold;
}

.golden-message i {
    color: #FFD700;
}

.golden-message .lead {
    color: #FFC107;
}

.golden-hr {
    background-color: #FFD700;
    height: 1px;
    box-shadow: 0 0 4px gold;
}

/* =================================================
   CHECKBOX EN ZONAS OSCURAS FIFA
   ================================================= */
.fifa-card .form-check,
.home-card .form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 0 !important;
}

.fifa-card .form-check-input,
.home-card .form-check-input {
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: 2px solid #00ffff !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: none !important;
}

.fifa-card .form-check-input:checked,
.home-card .form-check-input:checked {
    background-color: #00ffff !important;
    border-color: #00ffff !important;
    box-shadow: 0 0 6px #00ffff, 0 0 12px #00ffff !important;
}

.fifa-card .form-check-label,
.home-card .form-check-label {
    color: #fff !important;
    font-weight: 500;
    line-height: 1.4;
}

/* Restaurar el control nativo de date para inputs dentro de tarjetas FIFA */
.fifa-card input[type="date"],
.home-card input[type="date"] {
    -webkit-appearance: date !important;
    appearance: date !important;
    background: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: 2px solid #00ffff !important;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Opcional: ajustar el ícono del calendario para que se vea claro */
.fifa-card input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

//* ==============================================
    TARJETAS DE JUGADOR — player-market.css
    ============================================= */

 .player-market-card {
     position: relative;
     overflow: hidden;
     background: #202020;
     border: 1px solid rgba(255, 255, 255, 0.08);
     border-radius: 22px;
 }

 .market-glow {
     box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.15), 0 0 18px rgba(0, 0, 0, 0.35);
 }

 /* ──────────────────────────────────────────────
    HEADER
    Estructura: 3 hijos en fila → [avatar] [info] [ovr]
    El OVR es el TERCER hijo directo del header.
    NO usar position:absolute en el OVR.
    NO poner el OVR dentro de header-info.
    ────────────────────────────────────────────── */
 .player-market-header {
     display: flex;
     flex-direction: row;
     align-items: flex-start;
     gap: 10px;
     padding: 12px;
 }

 /* Hijo 1: Avatar */
 .player-market-avatar-wrap {
     width: 66px;
     min-width: 66px;   /* nunca se comprime */
     height: 66px;
     border-radius: 14px;
     overflow: hidden;
     border: 2px solid rgba(255, 215, 0, 0.35);
     box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 0 18px rgba(255, 215, 0, 0.15);
     flex-shrink: 0;
 }

 .player-market-avatar {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 /* Hijo 2: Info — ocupa todo el espacio disponible */
 .player-market-header-info {
     flex: 1;
     min-width: 0;      /* permite truncar texto largo */
     overflow: hidden;
 }

 .player-market-name {
     font-size: 0.95rem;
     font-weight: 800;
     line-height: 1.2;
     color: #fff;
     word-break: break-word;
 }

 .player-market-username {
     font-size: 0.78rem;
     color: rgba(255, 255, 255, 0.62);
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .player-market-status {
     display: inline-flex;
     align-items: center;
     margin-top: 4px;
     font-size: 0.65rem;
     font-weight: 800;
     letter-spacing: 0.4px;
     padding: 2px 8px;
     border-radius: 999px;
     text-transform: uppercase;
     line-height: 1;
 }

 .status-on {
     background: rgba(34, 197, 94, 0.14);
     color: #22c55e;
     border: 1px solid rgba(34, 197, 94, 0.32);
 }

 .status-off {
     background: rgba(239, 68, 68, 0.12);
     color: #f87171;
     border: 1px solid rgba(239, 68, 68, 0.28);
 }

 /* Descripción: máximo 2 líneas, altura fija */
 .player-market-description {
     margin-top: 5px;
     font-size: 0.76rem;
     color: rgba(255, 255, 255, 0.75);
     line-height: 1.3;
     height: 2rem;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 /* Hijo 3: OVR — tamaño fijo, nunca se mueve ni comprime */
 .player-market-ovr {
     width: 50px;
     min-width: 50px;   /* nunca se comprime */
     height: 50px;
     flex-shrink: 0;
     align-self: flex-start;
     border-radius: 11px;
     background: linear-gradient(180deg, rgba(70, 70, 70, 0.95), rgba(18, 18, 18, 0.95));
     border: 1px solid rgba(255, 255, 255, 0.08);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
 }

 .player-market-ovr-value {
     font-size: 1rem;
     font-weight: 900;
     line-height: 1;
     color: #fff;
 }

 .player-market-ovr-label {
     margin-top: 2px;
     padding: 1px 5px;
     border-radius: 6px;
     background: #dbeafe;
     color: #1d4ed8;
     font-size: 0.55rem;
     font-weight: 800;
     line-height: 1;
 }

 /* ──────────────────────────────────────────────
    INFO GRID (Posición / Ubicación)
    ────────────────────────────────────────────── */
 .player-market-info-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 8px;
     padding: 0 12px;
     margin-top: 6px;
 }

 .player-market-info-box {
     background: rgba(255, 255, 255, 0.04);
     border-radius: 10px;
     padding: 8px 10px;
 }

 .player-market-info-title {
     font-size: 0.62rem;
     letter-spacing: 0.8px;
     color: rgba(255, 255, 255, 0.5);
     text-transform: uppercase;
     margin-bottom: 3px;
 }

 .player-market-info-value {
     font-size: 0.82rem;
     font-weight: 800;
     color: #fff;
     display: flex;
     align-items: center;
     flex-wrap: wrap;
     gap: 3px;
 }

 /* ──────────────────────────────────────────────
    ESTADÍSTICAS
    ────────────────────────────────────────────── */
 .player-market-stats {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     margin: 10px 12px 8px;
     padding: 10px 0;
     border-top: 1px solid rgba(255, 255, 255, 0.12);
     border-bottom: 1px solid rgba(255, 255, 255, 0.12);
     text-align: center;
 }

 .player-market-stat {
     position: relative;
 }

 .player-market-stat:not(:last-child)::after {
     content: "";
     position: absolute;
     right: 0;
     top: 16%;
     width: 1px;
     height: 68%;
     background: rgba(255, 255, 255, 0.14);
 }

 .player-market-stat-icon {
     font-size: 0.85rem;
     color: #facc15;
     line-height: 1;
     margin-bottom: 3px;
 }

 .player-market-stat-value {
     font-size: 1.2rem;
     font-weight: 900;
     color: #fff;
     line-height: 1;
 }

 .player-market-stat-label {
     font-size: 0.6rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     color: rgba(255, 255, 255, 0.5);
     margin-top: 3px;
 }

 /* ──────────────────────────────────────────────
    DISPONIBILIDAD
    ────────────────────────────────────────────── */
 .player-market-section-title {
     padding: 0 12px;
     font-size: 0.65rem;
     letter-spacing: 0.8px;
     color: rgba(255, 255, 255, 0.5);
     text-transform: uppercase;
     margin: 6px 0 5px;
 }

 .player-market-tags {
     display: flex;
     flex-wrap: wrap;
     gap: 5px;
     padding: 0 12px;
     margin-bottom: 8px;
 }

 .player-market-tag {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     border-radius: 999px;
     padding: 4px 9px;
     font-size: 0.68rem;
     font-weight: 700;
     white-space: nowrap;
     border: 1px solid transparent;
 }

 .tag-on {
     background: rgba(34, 197, 94, 0.12);
     color: #22c55e;
     border-color: rgba(34, 197, 94, 0.3);
 }

 .tag-off {
     background: rgba(255, 255, 255, 0.05);
     color: rgba(255, 255, 255, 0.35);
     border-color: rgba(255, 255, 255, 0.08);
 }

 .player-market-date-range {
     padding: 0 12px;
     margin-bottom: 8px;
     font-size: 0.72rem;
     color: rgba(255, 255, 255, 0.65);
 }

 /* ──────────────────────────────────────────────
    BARRA DE SCORE
    ────────────────────────────────────────────── */
 .player-market-progress {
     height: 5px;
     margin: 0 12px 10px;
     background: rgba(255, 255, 255, 0.08);
     border-radius: 999px;
     overflow: hidden;
 }

 .player-market-progress-bar {
     background: linear-gradient(90deg, #22c55e, #16a34a);
     height: 100%;
 }

 /* ──────────────────────────────────────────────
    BOTÓN
    ────────────────────────────────────────────── */
 .player-market-btn {
     padding-top: 0.55rem;
     padding-bottom: 0.55rem;
     font-weight: 800;
     letter-spacing: 0.3px;
     font-size: 0.75rem;
 }

 .player-market-card .d-flex.gap-2.mt-auto {
     padding: 0 12px 12px;
 }

 /* ──────────────────────────────────────────────
    FILTROS / ACCORDION
    ────────────────────────────────────────────── */
 .player-market-list .accordion-item {
     background: rgba(15, 15, 15, 0.92);
     border: 1px solid rgba(255, 255, 255, 0.08);
     border-radius: 18px !important;
     overflow: hidden;
 }

 .player-market-list .accordion-button {
     background: rgba(20, 20, 20, 0.96) !important;
     color: #fff !important;
     box-shadow: none !important;
     font-weight: 600;
     border: none;
     transition: all 0.25s ease;
 }

 .player-market-list .accordion-button:not(.collapsed) {
     background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 255, 255, 0.03)) !important;
     color: #ffd54a !important;
 }

 .player-market-list .accordion-button:focus {
     box-shadow: none !important;
     border: none !important;
 }

 .player-market-list .accordion-button::after {
     filter: brightness(0) invert(1);
     opacity: 0.85;
 }

 .player-market-list .accordion-body {
     background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
     border-top: 1px solid rgba(255, 255, 255, 0.06);
 }

 .player-market-list .form-control,
 .player-market-list .form-select {
     background: rgba(18, 18, 18, 0.95) !important;
     border: 1px solid rgba(255, 255, 255, 0.10) !important;
     color: #fff !important;
     border-radius: 14px;
     min-height: 48px;
     transition: all 0.25s ease;
 }

 .player-market-list .form-control::placeholder {
     color: rgba(255, 255, 255, 0.45);
 }

 .player-market-list .form-control:focus,
 .player-market-list .form-select:focus {
     border-color: rgba(255, 215, 0, 0.55) !important;
     box-shadow: 0 0 0 0.15rem rgba(255, 215, 0, 0.12), 0 0 18px rgba(255, 215, 0, 0.15);
     background: rgba(22, 22, 22, 0.98) !important;
 }

 .player-market-list .form-label {
     font-size: 0.85rem;
     letter-spacing: 0.4px;
     color: rgba(255, 255, 255, 0.88);
 }

 .player-market-list .form-check-input {
     background-color: #1d1d1d;
     border: 1px solid rgba(255, 255, 255, 0.18);
     cursor: pointer;
 }

 .player-market-list .form-check-input:checked {
     background-color: #ffd54a;
     border-color: #ffd54a;
 }

 .player-market-list .form-check-label {
     cursor: pointer;
     color: rgba(255, 255, 255, 0.85);
 }

 .player-market-list .home-card {
     position: relative;
     overflow: hidden;
 }

 .player-market-list .home-card::before {
     content: "";
     position: absolute;
     inset: 0;
     background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.08), transparent 45%);
     pointer-events: none;
 }

 .player-market-list .btn-outline-light {
     border-radius: 12px;
     border-color: rgba(255, 255, 255, 0.16);
     transition: all 0.25s ease;
 }

 .player-market-list .btn-outline-light:hover {
     background: rgba(255, 255, 255, 0.08);
     border-color: rgba(255, 255, 255, 0.30);
     transform: translateY(-1px);
 }

 /* ──────────────────────────────────────────────
    RESPONSIVE MÓVIL
    El header sigue siendo flex de 3 columnas,
    solo se reducen los tamaños.
    ────────────────────────────────────────────── */
 @media (max-width: 768px) {

     .player-market-card {
         margin-bottom: 0;
     }

     /* Header: misma estructura flex, tamaños reducidos */
     .player-market-header {
         gap: 8px;
         padding: 10px;
     }

     .player-market-avatar-wrap {
         width: 54px;
         min-width: 54px;
         height: 54px;
         border-radius: 12px;
     }

     .player-market-ovr {
         width: 44px;
         min-width: 44px;
         height: 44px;
         border-radius: 9px;
     }

     .player-market-ovr-value {
         font-size: 0.82rem;
     }

     .player-market-ovr-label {
         font-size: 0.48rem;
         padding: 1px 4px;
     }

     .player-market-name {
         font-size: 0.88rem;
     }

     .player-market-username {
         font-size: 0.72rem;
     }

     .player-market-status {
         font-size: 0.62rem;
         padding: 2px 6px;
     }

     .player-market-description {
         font-size: 0.72rem;
         height: 1.9rem;
         margin-top: 4px;
     }

     /* Info grid: 2 columnas en móvil también */
     .player-market-info-grid {
         grid-template-columns: 1fr 1fr;
         gap: 6px;
         padding: 0 10px;
         margin-top: 4px;
     }

     .player-market-info-box {
         padding: 6px 8px;
     }

     .player-market-info-title {
         font-size: 0.58rem;
     }

     .player-market-info-value {
         font-size: 0.75rem;
     }

     /* Stats */
     .player-market-stats {
         margin: 8px 10px 6px;
         padding: 8px 0;
     }

     .player-market-stat-value {
         font-size: 1rem;
     }

     .player-market-stat-label {
         font-size: 0.55rem;
     }

     .player-market-stat-icon {
         font-size: 0.75rem;
     }

     /* Tags */
     .player-market-section-title {
         font-size: 0.6rem;
         padding: 0 10px;
         margin: 4px 0;
     }

     .player-market-tags {
         gap: 4px;
         padding: 0 10px;
         margin-bottom: 6px;
     }

     .player-market-tag {
         font-size: 0.62rem;
         padding: 3px 7px;
         gap: 4px;
     }

     .player-market-date-range {
         font-size: 0.65rem;
         padding: 0 10px;
         margin-bottom: 6px;
     }

     /* Ocultar barra de progreso en móvil */
     .player-market-progress {
         display: none;
     }

     /* Botones */
     .player-market-card .d-flex.gap-2.mt-auto {
         padding: 0 10px 10px;
         flex-direction: column;
         gap: 6px;
     }

     .player-market-btn {
         font-size: 0.68rem;
         padding: 0.4rem 0;
         width: 100%;
     }

     /* Filtros */
     .player-market-list .form-control,
     .player-market-list .form-select {
         min-height: 44px;
     }

     .player-market-list .accordion-button {
         font-size: 0.95rem;
     }
 }

 .player-market-stats {
     display: flex;
     flex-wrap: wrap;
     justify-content: space-between;
     gap: 1rem;
 }

 .player-market-stat {
     flex: 1;
     min-width: 80px; /* o el valor que prefieras */
     text-align: center;
 }

 .player-market-stat-label {
     font-size: 0.75rem;
     white-space: normal;
     word-break: keep-all;
 }



 /* para la imagen del logo  */
 .home-card-img-link {
     display: block;
     text-decoration: none;
     cursor: pointer;
 }
 .home-card-img-link:hover {
     text-decoration: none;
 }
