/* General styles for futbolista login page */
.futbolista-login-body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
}
.futbolista-login-container {
    max-width: 825px;
    margin-left: auto;
    margin-right: auto;
}
.futbolista-login-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.futbolista-login-card-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 20px 20px 0 0 !important;
    padding: 2rem;
}
.futbolista-login-btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.futbolista-login-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}
.futbolista-login-form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px;
    transition: all 0.3s ease;
}
.futbolista-login-form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.3rem rgba(231, 76, 60, 0.25);
}
.futbolista-login-player-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: futbolista-login-bounce 2s infinite;
}
@keyframes futbolista-login-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Styles for futbolista home page */
.futbolista-home-body {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
}
.futbolista-home-navbar { /* Original: .navbar */
    background: rgba(231, 76, 60, 0.95);
    backdrop-filter: blur(10px);
}
.futbolista-home-video-grid { /* Original: .video-grid */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}
.futbolista-home-video-card { /* Original: .video-card */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    color: #333;
}
.futbolista-home-video-card:hover { /* Original: .video-card:hover */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.futbolista-home-video-container { /* Original: .video-container */
    position: relative;
    width: 100%;
    height: 180px;
    background: #000;
}
.futbolista-home-video-thumbnail { /* Original: .video-thumbnail */
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.futbolista-home-play-button { /* Original: .play-button */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(231, 76, 60, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.futbolista-home-play-button:hover { /* Original: .play-button:hover */
    background: rgba(231, 76, 60, 1);
    transform: translate(-50%, -50%) scale(1.1);
}
.futbolista-home-video-info { /* Original: .video-info */
    padding: 1rem;
}
.futbolista-home-club-badge { /* Original: .club-badge */
    background: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}
.futbolista-home-my-video-badge { /* Original: .my-video-badge */
    background: #27ae60;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}
.futbolista-home-welcome-section { /* Original: .welcome-section */
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}
.futbolista-home-video-actions { /* Original: .video-actions */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.futbolista-home-action-btn { /* Original: .action-btn */
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
}
.futbolista-home-action-btn:hover { /* Original: .action-btn:hover */
    color: #e74c3c;
}

/* --- Estilos base de base.html --- */
/* Estilos para unificar la apariencia de la app */
body {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('https://images.unsplash.com/photo-1551966775-a4ddc8df052b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
}
.navbar-futbolista {
    background: rgba(231, 76, 60, 0.95);
    backdrop-filter: blur(10px);
}
/* --- Fin de estilos de base.html --- */

/* --- Estilos para crear_futbolista.html --- */
.futbolista-crear-page {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1551966775-a4ddc8df052b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: white;
}
.futbolista-crear-page .container {
    max-width: 800px;
}
.futbolista-crear-page .card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.futbolista-crear-page .card-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 20px 20px 0 0 !important;
    padding: 2rem;
}
.futbolista-crear-page .btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.futbolista-crear-page .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}
.futbolista-crear-page .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px;
    transition: all 0.3s ease;
}
.futbolista-crear-page .form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.3rem rgba(231, 76, 60, 0.25);
}
.futbolista-crear-page .form-label {
    font-weight: 600;
    color: #2c3e50;
}
.futbolista-crear-page .section-title {
    border-left: 4px solid #e74c3c;
    padding-left: 1rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
}
.futbolista-crear-page .independiente-badge {
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.futbolista-crear-page .club-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 0.5rem;
    border-left: 4px solid #3498db;
}
.futbolista-crear-page .club-option {
    font-weight: 500;
}
.futbolista-crear-page .club-independiente {
    color: #e74c3c;
    font-weight: 600;
}

/* --- Estilos para cuenta_creada_exitosamente.html --- */
.futbolista-success-page {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1551966775-a4ddc8df052b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: white;
}
.futbolista-success-page .card {
    background: rgba(255, 255, 255, 0.95);
    color: #333; 
    border: none;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.futbolista-success-page .card-header {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    border-radius: 20px 20px 0 0 !important;
    padding: 2rem;
    border-bottom: none;
}
.futbolista-success-page .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}
.futbolista-success-page .btn-success-custom {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    color: white !important;
}
.futbolista-success-page .btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
    color: white;
}

/* --- Estilos para detalle_evaluacion.html --- */
.futbolista-detalle-eval-page .content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 1.5rem;
    color: #333;
}
.futbolista-detalle-eval-page .section-title {
    border-left: 4px solid #e74c3c;
    padding-left: 1rem;
    margin: 2rem 0 1rem;
    color: #2c3e50;
}
.futbolista-detalle-eval-page .metric-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.futbolista-detalle-eval-page .video-thumbnail {
    width: 120px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.futbolista-detalle-eval-page .video-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}
.futbolista-detalle-eval-page .video-player-container {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.futbolista-detalle-eval-page .global-score {
    font-size: 2.5rem;
    font-weight: bold;
}
.futbolista-detalle-eval-page .ytp-large-play-button { display: none !important; }
/* --- Fin de estilos para detalle_evaluacion.html --- */

/* --- Estilos para detalle_tarea.html --- */
.futbolista-detalle-tarea-page .task-detail-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #333;
    overflow: hidden; /* To contain the card-header */
}
.futbolista-detalle-tarea-page .card-header-task {
    background-color: #343a40;
    color: white;
    padding: 1.5rem;
}
.futbolista-detalle-tarea-page .card-body-task {
    padding: 2rem;
}
/* --- Fin de estilos para detalle_tarea.html --- */

/* --- Estilos para editar_perfil_futbolista.html --- */
.futbolista-edit-profile-page .form-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 2.5rem;
    color: #333;
}
/* --- Fin de estilos para editar_perfil_futbolista.html --- */

