/* 登录注册页面通用样式 */
.login-page,
.register-page {
    height: 500px;
    background: linear-gradient(135deg, #f0f7ff, #e9ecef);
    min-height: calc(100vh - 50px);
    padding: 60px 0;
    position: relative;
}

.login-page::before,
.register-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(24, 144, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(54, 207, 201, 0.1) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes backgroundShift {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(5deg);
    }
}

.login-box,
.register-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

/* 表单样式 */
.form-control {
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #007bff;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

/* 分割线样式 */
.divider {
    position: relative;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: #fff;
    padding: 0 15px;
    color: #666;
    position: relative;
    font-size: 14px;
}

/* 社交登录按钮 */
.social-login {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-login .btn {
    flex: 1;
    padding: 8px;
}

/* 验证码按钮 */
.btn-outline-primary {
    min-width: 120px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .login-box,
    .register-box {
        padding: 30px 20px;
    }

    .social-login {
        flex-direction: column;
    }

    .social-login .btn {
        width: 100%;
        margin-bottom: 10px;
    }
} 