/* =========================
   Base Page Layout
   ========================= */

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   Login Container
   ========================= */

.login-box {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =========================
   Header
   ========================= */

.login-box h2 {
    margin: 0 0 24px 0;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
}

/* =========================
   Form Elements
   ========================= */

label {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
}

input {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cfd6dc;
    border-radius: 4px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #1f6feb;
}

/* =========================
   Submit Button
   ========================= */

button {
    width: 100%;
    margin-top: 24px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #1f6feb;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #1a5fd1;
}

button:disabled {
    background-color: #9bbcf5;
    cursor: not-allowed;
}

/* =========================
   Status Messages
   ========================= */

#message {
    margin-top: 16px;
    font-size: 14px;
}

#message.error {
    color: #c62828;
}

#message.success {
    color: #2e7d32;
}

/* =========================
   Accessibility / Mobile
   ========================= */

@media (max-width: 480px) {
    .login-box {
        padding: 24px;
    }
}


.input-wrapper {
    position: relative;
}

.toggle-eye {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    margin-top: 6px;
    text-align: right;
}

.forgot-password a {
    font-size: 0.9em;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}