/* --- Estilos para etiquetar_video.html --- */
.futbolista-etiquetar-page .content-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    color: #333;
    padding: 2rem;
}
.futbolista-etiquetar-page .video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 10px;
}
.futbolista-etiquetar-page .video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.futbolista-etiquetar-page .tag-list-item {
    transition: background-color 0.2s ease;
}
.futbolista-etiquetar-page .tag-list-item:hover {
    background-color: #f1f1f1;
}
.futbolista-etiquetar-page .tag-list-item.active {
    background-color: #e74c3c;
    color: white;
    border-color: #c0392b !important;
}
.futbolista-etiquetar-page .tag-list-item.active .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}
.futbolista-etiquetar-page .aspect-header {
    cursor: pointer;
    background-color: #f8f9fa;
    border-radius: 5px;
}
.futbolista-etiquetar-page .aspect-header:hover {
    background-color: #e9ecef;
}
/* --- Fin de estilos para etiquetar_video.html --- */

/* --- Estilos para mis_tareas.html --- */
.futbolista-mis-tareas-page .task-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 2rem;
    color: #333;
}
.futbolista-mis-tareas-page .list-group-item-action:hover {
    background-color: #f8f9fa;
}
/* --- Fin de estilos para mis_tareas.html --- */

/* --- Estilos para mis_videos.html --- */
.futbolista-mis-videos-page .video-card-mis-videos {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    color: #212529;
}
.futbolista-mis-videos-page .video-card-mis-videos:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: transparent;
}
.futbolista-mis-videos-page .video-card-mis-videos .card-img-top {
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}
.futbolista-mis-videos-page .tag-badge {
    font-size: 0.8em;
    display: inline-block;
    font-weight: 500;
}
.futbolista-mis-videos-page .no-videos-card {
    background: rgba(33, 37, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}
/* --- Fin de estilos para mis_videos.html --- */

/* --- Estilos para error_registro.html --- */
.body-error-registro {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1556056504-5c7696c4c28d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}
.body-error-registro .card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
}
.body-error-registro .card .card-body {
    color: #333;
}

/* --- Estilos para editar_etiqueta.html --- */
.futbolista-editar-etiqueta-page .form-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    color: #333;
}
.futbolista-editar-etiqueta-page .btn-primary {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border: none;
}

/* --- Estilos para Evidencias Públicas (Inspirado en Detalle Entrenador) --- */
.publico-aspecto-section { 
    border: 1px solid #e9ecef; 
    border-radius: 10px; 
    padding: 1.5rem; 
    margin-bottom: 1.5rem; 
    background-color: #fcfcfc;
}
.publico-subaspecto-card { 
    background: #ffffff; 
    border-radius: 8px; 
    padding: 1rem; 
    margin-bottom: 1rem; 
    border-left: 4px solid #0d6efd; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.publico-video-item { 
    position: relative; 
    border: 1px solid #e9ecef; 
    border-radius: 8px; 
    transition: all 0.3s ease; 
    background-color: #fff; 
    padding: 0; 
    overflow: hidden; 
}
.publico-video-item .form-check-label { display: block; cursor: pointer; }
.publico-video-thumbnail { width: 100%; height: auto; display: block; }
.publico-video-checkbox { position: absolute; top: 5px; left: 5px; z-index: 10; width: 1.2em; height: 1.2em; }
.publico-video-text { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    background: rgba(0,0,0,0.6); 
    color: white; 
    padding: 4px; 
    font-size: 0.75rem; 
    text-align: center; 
}
.publico-video-item:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.publico-etiqueta-counter {
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 5px;
}