*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: #f0f4fa;
    color: #1e293b;
}

.login-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    overflow: hidden;
}

/* 浅色现代背景 */
.login-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #f0f9ff 100%);
}

.login-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.login-bg-shape--1 {
    width: 480px;
    height: 480px;
    top: -120px;
    right: -80px;
    background: rgba(59, 130, 246, 0.18);
}

.login-bg-shape--2 {
    width: 360px;
    height: 360px;
    bottom: -80px;
    left: -60px;
    background: rgba(99, 102, 241, 0.12);
}

.login-center {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-card {
    width: 100%;
    padding: 48px 44px 40px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(15, 23, 42, 0.04),
        0 16px 48px rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.login-logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo img {
    max-width: 180px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.login-heading {
    text-align: center;
    margin-bottom: 36px;
}

.login-heading h1 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.login-heading p {
    display: inline-block;
    margin: 0;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #2563eb;
    letter-spacing: 0.12em;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 20px;
}

.login-form .field {
    margin-bottom: 22px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.login-form .input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-form .input::placeholder {
    color: #94a3b8;
}

.login-form .input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.login-btn {
    width: 100%;
    height: 48px;
    margin-top: 10px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.login-hint {
    margin: 28px 0 0;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
}

.login-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: #64748b;
}

.login-footer-sep {
    margin: 0 10px;
    opacity: 0.6;
}

@media screen and (max-width: 480px) {
    .login-page {
        padding: 32px 16px;
    }

    .login-card {
        padding: 36px 24px 32px;
        border-radius: 14px;
    }

    .login-heading h1 {
        font-size: 20px;
    }
}
