/* Estilos para el header principal con fondo morado */
header {
    background: linear-gradient(135deg, #6f42c1 0%, #8a5cf3 100%);
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
    border-radius: 0 0 15px 15px;
}

header a {
    text-decoration: none;
}

header .logo-badge {
    width: 60px;
    height: 60px;
    background-color: white;
    color: #6f42c1;
    font-size: 28px;
    font-weight: bold;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

header .h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

header .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem;
}

/* Estilos para los botones de autenticación en el header principal */
header .auth-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

header .auth-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    transition: all 0.3s;
    border: none;
}

header .auth-buttons .btn-primary {
    background-color: white;
    color: #6f42c1;
}

header .auth-buttons .btn-primary:hover {
    background-color: #f8f9fa;
    color: #6f42c1;
    transform: translateY(-2px);
}

header .auth-buttons .btn-outline-primary {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

header .auth-buttons .btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

header .auth-buttons .btn-warning {
    background-color: #ffc107;
    color: #212529;
}

header .auth-buttons .btn-warning:hover {
    background-color: #ffca2c;
    color: #212529;
    transform: translateY(-2px);
}

header .auth-buttons form {
    margin: 0;
}

/* En pantallas móviles, mostrar solo iconos */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
        margin-bottom: 1.5rem;
    }
    
    header .logo-badge {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    header .h4 {
        font-size: 1.2rem;
    }
    
    header .text-muted {
        font-size: 0.8rem;
    }
    
    header .auth-buttons {
        justify-content: flex-end;
    }
    
    header .auth-buttons .btn {
        padding: 0.5rem;
        min-width: 40px;
        height: 40px;
    }
    
    header .auth-buttons .btn span {
        display: none;
    }
    
    header .auth-buttons .btn i {
        margin-right: 0 !important;
        font-size: 1.2rem;
    }
    
    header .auth-buttons form {
        display: inline-flex;
    }
} 