/* 现代化登录界面样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 亮色主题 - 与主界面统一的颜色方案 */
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --secondary-gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --accent-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --background-primary: #f8fafc;
    --background-secondary: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #555;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-large: 0 20px 25px rgba(0, 0, 0, 0.1);

    --orb-1: rgba(59, 130, 246, 0.4);
    --orb-2: rgba(37, 99, 235, 0.4);
    --orb-3: rgba(96, 165, 250, 0.3);
    --orb-4: rgba(16, 185, 129, 0.3);
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 粒子容器层 */
.particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* ========== 暗黑模式重新设计 - 保留所有效果 ========== */

/* 暗黑模式配色变量 - 现代深色主题 */
.dark-theme {
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);

    --background-primary: #0f172a;
    --background-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #334155;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-large: 0 20px 25px rgba(0, 0, 0, 0.4);

    --orb-1: rgba(99, 102, 241, 0.3);
    --orb-2: rgba(139, 92, 246, 0.25);
    --orb-3: rgba(6, 182, 212, 0.2);
    --orb-4: rgba(16, 185, 129, 0.2);
}

/* 暗黑模式背景 - 深色渐变 */
body.dark-theme {
    background: var(--background-primary) !important;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%) !important;
    color: var(--text-primary) !important;
}

/* 暗黑模式容器 - 保持原有结构 */
body.dark-theme .login-container {
    background: rgba(30, 41, 59, 0.3) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 暗黑模式主内容区 - 保持动画效果 */
body.dark-theme .main-content {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 暗黑模式登录卡片 - 保持玻璃效果 */
body.dark-theme .login-card {
    background: rgba(51, 65, 85, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
    transition: all 0.3s ease !important;
}

body.dark-theme .login-card:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

/* 暗黑模式背景动画 - 增强效果 */
body.dark-theme .background-animation {
    opacity: 0.8 !important;
}

body.dark-theme .gradient-orb {
    filter: brightness(1.5) saturate(1.2) blur(80px) !important;
    opacity: 0.7 !important;
}

body.dark-theme .orb-1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(79, 70, 229, 0.2) 50%, transparent 100%) !important;
    box-shadow: 0 0 120px rgba(99, 102, 241, 0.3) !important;
}

body.dark-theme .orb-2 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, rgba(124, 58, 237, 0.2) 50%, transparent 100%) !important;
    box-shadow: 0 0 120px rgba(139, 92, 246, 0.25) !important;
}

body.dark-theme .orb-3 {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.15) 50%, transparent 100%) !important;
    box-shadow: 0 0 120px rgba(6, 182, 212, 0.2) !important;
}

body.dark-theme .orb-4 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.15) 50%, transparent 100%) !important;
    box-shadow: 0 0 120px rgba(16, 185, 129, 0.2) !important;
}

body.dark-theme .grid-overlay {
    background:
        linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px) !important;
    background-size: 50px 50px !important;
    opacity: 0.4 !important;
    animation: gridMove 30s linear infinite !important;
}

/* 暗黑模式UI元素样式 - 保持所有效果 */

