* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
}

body {
    background: linear-gradient(135deg, #0b1f3a, #123b69);
    min-height: 100vh;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.login-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.login-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 18px;
}

.login-card h1 {
    font-size: 20px;
    color: #0b1f3a;
    margin-bottom: 4px;
}

.subtitle {
    color: #5f6b7a;
    font-size: 12px;
    margin-bottom: 16px;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: #1f2d3d;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d4dbe3;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: #123b69;
    box-shadow: 0 0 0 3px rgba(18, 59, 105, 0.12);
}

.password-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrap input {
    width: 100%;
    padding-right: 60px;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #123b69;
    font-weight: 700;
    cursor: pointer;
    font-size: 12px;
    padding: 6px 8px;
    border-radius: 6px;
    user-select: none;
    z-index: 2;
    transition: color 0.15s ease, background 0.15s ease;
}

.toggle-password:hover {
    color: #2563eb;
    background: rgba(18, 59, 105, 0.06);
}

.btn-login {
    width: 100%;
    background: #123b69;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    margin-top: 8px;
}

.btn-login:hover {
    background: #0f3156;
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-message {
    min-height: 22px;
    margin-top: 14px;
    font-size: 0.92rem;
    text-align: center;
}

.login-message.error {
    color: #c62828;
}

.login-message.success {
    color: #2e7d32;
}

.login-footer {
    margin-top: 12px;
    font-size: 12px;
    color: #8c98a5;
}