/* ESTILOS PARA USUARIOS +40 AÑOS - GRANDE Y CLARO */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px; /* TEXTO GRANDE */
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    padding: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 25px 30px;
    position: relative;
}

.header h1 {
    font-size: 28px;
    margin: 15px 0;
    text-align: center;
}

.user-info {
    display: flex;
    justify-content: space-between;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

/* NAVEGACIÓN PRINCIPAL */
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s;
    font-size: 16px;
    text-align: center;
    min-width: 120px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.nav-link.logout {
    background: #e74c3c;
}

/* BOTONES */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.btn-grande {
    padding: 20px 40px !important;
    font-size: 20px !important;
    min-height: 70px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-success {
    background: #27ae60;
    color: white;
}

/* FORMULARIOS */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 18px;
}

.input-grande, .select-grande {
    width: 100%;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 18px;
    transition: border 0.3s;
}

.input-grande:focus, .select-grande:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* CHECKBOXES GRANDES */
.checkbox-grande {
    transform: scale(2);
    margin-right: 20px;
    margin-left: 10px;
}

.check-label-grande {
    font-size: 18px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: block;
    margin: 10px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.check-label-grande:hover {
    background: #e9ecef;
}

/* TARJETAS Y ESTADÍSTICAS */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 2px solid #3498db;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: #7f8c8d;
}

/* GRID DE JUGADORES */
.jugadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.jugador-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border-left: 5px solid #3498db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ALERTAS */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 18px;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

/* PÁGINA DE LOGIN */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
}

.login-header {
    background: #2c3e50;
    color: white;
    padding: 30px;
    text-align: center;
}

.login-box {
    padding: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .header {
        padding: 15px;
    }
    
    .main-nav {
        flex-direction: column;
    }
    
    .nav-link {
        width: 100%;
        margin: 5px 0;
    }
    
    .jugadores-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-grande {
        padding: 15px 20px !important;
        font-size: 18px !important;
    }
}

/*