/* 发送验证码按钮样式 */
.send-code-btn {
    padding: 10px 20px;
    font-size: 13px;
    color: white;
    background: linear-gradient(135deg, #ff6bae 0%, #ff85c0 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 174, 0.3);
}

.send-code-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff85c0 0%, #ff9ed5 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 174, 0.4);
    transform: translateY(-2px);
}

.send-code-btn:disabled {
    background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
    cursor: not-allowed;
    box-shadow: none;
}

/* 弹窗遮罩 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 弹窗内容 */
.modal-content {
    background: linear-gradient(165deg, #ffffff 0%, #fff5f9 100%);
    border-radius: 20px;
    padding: 0;
    min-width: 350px;
    max-width: 90%;
    box-shadow: 0 10px 40px rgba(255, 107, 174, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 弹窗头部 */
.modal-header {
    padding: 20px 25px;
    border-bottom: 2px solid #ffd6e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    background: linear-gradient(135deg, #ff6bae 0%, #ff9ed5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ff6bae;
    transform: rotate(90deg);
}

/* 弹窗主体 */
.modal-body {
    padding: 25px;
}

/* 刷新按钮 */
.refresh-btn {
    padding: 8px 16px;
    font-size: 13px;
    color: white;
    background: linear-gradient(135deg, #67c23a 0%, #85ce61 100%);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(103, 194, 58, 0.3);
}

.refresh-btn:hover {
    background: linear-gradient(135deg, #85ce61 0%, #95d475 100%);
    box-shadow: 0 4px 12px rgba(103, 194, 58, 0.4);
    transform: translateY(-2px);
}

/* 确认按钮 */
.confirm-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    color: white;
    background: linear-gradient(135deg, #ff6bae 0%, #ff85c0 100%);
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 174, 0.3);
    font-weight: 600;
}

.confirm-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff85c0 0%, #ff9ed5 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 174, 0.4);
    transform: translateY(-2px);
}

.confirm-btn:disabled {
    background: linear-gradient(135deg, #ddd 0%, #ccc 100%);
    cursor: not-allowed;
    box-shadow: none;
}
