/* ============================================
   ESTILOS DE AUTENTICACION - LOGIN/REGISTRO
   ============================================ */

.page-header {
    padding: 0;
    position: relative;
}

.card-plain {
    background-color: #fff;
    box-shadow: 0 20px 27px 0 rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
}

.card-plain .card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-plain .card-body {
    padding: 1.5rem;
}

.card-plain .card-footer {
    padding: 0 1.5rem 1.5rem;
}

/* Animaciones suaves */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-plain {
    animation: slideUp 0.6s ease-out;
}

/* Mejoras visuales con Bootstrap 5 */
.form-control:focus {
    border-color: #1572e8;
    box-shadow: 0 0 0 0.2rem rgba(21, 114, 232, 0.25);
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.btn-primary {
    background: linear-gradient(310deg, #7928CA, #FF0080);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(310deg, #6a1fb5, #e0006e);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(121, 40, 202, 0.4);
}

.text-gradient {
    background: linear-gradient(310deg, #7928CA, #FF0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estilo del panel de imagen */
.bg-gradient-primary {
    background: linear-gradient(310deg, #7928CA, #FF0080);
}

.border-radius-lg {
    border-radius: 1rem;
}

.mask {
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* Animaciones adicionales */
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Loading state para botones */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mejoras responsivas */
@media (max-width: 991px) {
    .page-header .container .row > div:first-child {
        margin: 0 auto;
    }
}
