/* 修改手机号页面样式 */

.main-content {
    padding-top: 56px;
    padding-bottom: 20px;
    min-height: 100vh;
}

.change-phone-container {
    padding: 16px;
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    padding: 20px 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #42A5F5, #64B5F6);
    color: white;
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.4);
}

.step.completed .step-number {
    background: #4CAF50;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #999;
    transition: color 0.3s ease;
}

.step.active .step-label {
    color: #42A5F5;
    font-weight: 600;
}

.step.completed .step-label {
    color: #4CAF50;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 16px;
    margin-bottom: 28px;
}

/* 步骤内容 */
.step-content {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 24px;
}

/* 表单样式 */
.change-form {
    margin-top: 20px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 20px;
    color: #999;
}

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 44px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background: #f8f9fa;
}

.form-input:focus {
    border-color: #42A5F5;
    background: white;
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

.form-input:read-only {
    background: #f0f0f0;
    color: #666;
}

.code-wrapper {
    position: relative;
}

.code-wrapper .form-input {
    padding-right: 110px;
}

.send-code-btn {
    position: absolute;
    right: 8px;
    height: 32px;
    padding: 0 16px;
    background: linear-gradient(135deg, #42A5F5, #64B5F6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.send-code-btn:hover {
    box-shadow: 0 2px 8px rgba(66, 165, 245, 0.4);
}

.send-code-btn:active {
    transform: scale(0.95);
}

.send-code-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #42A5F5, #64B5F6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 24px;
}

.submit-btn:hover {
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* 提示框 */
.tips-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    border-left: 4px solid #42A5F5;
}

.tips-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #42A5F5;
    margin-bottom: 12px;
}

.tips-title .material-symbols-outlined {
    font-size: 18px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    padding-left: 16px;
    position: relative;
}

.tips-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #42A5F5;
    font-weight: bold;
}

/* 响应式 */
@media (max-width: 375px) {
    .step-indicator {
        padding: 16px 0;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .step-line {
        width: 40px;
        margin: 0 12px;
        margin-bottom: 24px;
    }
    
    .step-content {
        padding: 20px;
    }
}

