/* ============================================================
   login.css  —  Login page specific styles
   Extends auth.css
   ============================================================ */

/* Animated entrance for the form panel on page load */
.auth-form-wrap {
    animation: fadeSlideUp 0.35s ease both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flash messages animate in too */
.flash {
    animation: fadeIn 0.25s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Focus ring highlight on the credential field */
#credential:focus + .input-icon,
#password:focus + .input-icon {
    color: var(--purple-mid);
}

/* Strengthen the submit button on this page with a subtle gradient */
.btn-submit {
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 100%);
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--purple-mid) 0%, #3b22a8 100%);
}
