.login-page {
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    color: #17211d;
    background: #f5f7f6;
}

.login-card {
    border: 1px solid #dfe7e3;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 18px 46px rgba(23, 33, 29, 0.12);
}

.captcha-img {
    height: 46px;
    min-width: 120px;
    object-fit: cover;
    border: 1px solid #dfe7e3;
    border-radius: 7px;
    cursor: pointer;
}

.admin-login-page {
    position: relative;
    background:
        linear-gradient(120deg, rgba(19, 36, 31, 0.94), rgba(25, 52, 45, 0.92)),
        #13241f;
}

.admin-login-bg {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.06) 100%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 96px);
}

.admin-login-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.login-logo {
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 8px;
    margin: 0 auto;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #176f5d, #315a8c);
    box-shadow: 0 12px 24px rgba(23, 111, 93, 0.24);
}

.login-card .form-control {
    min-height: 42px;
    border-color: #cbd7d2;
    border-radius: 7px;
}

.login-card .form-control:focus {
    border-color: #176f5d;
    box-shadow: 0 0 0 0.14rem rgba(23, 111, 93, 0.14);
}

.login-card .btn-primary {
    min-height: 42px;
    border-radius: 7px;
    background: #176f5d;
    border-color: #176f5d;
    font-weight: 750;
}

.login-card .btn-primary:hover,
.login-card .btn-primary:focus {
    background: #105345;
    border-color: #105345;
}

.merchant-login-page {
    background: #f5f7f6;
}

.merchant-login-left {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(237, 245, 242, 0.92)),
        #edf5f2;
    border-right: 1px solid #dfe7e3;
    align-items: center;
    justify-content: center;
}

.merchant-hero-content {
    max-width: 500px;
    padding: 28px;
}

.merchant-hero-content h1,
.merchant-hero-content h2 {
    color: #13241f;
    font-weight: 800;
    letter-spacing: 0;
}

.merchant-login-right {
    background: #f5f7f6;
}

.merchant-login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid #dfe7e3;
    box-shadow: 0 16px 38px rgba(23, 33, 29, 0.11);
}

.login-shake {
    animation: loginShake 0.35s ease-in-out;
}

@keyframes loginShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
