.login-container {
    min-height: calc(100vh - var(--nav-height) - var(--footer-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #f5f5f7;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border-radius: 18px;
    padding: 40px;
    box-shadow: var(--apple-shadow);
}

.login-box h1 {
    font-size: 27px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 32px;
    text-align: center;
}

.login-form .form-group,
.form-group {
    margin-bottom: 20px;
}

/* 输入框和按钮之间的间距 */
.form-group + .form-group {
    margin-top: 16px;
}

.login-form input,
.login-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 17px;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.login-form input:focus,
.login-input:focus {
    outline: none;
    border-color: var(--link-color);
    box-shadow: 0 0 0 4px rgba(0, 125, 250, 0.1);
}

.login-form input::placeholder,
.login-input::placeholder {
    color: #86868b;
}

.login-button {
    width: 100%;
    height: 50px;
    background: var(--link-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.login-button:hover {
    background: #0051d5;
}

.login-button:active {
    transform: scale(0.98);
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 14px;
}

.form-link {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.form-link:hover {
    opacity: 0.8;
}

@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-box h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }
} 

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color-secondary);
    transition: all var(--transition-base);
}

.step-label {
    font-size: 14px;
    color: var(--text-color-secondary);
    transition: color var(--transition-base);
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 500;
}

.step.completed .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-label {
    color: var(--primary-color);
}

/* 验证码输入组 */
.verification-code-group {
    margin-bottom: 8px;
}

/* 帮助文本 */
.help-text {
    font-size: 14px;
    color: var(--text-color-secondary);
    margin-top: 8px;
    margin-bottom: 16px;
}

/* 加载状态 */
.login-button.loading {
    position: relative;
    color: transparent;
}

.login-button.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
} 

.login-button:disabled {
    background-color: #999;
    cursor: not-allowed;
    opacity: 0.7;
} 

/* 注册账号入口样式 */
.register-prompt {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
    font-size: 15px;
    color: var(--text-color-secondary);
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
    transition: opacity 0.3s ease;
}

.register-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .register-prompt {
        margin-top: 20px;
        padding-top: 16px;
        font-size: 14px;
    }
} 

/* 验证码帮助链接 */
.verification-help {
    margin-top: 8px;
    text-align: right;
    font-size: 13px;
}

.verification-help a {
    color: var(--link-color, #0071e3);
    text-decoration: none;
    transition: color 0.2s ease;
}

.verification-help a:hover {
    color: #0077ed;
    text-decoration: underline;
} 