body {
    background: linear-gradient(135deg, #d7b6fa, #c2d8ff);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Tarjeta mejorada y centrada */
.login-card {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.login-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.2);
}

/* Estilización del título */
.login-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #6a11cb;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Estilización de los campos de entrada */
.form-control {
    border-radius: 10px;
}

.form-control:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 8px rgba(106, 17, 203, 0.5);
}

/* Botón con efectos */
.btn-primary {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, background 0.3s ease-in-out;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2575fc, #6a11cb);
}

/* Ajuste para los iconos dentro de los input */
.input-group-text {
    background: #6a11cb;
    color: white;
    border-radius: 10px 0 0 10px;
    border: none;
}