/* 特性卡片 */
body.dark-theme .features-section .feature-card {
    background: rgba(51, 65, 85, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

body.dark-theme .features-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient) !important;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

body.dark-theme .features-section .feature-card:hover {
    background: rgba(51, 65, 85, 0.85) !important;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: translateY(-3px) translateX(2px) !important;
}

body.dark-theme .features-section .feature-card:hover::before {
    transform: scaleY(1);
}

body.dark-theme .features-section .feature-card h3 {
    color: var(--text-primary) !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

body.dark-theme .features-section .feature-card p {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
}

body.dark-theme .features-section .feature-icon {
    background: var(--primary-gradient) !important;
    box-shadow:
        0 6px 20px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* 品牌标识和表单 */
body.dark-theme .brand-title {
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3)) !important;
}

body.dark-theme .brand-icon {
    background: var(--primary-gradient) !important;
    box-shadow:
        0 10px 25px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

body.dark-theme .brand-subtitle,
body.dark-theme .form-header h2,
body.dark-theme .input-group label {
    color: var(--text-primary) !important;
}

body.dark-theme .form-header p {
    color: var(--text-secondary) !important;
}

/* 输入框样式 */
body.dark-theme .input-wrapper input {
    background: rgba(51, 65, 85, 0.6) !important;
    border: 2px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    backdrop-filter: blur(10px) !important;
}

body.dark-theme .input-wrapper input:focus {
    border-color: #6366f1 !important;
    background: rgba(51, 65, 85, 0.8) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
}

body.dark-theme .input-wrapper input::placeholder {
    color: var(--text-muted) !important;
}

body.dark-theme .input-icon {
    color: var(--text-muted) !important;
}

/* 按钮样式 */
body.dark-theme .login-button {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

body.dark-theme .login-button:hover {
    background: var(--secondary-gradient) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4) !important;
}

body.dark-theme .login-button:active {
    transform: translateY(0) !important;
}

/* 主题切换按钮 */
body.dark-theme .theme-toggle {
    background: rgba(51, 65, 85, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text-primary) !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
}

body.dark-theme .theme-toggle:hover {
    background: rgba(51, 65, 85, 0.95) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    transform: scale(1.1) !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

body.dark-theme #theme-toggle i {
    color: var(--text-primary) !important;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.3)) !important;
}

/* 复选框和其他表单元素 */
body.dark-theme .remember-me {
    color: var(--text-secondary) !important;
}

body.dark-theme .checkmark {
    border-color: var(--border-color) !important;
    background-color: rgba(51, 65, 85, 0.7) !important;
}

body.dark-theme .remember-me input:checked + .checkmark {
    background: var(--primary-gradient) !important;
    border-color: #6366f1 !important;
}

body.dark-theme .toggle-password {
    color: var(--text-muted) !important;
}

body.dark-theme .toggle-password:hover {
    color: var(--text-secondary) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

/* 表单底部 */
body.dark-theme .form-footer {
    border-top: 1px solid var(--border-color) !important;
}

body.dark-theme .form-footer p {
    color: var(--text-muted) !important;
}

/* 暗色主题下的备案号样式 */
body.dark-theme .icp-info a {
    color: var(--text-muted) !important;
}

body.dark-theme .icp-info a:hover {
    color: var(--text-secondary) !important;
}

/* Toast和消息框 */
body.dark-theme .toast-message {
    background: rgba(51, 65, 85, 0.95) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-primary) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(15px) !important;
}

body.dark-theme .message-box {
    background: rgba(51, 65, 85, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
}

body.dark-theme .message-title {
    color: var(--text-primary) !important;
}

body.dark-theme .message-text {
    color: var(--text-secondary) !important;
}

body.dark-theme .message-buttons {
    border-top-color: var(--border-color) !important;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* 确保布局稳定性 - 防止移位 */
body.dark-theme .login-container,
body.dark-theme .main-content,
body.dark-theme .login-card {
    /* 强制重置可能导致移位的属性 */
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    offset: none !important;
    /* 确保正常的文档流 */
    position: relative !important;
    float: none !important;
    clear: none !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    body.dark-theme .login-container {
        background: rgba(15, 23, 42, 0.95) !important;
    }

    body.dark-theme .login-card {
        background: rgba(51, 65, 85, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    body.dark-theme .main-content {
        gap: 40px !important;
        flex-direction: column !important;
    }
}


/* 亮色主题默认样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-primary);
    background-image:
        linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    background-size: 100% 100%;
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* 背景动画层 */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--orb-1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--orb-2);
    top: 20%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--orb-3);
    bottom: -100px;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    background: var(--orb-4);
    top: 60%;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(-30px, -20px) scale(1.05); }
}



/* 主容器 */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 主要内容区域 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
    position: relative;
    transform: none !important;
    transition: none !important;
}

