* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    background: white;
    z-index: 999;
    /* border-radius: 16px; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    padding: 30px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    color: #6d7175;
}

.login-header h1 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    color: #999;
    font-size: 14px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: #4a90e2;
    outline: none;
}

.forgot-password {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-password a {
    color: #4a90e2;
    text-decoration: none;
    font-size: 14px;
}

.login-button {
    width: 100%;
    padding: 7px;
    height: 38px !important;
    border: none;
    border-radius: 5px !important;
    background-color: #e50012 !important;
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.social-login {
    margin-top: 30px;
    text-align: center;
}

.social-login p {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
}

.social-login p::before,
.social-login p::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e0e0e0;
}

.social-login p::before {
    left: 0;
}

.social-login p::after {
    right: 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.3s;
}

.social-icon:hover {
    background: #e0e0e0;
}

.register-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: url(../images/bg.png) no-repeat;
    background-size: cover; /* 确保背景覆盖整个区域 */
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 雪花效果 */
.snowflake {
    position: absolute;
    top: 0;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
    z-index: 1;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 灯笼效果 */
.lantern {
    position: absolute;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #ff3e3e 0%, #ff0000 100%);
    border-radius: 50% 50% 20% 20%;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    animation: sway 3s ease-in-out infinite;
    z-index: 1;
}

.lantern::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: #d4af37;
    border-radius: 5px;
}

.lantern::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #d4af37;
}

.lantern-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.8);
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

/* 登录卡片样式 */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 2px solid #d4af37;
    box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.login-card:hover {
    box-shadow: 0 12px 40px 0 rgba(255, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* 输入框样式 */
.form-input {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.form-input:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    outline: none;
}

/* 烟花效果 */
.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: explode 2s ease-out forwards;
    z-index: 1;
}

@keyframes explode {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(5);
        opacity: 0;
    }
}

/* 节日装饰 */
.new-year-decoration {
    position: absolute;
    color: #d4af37;
    font-size: 2rem;
    z-index: 1;
    opacity: 0.8;
}

/* 全局样式 */
.content {
    height: 95vh;
    display: flex;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: #f5f5f5; */
    padding: 40rpx;
}

/* 登录容器 */
.loginBox {
    width: 100%;
    max-width: 600rpx;
    background: white;
    border-radius: 15rpx;
    padding: 60rpx 60rpx;
    box-sizing: border-box;
}

/* Logo区域 */
.logo-area {
    text-align: center;
    margin-bottom: 60rpx;
}

.logo {
    font-size: 60rpx;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 20rpx;
    letter-spacing: 4rpx;
}

.welcome-text {
    font-size: 28rpx;
    color: #666666;
}

/* 输入区域 */
.input-area {
    margin-bottom: 30rpx;
}

.input-item {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 14px;
    color: #333333;
    margin-bottom: 5px;
    font-weight: 500;
}

.input-wrapper {
    display: flex;
    align-items: center;
    font-size: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    height: 35px;
    background-color: #FAFAFA;
}

.input-wrapper:focus-within {
    background-color: #FAFAFA;
    /* border-color: #429dfa; */
    outline: none;
}

.input-icon {
    font-size: 14px;
    /* margin-right: 16rpx; */
    opacity: 0.7;
    width: 26px;
    padding: 10px;
    text-align: center;
}

.input-text {
    flex: 1;
    font-size: 28rpx;
    color: #333333;
    padding: 10px;
    border: none;
    /* border-radius: 10px; */
    background-color: #FAFAFA;
    height: 100%;
}

.input-text:focus {
    outline: none;
    flex: 1;
    font-size: 28rpx;
    color: #333333;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: #FAFAFA;
    height: 100%;
}

/* 登录选项 */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40rpx;
}

.remember-label {
    display: flex;
    align-items: center;
    font-size: 26rpx;
    color: #666666;
    cursor: pointer;
}

.password-toggle {
    font-size: 32rpx;
    cursor: pointer;
    color: #999999;
    padding: 0 10px;
    touch-action: manipulation;
}

.remember-checkbox {
    transform: scale(0.8);
    margin-right: 8rpx;
}

.forget-password {
    font-size: 26rpx;
    color: red;
    cursor: pointer;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 70rpx;
    line-height: 70rpx;
    background-color: #e50012;
    color: white;
    font-size: 32rpx;
    border: none;
    border-radius: 6rpx;
    margin-bottom: 30rpx;
    transition: all 0.2s;
    font-weight: 500;
}

.login-btn:active {
    background-color: #c70010;
}

.login-btn:disabled {
    background-color: #cccccc;
}

/* 注册区域 */
.register-area {
    text-align: center;
    font-size: 26rpx;
    color: #666666;
    margin-bottom: 20rpx;
}

.register-link {
    color: red;
    margin-left: 10rpx;
    margin-top: 20rpx;
    cursor: pointer;
}

/* 版权信息 */
.copyright {
    font-size: 24rpx;
    color: #999999;
    text-align: center;
    margin-top: 500rpx;
    letter-spacing: 1rpx;
}

.footer-container {
    bottom: 0;
    height: 50px;
    z-index: 800;
    left: 0;
    right: 0;
    width: 100%;
    clear: both;
    margin: auto;
    position: fixed;
    text-align: center;
    font-size: 14px;
    color: white;
}