/* 顶部导航栏样式 */
.top-header {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content .logo img {
    height: 32px;
}

.language-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.language-switch:hover {
    background: rgba(0, 0, 0, 0.05);
}

.globe-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.language-switch span {
    color: #1a1a1a;
    margin: 0 8px;
}

.arrow-icon {
    width: 12px;
    height: 12px;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
}

/* 主容器样式 */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    padding-top: 84px;
}

.login-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Banner 区域样式 */
.login-banner {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/public/sfymall/plugin/pcstore/static/image/bg.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 40px;
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 400px;
}

.banner-content h1 {
    font-size: 36px;
    margin-bottom: 30px;
    color: white;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin: 15px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: "✓";
    color: #ff4d4f;
    margin-right: 10px;
    font-weight: bold;
}

/* 表单区域样式 */
.login-form {
    flex: 1;
    padding: 40px;
    max-width: 480px;
}

h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.subtitle {
    color: #8c8c8c;
    margin-bottom: 30px;
}

.form-item {
    margin-bottom: 20px;
}

/* 输入框样式 */
input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s;
}

input:focus {
    border-color: #ff4d4f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

/* 密码输入框样式 */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #8c8c8c;
}

/* 验证码输入组样式 */
.verification-group {
    display: flex;
    gap: 12px;
}

.verification-group input {
    flex: 1;
}

.send-code-btn {
    padding: 0 20px;
    background: #fff;
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.send-code-btn:hover {
    background: #fff1f0;
}

/* 手机号输入组样式 */
.phone-group {
    display: flex;
    gap: 12px;
}

.country-code {
    display: flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 90px;
}

.country-code:hover {
    border-color: #ff4d4f;
}

.country-code span {
    margin-right: 8px;
}

/* 复选框样式 */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.agreement-text {
    font-size: 14px;
    color: #666;
}

.agreement-text a {
    color: #ff4d4f;
    text-decoration: none;
}

.agreement-text a:hover {
    color: #ff7875;
}

/* 按钮样式 */
.login-button {
    width: 100%;
    padding: 12px;
    background: #ff4d4f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.login-button:hover {
    background: #ff7875;
}

/* 链接样式 */
.text-right {
    text-align: right;
}

.forgot-password,
.back-to-login,
.login-link {
    color: #ff4d4f;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover,
.back-to-login:hover,
.login-link:hover {
    color: #ff7875;
}

/* 表单页脚 */
.form-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .header-content {
        padding: 0 16px;
    }

    .login-container {
        flex-direction: column;
    }
    
    .login-banner {
        padding: 20px;
        min-height: 300px;
    }
    
    .login-form {
        padding: 20px;
    }
} 