/* ===== 登录/注册页面共享样式 ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
/* 动态背景光晕 */
.bg-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    opacity: 0.55;
    z-index: 0;
    max-width: 90vw;
    max-height: 90vw;
}
.blob-1 { width: 480px; height: 480px; background: #dbeafe; top: -120px; left: -120px; }
.blob-2 { width: 520px; height: 520px; background: #e0e7ff; bottom: -160px; right: -140px; }
.blob-3 { width: 360px; height: 360px; background: #f0f9ff; top: 40%; left: 50%; transform: translate(-50%, -50%); opacity: 0.35; }
/* 登录卡片 */
.login-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 80px rgba(30, 64, 175, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
/* 图标光环 */
.icon-ring { position: relative; }
.icon-ring::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(99, 102, 241, 0.25));
    z-index: -1;
    filter: blur(14px);
}
/* 输入框 */
.input-large { transition: all 0.25s ease; }
.input-large:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18), 0 10px 25px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}
/* 主按钮 */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    transition: all 0.3s ease;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(79, 70, 229, 0.45);
}
.btn-primary:active { transform: translateY(0); }
/* 错误提示抖动 */
.alert-error { animation: shake 0.4s ease-in-out; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}
/* 验证码框（注册页） */
.captcha-box {
    background: linear-gradient(135deg, #eff6ff, #eef2ff);
    border: 2px solid #dbeafe;
    letter-spacing: 4px;
    user-select: none;
}

/* ===== 登录页移动端适配 ===== */
/* 手机（<768px）：直接隐藏地球和左侧标题区，只显示登录卡片 */
@media (max-width: 767px) {
    .globe-wrap { display: none !important; }
    .login-hero { display: none !important; }
    body { padding: 16px !important; }
}

/* 桌面端（>=768px）：保持原布局 */
@media (min-width: 768px) {
    .login-title { font-size: 42px; }
    .login-subtitle { font-size: 24px; }
    .login-desc { font-size: 14px; line-height: 22px; }
    .globe-wrap { width: 500px !important; height: 500px !important; margin-top: 180px !important; }
    .login-hero { position: absolute !important; top: -10px !important; left: 0 !important; text-align: left !important; }
    .login-hero .login-desc { display: block; }
}