/* 极光云验证 — 登录页 v2 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 96px 20px 48px;
    background: linear-gradient(180deg, #FFFFFF 0%, #EEF2F8 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before,
.login-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.login-page::before {
    top: -160px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.16) 0%, transparent 70%);
}

.login-page::after {
    bottom: -120px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(94, 92, 230, 0.12) 0%, transparent 70%);
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    padding: 40px 36px 32px;
    animation: loginSlideUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) both;
}

@keyframes loginSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-back {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-body, #6E6E73);
    background: rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.login-back:hover {
    background: rgba(0, 113, 227, 0.1);
    color: var(--accent, #0071E3);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-header img.logo {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #0071E3 0%, #5E5CE6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 0.8125rem;
    color: var(--text-muted, #999);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.login-header p img {
    border-radius: 50%;
}

.login-card .layui-form-item {
    margin-bottom: 16px;
    position: relative;
}

.login-card .layui-input {
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    height: 48px !important;
    padding: 0 16px 0 44px !important;
    font-size: 0.9375rem !important;
    background: #F5F5F7 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.login-card .layui-input:focus {
    border-color: #0071E3 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1) !important;
}

.login-card .layadmin-user-login-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #AEAEB2;
    z-index: 2;
}

.login-card .layui-btn-fluid {
    height: 48px;
    line-height: 48px;
    border-radius: 12px !important;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #0071E3 0%, #5E5CE6 100%) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-card .layui-btn-fluid:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 113, 227, 0.35);
}

.login-card .layui-btn-primary {
    border-radius: 12px !important;
    height: 48px;
    line-height: 48px;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
    background: #F5F5F7 !important;
    color: var(--text-primary, #1D1D1F) !important;
}

.login-card .layadmin-user-login-other {
    margin-top: 20px;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted, #999);
}

.login-card .layadmin-user-login-other label {
    display: block;
    margin-bottom: 10px;
}

.login-card .LoginIcon {
    color: #0071E3;
    font-size: 22px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.login-card .LoginIcon:hover {
    color: #5E5CE6;
    transform: scale(1.1);
}

.login-card .layadmin-link {
    color: var(--accent, #0071E3) !important;
    margin: 0 8px;
    font-size: 0.8125rem;
}

.login-card .layadmin-link:hover {
    text-decoration: underline;
}

.login-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 24px;
    font-size: 0.75rem;
    color: var(--text-muted, #999);
}

.login-footer a {
    color: var(--accent, #0071E3);
}

.login-card .layadmin-user-login-codeimg {
    border-radius: 8px;
    cursor: pointer;
    height: 48px !important;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .login-card {
        padding: 32px 24px 24px;
    }
}
