:root {
    /*--primary: #AB7442; */
    --primary: #0A58CA;
    --secondary: #F6C834;
    --light: #F5F5F5;
    --dark: #353535;
}

.btn-primary:hover {
    color: #000;
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.munap-login {
    background: linear-gradient(135deg, var(--primary) 0%, #06449e 100%);
}

/* .munap-login h4 {
    display: none;
}  */
.underline-hover {
    color: #6c757d;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.underline-hover:hover {
    color: var(--primary);
}

.underline-hover:active {
    color: #06449e;
}

.underline-hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.gradient-custom-2 {
    /* fallback for old browsers */
    background: var(--primary);

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #ee9d07, #b1761e, #c01013);

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #ee9d07, #b1761e, #c01013);
}

.font-sans-serif {
    font-family: sans-serif;
}

.font-verdana {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@media (min-width: 768px) {
    .gradient-form {
        height: 100vh !important;
    }

}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}

/* ========================================= */
/* Dynamic Entrance Animations               */
/* ========================================= */

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.card-body {
    animation: fadeInLeft 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.munap-login {
    background: linear-gradient(135deg, var(--primary) 0%, #06449e 100%);
    animation: fadeInRight 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


/* ========================================= */
/* Input Field Interaction & Focus States    */
/* ========================================= */

.form-floating .form-control {
    transition: all 0.3s ease;
}

.form-floating .form-control:focus {
    /* Pure white background to contrast with the blue focus ring */
    background-color: #ffffff !important;
    
    /* Using box-shadow instead of border prevents layout shifts */
    box-shadow: 0 0 0 2px var(--primary), 0 8px 16px rgba(10, 88, 202, 0.15) !important;
    
    /* Slight lift to make the active field pop out to the user */
    transform: translateY(-2px);
}