/* =======================================================
   Modern Login Styling - UNM Color Scheme
   File: login-modern.css
   ======================================================= */

/* Background Layout */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/unmjaya.jpeg') center/cover no-repeat fixed;
    padding: 20px;
}

.login-wrapper::before {
    content: "";
    background: #00000088;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

/* Card / Form Container */
.card {
    width: 380px;
    background: #fd711473;
    padding: 2rem 2.2rem;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.45);
    text-align: center;
    backdrop-filter: blur(6px);
}

/* Title */
.title {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
}

/* Input Field Container */
.field {
    display: flex;
    align-items: center;
    gap: .6em;
    background-color: #fff7ed;
    border-radius: 6px;
    padding: .8em 1em;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: .25s ease;
}

/* Input Icons */
.input-icon {
    width: 1.2rem;
    height: 1.2rem;
    fill: #ff833a;
    opacity: .9;
}

/* Text Input */
.input-field {
    background: none;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 100%;
    color: #4a2311;
    font-size: .95rem;
}

.input-field::placeholder {
    color: #4a2311;
}

/* Focus Styling */
.field:focus-within {
    border-color: #4a2311;
    background-color: #fff7ed;
}

/* Login Button */
.btn {
    margin-top: .8rem;
    width: 100%;
    background-color: #ff833a;
    border: none;
    border-radius: 6px;
    padding: .7em;
    text-transform: uppercase;
    font-weight: 600;
    color: #FFF;
    transition: .3s;
    font-size: .9rem;
    cursor: pointer;
}

.btn:hover {
    background-color: #ffffff;
    color: #ff833a;
}

/* Link */
.btn-link {
    display: inline-block;
    margin-top: .7rem;
    text-decoration: none;
    font-size: .8rem;
    color: #ffffff;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* Error Text */
.login-error {
    color: #ff4444;
    font-size: .76rem;
    margin: .25rem 0 -.4rem;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0,0,0,0.7);
}

/* Responsive */
@media (max-width: 450px) {
    .card {
        width: 100%;
        padding: 1.6rem;
    }
}
