html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

    body.login-page {
        background: #d2d6de;
        font-family: 'Lato', Tahoma, Arial, sans-serif;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
}

/* ── LOGIN BOX ── */
.login-box {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    padding: 32px 36px 28px;
    width: 100%;
    max-width: 360px;
    animation: fadeInUp 0.35s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── LOGO ── */
.login-logo {
    text-align: center;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* ── BOX BODY ── */
.login-box-body {
    border-radius: 3px;
}

.login-box-msg {
    text-align: center;
    color: #777;
    font-size: 13.5px;
    margin-bottom: 20px;
    margin-top: 4px;
}

/* ── ERROR BOX ── */
.login-error {
    display: none;
    background: #fff2f2;
    border: 1px solid #f5c6c6;
    color: #c0392b;
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 12px;
    margin-bottom: 12px;
    text-align: center;
}

    .login-error:not(:empty) {
        display: block;
    }

/* ── INPUTS ── */
.input-wrap {
    position: relative;
    margin-bottom: 13px;
}

    .input-wrap .field-icon {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
        font-size: 15px;
        pointer-events: none;
        z-index: 1;
    }

    .input-wrap input {
        width: 100%;
        padding: 9px 36px 9px 12px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13.5px;
        font-family: inherit;
        color: #333;
        background: #f9f9f9;
        outline: none;
        box-sizing: border-box;
        transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    }

        .input-wrap input:focus {
            border-color: #3c8dbc;
            box-shadow: 0 0 0 2px rgba(60,141,188,0.14);
            background: #fff;
        }

/* ── BUTTON ROW ── */
.btn-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
}

.back-link {
    color: #3c8dbc;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

    .back-link:hover {
        color: #2575a5;
        text-decoration: underline;
    }

#btnSubmit {
    height: 36px;
    padding: 0 22px;
    background: #3c8dbc;
    color: #fff;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13.5px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: background 0.2s, box-shadow 0.2s;
}

    #btnSubmit:hover {
        background: #2e7cb3;
        box-shadow: 0 2px 8px rgba(60,141,188,0.3);
    }

    #btnSubmit:active {
        background: #2575a5;
    }

    #btnSubmit:disabled {
        background: #88b8d8;
        cursor: not-allowed;
    }
