/* Estilos generales aplicados a ambos temas */
body {
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s, color 0.3s;
}

/* 🎨 Modo CLARO */
[data-bs-theme="light"] body {
    background: #d1d5db;
    color: #212529;
}

[data-bs-theme="light"] .col-md-4 {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 🎨 Modo OSCURO */
[data-bs-theme="dark"] body {
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: white;
}

[data-bs-theme="dark"] .col-md-4 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Mensajes de alerta */
.alert {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

/* Estilos de input adaptables a ambos temas */
input.form-control {
    border: none;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
}

[data-bs-theme="light"] input.form-control {
    background: rgba(0, 0, 0, 0.05);
    color: #212529;
}

[data-bs-theme="light"] input.form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

[data-bs-theme="dark"] input.form-control {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

[data-bs-theme="dark"] input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Botón de login */
button.btn {
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.3s;
}

[data-bs-theme="light"] button.btn {
    background-color: #1DB954; /* Verde estilo Spotify */
    color: white;
}

[data-bs-theme="light"] button.btn:hover {
    background-color: #1ed760;
}

[data-bs-theme="dark"] button.btn {
    background-color: #1DB954;
    color: white;
}

[data-bs-theme="dark"] button.btn:hover {
    background-color: #1ed760;
}

/* Links de registro y recuperar contraseña */
.text-link {
    text-decoration: none;
    transition: color 0.3s;
}

[data-bs-theme="light"] .text-link {
    color: #1DB954;
}

[data-bs-theme="light"] .text-link:hover {
    text-decoration: underline;
}

[data-bs-theme="dark"] .text-link {
    color: #1DB954;
}

[data-bs-theme="dark"] .text-link:hover {
    text-decoration: underline;
}
