.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #fff7ef, #f5f9ff 50%, #f3f5ff 80%);
    padding: 32px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(27, 60, 92, 0.16);
    padding: 36px 32px 40px;
    text-align: center;
}

.brand {
    margin-bottom: 12px;
}

.brand-logo {
    width: 160px;
    height: auto;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #397fbf;
    margin: 8px 0 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #354052;
    margin-bottom: 8px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #f2f7ff;
    border: 1px solid #dbe8ff;
    border-radius: 10px;
    padding: 10px 12px;
    gap: 10px;
}

.input-wrapper input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 15px;
    color: #233247;
}

.input-wrapper input::placeholder {
    color: #9bb3d6;
}

.password-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #9bb3d6;
    font-size: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    transition: color 0.15s ease;
}

.password-toggle-btn:hover {
    color: #397fbf;
}

.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.forgot-link {
    color: #d94d4d;
    font-weight: 600;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.forgot-text {
    color: #9ca3af;
    font-size: 13px;
}

.login-btn {
    background: #3f8dd1;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.1s ease;
}

.login-btn:hover {
    box-shadow: 0 6px 18px rgba(63, 141, 209, 0.3);
}

.login-btn:active {
    transform: translateY(1px);
}

.error-text {
    color: #d94d4d;
    font-weight: 600;
    min-height: 20px;
    margin: 4px 0 0;
    text-align: center;
}

@media (max-width: 520px) {
    .login-card {
        padding: 28px 22px 32px;
    }

    .login-title {
        font-size: 24px;
    }
}
