/* 绑定手机号弹窗样式 */
.bind-phone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bind-phone-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bind-phone-modal-container {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bind-phone-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.bind-phone-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.bind-phone-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    transition: color 0.2s;
}

.bind-phone-close-btn:hover {
    color: #333;
}

.bind-phone-modal-body {
    padding: 24px;
}

.bind-phone-tip {
    color: #666;
    font-size: 14px;
    margin: 0 0 24px 0;
    text-align: center;
}

.bind-phone-form {
    width: 100%;
}

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

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

.bind-phone-form .form-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background: #fff;
    transition: all 0.3s;
    box-sizing: border-box;
}

.bind-phone-form .form-input:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.bind-phone-form .form-input::placeholder {
    color: #bfbfbf;
}

.verification-input-group {
    display: flex;
    gap: 12px;
}

.verification-input-group .form-input {
    flex: 1;
}

.verification-input-group .get-code-btn {
    flex-shrink: 0;
    width: 110px;
    height: 44px;
    background: #1890ff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.verification-input-group .get-code-btn:hover {
    background: #40a9ff;
}

.verification-input-group .get-code-btn:disabled {
    background: #d9d9d9;
    cursor: not-allowed;
    color: #999;
}

.bind-phone-submit-btn {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s;
}

.bind-phone-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bind-phone-submit-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bind-phone-modal-container {
        width: 95%;
        margin: 0 auto;
    }
    
    .bind-phone-modal-header {
        padding: 16px 20px;
    }
    
    .bind-phone-modal-body {
        padding: 20px;
    }
}