/* 登录卡片 */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
    padding: 40px;
    width: 100%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    animation: slideInUp 0.6s ease-out;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    transform: none !important;
    margin: 0;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

/* 品牌标识区域 - 左侧 */
.brand-header {
    flex: 1;
    text-align: left;
    margin-bottom: 30px;
}

/* 表单容器 - 右侧 */
.form-container {
    flex: 1;
    width: 100%;
    max-width: 400px;
}

/* 左侧内容区域 */
.left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 右侧登录区域 */
.right-content {
    flex: 0 0 420px;
}

/* 特性展示区域 - 垂直排列 */
.features-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    align-self: center;
}

.features-section .feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    animation: slideInUp 0.6s ease-out;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.08);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.features-section .feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.features-section .feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.features-section .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.features-section .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.features-section .feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.features-section .feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}


/* 侧边装饰区域 */
.side-decoration {
    flex: 0 0 320px;
    max-width: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    animation: fadeInSide 1s ease-out 0.3s forwards;
}

@keyframes fadeInSide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.right-side {
    animation: fadeInSide 1s ease-out 0.5s forwards;
}

.right-side {
    animation-name: fadeInRight;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 特性展示卡片 */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* 装饰形状 */
.decorative-shapes {
    position: relative;
    height: 200px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    top: 20px;
    left: 30px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--secondary-gradient);
    top: 80px;
    right: 40px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--success-gradient);
    bottom: 30px;
    left: 60px;
    animation: float 7s ease-in-out infinite;
}

/* 装饰形状 */
.decorative-shapes {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: var(--accent-gradient);
    top: 50px;
    left: 50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 90px;
    height: 90px;
    background: var(--secondary-gradient);
    top: 150px;
    right: 60px;
    animation: float 8s ease-in-out infinite reverse;
}

.shape-3 {
    width: 70px;
    height: 70px;
    background: var(--success-gradient);
    bottom: 80px;
    left: 80px;
    animation: float 7s ease-in-out infinite;
}

/* 居中登录卡片 - 移动端布局 */
.login-card-mobile {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 品牌标识区域 */
.brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    animation: pulse 3s infinite;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* 表单容器 */
.form-container {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 20px;
}

.form-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 表单样式 */
.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--background-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

/* Toast消息样式 - 匹配JS中的类名 */
.toast-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.3s ease forwards;
    z-index: 9999;
    max-width: 320px;
}

.toast-success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.toast-icon {
    font-size: 16px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-wrapper input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-muted);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.05);
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.remember-me input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remember-me input:checked + .checkmark {
    background: var(--primary-gradient);
    border-color: #3b82f6;
}

.remember-me input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* 按钮样式 */
.login-button {
    width: 100%;
    position: relative;
    padding: 16px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 24px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large);
}

.login-button:active {
    transform: translateY(0);
}

.button-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-button.loading .button-text {
    opacity: 0;
}

.login-button.loading .button-loader {
    display: block;
}


/* 表单底部 */
.form-footer {
    text-align: center;
    margin-top: 32px;
}

.form-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* 备案号样式 */
.icp-info {
    margin-top: 8px;
    text-align: center;
}

.icp-info a {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--background-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-large);
}

/* 消息框样式 */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.message-box {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-content {
    padding: 30px 25px 20px;
    text-align: center;
}

.message-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.message-icon.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.message-icon.error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.message-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.message-text {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.5;
}

.message-buttons {
    padding: 20px 25px 25px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.message-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.confirm-btn.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.confirm-btn.success:hover {
    background: linear-gradient(135deg, #27ae60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.confirm-btn.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.confirm-btn.error:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 深色主题下的消息框样式 */
.dark-theme .message-box {
    background: #1e293b;
}

.dark-theme .message-title {
    color: #f1f5f9;
}

.dark-theme .message-text {
    color: #cbd5e1;
}

.dark-theme .message-buttons {
    border-top-color: #334155;
}

/* 抖动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* 输入框图标对齐优化 */
.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    z-index: 2;
    width: 20px;
    text-align: center;
    pointer-events: none; /* 确保图标不会干扰输入 */
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* 输入框基础样式优化 */
.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--background-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
    height: 56px; /* 统一高度 */
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* 深色主题下的输入框优化 */
.dark-theme .input-wrapper input {
    background: rgba(31, 41, 55, 0.7);
    border-color: var(--dark-border);
    color: var(--dark-text-primary);
}

.dark-theme .input-wrapper input:focus {
    border-color: var(--dark-accent);
    background: rgba(31, 41, 55, 0.9);
    box-shadow: 0 0 0 3px var(--dark-primary-glow);
}

.dark-theme .input-wrapper input::placeholder {
    color: var(--dark-text-muted);
}

.dark-theme .input-icon {
    color: var(--dark-text-muted);
}

.dark-theme .input-group label {
    color: var(--dark-text-secondary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .right-content {
        flex: 1;
        max-width: 100%;
    }
    
    .form-container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .login-card {
        max-width: 700px;
        gap: 40px;
        padding: 30px;
    }
}

/* 微信聊天窗口优化 */
@media screen and (max-width: 768px) {
    /* 检测是否为微信内置浏览器 */
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        /* 设置最小高度避免内容被裁切 */
        min-height: 100vh;
        min-height: -webkit-fill-available;
    }

    /* 为微信浏览器特别优化容器高度 */
    .login-container {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        overflow-y: auto;
        padding: 15px 12px;
        padding-top: 50px;
        padding-bottom: 80px; /* 为微信底部导航留空间 */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    /* 确保主内容可以完整显示 */
    .main-content {
        width: 100%;
        max-width: 100%;
        flex: none;
        display: block;
        margin: 0;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 24px 18px;
        box-sizing: border-box;
        /* 确保卡片不会超出视口 */
        max-height: none;
        overflow: visible;
    }

    /* 特性展示区域在微信中简化显示 */
    .features-section {
        margin-top: 20px;
        gap: 12px;
    }

    .features-section .feature-card {
        padding: 16px 20px;
        margin: 0;
    }

    /* 品牌头部优化 */
    .brand-header {
        margin-bottom: 25px;
        text-align: center;
    }

    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .brand-title {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }

    .brand-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
    }

    /* 表单优化 */
    .form-container {
        width: 100%;
        padding: 0;
    }

    .form-header {
        margin-bottom: 20px;
    }

    .form-header h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    /* 输入框优化 */
    .input-group {
        margin-bottom: 16px;
    }

    .input-wrapper input {
        padding: 14px 16px 14px 44px;
        font-size: 16px !important; /* 防止iOS缩放 */
        min-height: 48px;
        border-radius: 10px;
    }

    .input-icon {
        left: 14px;
        font-size: 1rem;
    }

    .toggle-password {
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* 登录按钮优化 */
    .login-button {
        min-height: 48px;
        font-size: 1rem;
        padding: 14px 20px;
        margin-bottom: 20px;
    }

    /* 表单底部优化 */
    .form-footer {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .form-footer p {
        font-size: 0.8rem;
    }
    
    /* 移动端备案号样式 */
    .icp-info {
        margin-top: 6px;
    }
    
    .icp-info a {
        font-size: 0.75rem;
    }

    /* 主题切换按钮位置调整 */
    .theme-toggle {
        top: 15px;
        right: 15px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        z-index: 1001;
    }
}

/* 微信专用优化 - 通过User Agent检测 */
/* 这些样式会通过JavaScript动态应用 */
.wechat-optimized body {
    height: auto !important;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    overflow: auto;
}

.wechat-optimized .login-container {
    height: auto !important;
    min-height: calc(100vh - 50px);
    padding: 10px;
    padding-top: 30px;
    padding-bottom: 100px; /* 为微信底部UI留出更多空间 */
    overflow: visible;
}

.wechat-optimized .login-card {
    position: relative;
    transform: none !important;
    margin-top: 0;
    margin-bottom: 30px;
}

/* 微信中隐藏特性展示以节省空间 */
.wechat-optimized .features-section {
    display: none;
}

/* 微信中的表单间距优化 */
.wechat-optimized .input-group {
    margin-bottom: 14px;
}

.wechat-optimized .form-options {
    margin-bottom: 18px;
}

.wechat-optimized .login-button {
    margin-bottom: 16px;
}

.wechat-optimized .form-footer {
    margin-top: 16px;
    padding-bottom: 30px;
}

/* 确保Toast消息在微信中正常显示 */
.wechat-optimized .toast-message {
    position: fixed;
    top: 15px;
    left: 15px;
    right: 15px;
    max-width: calc(100% - 30px);
    z-index: 9999;
}

/* 键盘弹出时的样式优化 */
.keyboard-open .login-container {
    padding-bottom: 20px !important;
    min-height: auto !important;
}

.keyboard-open .login-card {
    margin-bottom: 10px !important;
}

.keyboard-open .features-section {
    display: none !important;
}

.keyboard-open .form-footer {
    margin-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 使用CSS变量支持动态视口高度 */
.wechat-optimized {
    height: calc(var(--vh, 1vh) * 100);
}

.wechat-optimized .login-container {
    min-height: calc(var(--vh, 1vh) * 100);
}

/* 小屏幕手机优化 - 480px以下 */
@media (max-width: 480px) {
    .login-container {
        padding: 10px;
        padding-top: 45px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .login-card {
        padding: 18px 14px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: 16px;
    }

    .brand-icon {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }

    .brand-title {
        font-size: 1.4rem;
    }

    .form-header h2 {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    /* 修复图标与输入框错位问题 */
    .input-wrapper {
        position: relative;
        width: 100%;
        margin-bottom: 4px;
    }
    
    .input-wrapper input {
        padding: 13px 35px 13px 42px;
        font-size: 16px; /* 防止iOS缩放 */
        width: 100%;
        box-sizing: border-box;
        min-height: 46px;
        border-radius: 10px;
    }

    .input-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.95rem;
        width: 18px;
        text-align: center;
        z-index: 2;
    }
    
    .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 2;
        font-size: 0.9rem;
    }

    /* 修复登录按钮显示不全问题 */
    .login-button {
        padding: 14px 18px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        min-height: 48px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-radius: 10px;
        margin-bottom: 18px;
    }
    
    /* 调整字体大小确保可读性 */
    .input-group label {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .remember-me {
        font-size: 0.85rem;
    }
    
    .form-footer p {
        font-size: 0.75rem;
    }
    
    /* 超小屏幕备案号样式 */
    .icp-info {
        margin-top: 5px;
    }
    
    .icp-info a {
        font-size: 0.7rem;
    }
    
    /* 优化表单选项布局 */
    .form-options {
        margin-bottom: 18px;
    }
    
    .input-group {
        margin-bottom: 12px;
    }
    
    /* 确保主内容区域不溢出 */
    .main-content {
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }
    
    .right-content {
        width: 100%;
        max-width: 100%;
    }
    
    .form-container {
        width: 100%;
        max-width: 100%;
    }
    
    /* 优化品牌头部间距 */
    .brand-header {
        margin-bottom: 25px;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
    }
}

/* 超小屏幕手机优化 - 375px以下 */
@media (max-width: 375px) {
    .login-container {
        padding: 8px;
        padding-top: 40px;
    }
    
    .login-card {
        padding: 16px 12px;
        border-radius: 14px;
    }
    
    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    
    .brand-title {
        font-size: 1.3rem;
    }
    
    .brand-subtitle {
        font-size: 0.85rem;
    }
    
    .form-header h2 {
        font-size: 1.1rem;
    }
    
    .input-wrapper input {
        padding: 12px 32px 12px 38px;
        font-size: 16px;
        min-height: 44px;
        border-radius: 8px;
    }
    
    .input-icon {
        left: 12px;
        font-size: 0.9rem;
        width: 16px;
    }
    
    .toggle-password {
        right: 8px;
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
    
    .login-button {
        padding: 13px 16px;
        font-size: 0.95rem;
        min-height: 44px;
        border-radius: 8px;
        margin-bottom: 16px;
    }
    
    .input-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
    }
    
    .remember-me {
        font-size: 0.8rem;
    }
    
    .form-footer p {
        font-size: 0.7rem;
    }
    
    .form-options {
        margin-bottom: 16px;
    }
    
    .input-group {
        margin-bottom: 10px;
    }
    
    .brand-header {
        margin-bottom: 20px;
    }
    
    .features-section {
        gap: 12px;
        margin-top: 20px;
    }
    
    .features-section .feature-card {
        padding: 16px;
        gap: 12px;
    }
    
    .features-section .feature-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .features-section .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .features-section .feature-card p {
        font-size: 0.8rem;
    }
}

/* 移动端输入框优化 - 防止虚拟键盘遮挡 */
@media (max-width: 768px) {
    /* 确保输入框获得焦点时页面可以滚动 */
    .login-container {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
    }
    
    /* 输入框获得焦点时的优化 */
    .input-wrapper input:focus {
        position: relative;
        z-index: 10;
        transform: scale(1.02); /* 轻微放大效果 */
    }
    
    /* 防止iOS自动缩放 */
    .input-wrapper input {
        font-size: 16px !important; /* iOS需要至少16px来防止缩放 */
    }
    
    /* 优化触摸目标大小 */
    .login-button,
    .toggle-password,
    .remember-me {
        min-height: 44px; /* iOS推荐的最小触摸目标 */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 确保按钮有足够的间距 */
    .login-button {
        margin-top: 8px;
    }
    
    /* 优化表单布局防止键盘遮挡 */
    .form-container {
        padding-bottom: 20px; /* 为键盘留出空间 */
    }
}

/* iPhone X及以上型号的底部安全区域 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .login-container {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .form-footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* 横屏模式优化 */
@media (max-width: 896px) and (orientation: landscape) {
    .login-container {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .login-card {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .features-section {
        display: none; /* 横屏时隐藏特性展示以节省空间 */
    }
    
    .brand-header {
        margin-bottom: 20px;
    }
    
    .input-group {
        margin-bottom: 10px;
    }
}

/* 动画增强 */

/* 针对iPhone SE等小屏幕设备的特殊优化 */
@media (max-width: 320px) {
    .login-card {
        padding: 15px;
        margin: 10px;
    }
    
    .brand-title {
        font-size: 20px;
    }
    
    .brand-subtitle {
        font-size: 12px;
    }
    
    .input-wrapper input {
        font-size: 14px;
        padding: 10px 35px 10px 40px;
    }
    
    .input-icon {
        font-size: 14px;
        left: 12px;
    }
    
    .login-button {
        font-size: 14px;
        padding: 10px;
    }
    
    .form-footer {
        font-size: 11px;
    }
    
    /* iPhone SE等小屏幕设备备案号样式 */
    .icp-info a {
        font-size: 10px;
    }
}

/* 针对iPad的优化 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .login-card {
        max-width: 400px;
    }
    
    .features-section {
        padding: 20px;
    }
    
    .feature-card {
        padding: 15px;
    }
}

/* 针对Android设备的优化 */
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .input-wrapper input {
        -webkit-appearance: none;
        border-radius: 0; /* 移除默认圆角 */
    }
    
    .login-button {
        -webkit-appearance: none;
        border-radius: 0;
    }
}

/* 针对三星Galaxy系列等设备的优化 */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
    .login-card {
        margin: 5px;
        padding: 20px 15px;
    }
    
    .brand-header {
        margin-bottom: 20px;
    }
    
    .input-group {
        margin-bottom: 12px;
    }
}

.login-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}