/* 移动端商品弹窗 - 按钮样式 */

/* 按钮基础样式 */
.mobile-modal-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mobile-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-modal-btn:active {
    transform: translateY(0);
}

/* 主按钮 - 登录/购买 */
.btn-primary {
    background: linear-gradient(135deg, #7a8cff, #b88cff);
    color: white;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b88cff, #7a8cff);
    color: white;
    box-shadow: 0 6px 16px rgba(122, 140, 255, 0.4);
}

/* 次要按钮 - 取消/关闭 */
.btn-secondary {
    background: rgba(107, 114, 128, 0.6);
    color: white;
}

.btn-secondary:hover {
    background: rgba(107, 114, 128, 0.8);
    color: white;
}

/* 成功按钮 - 查看/下载 */
.btn-success {
    background: linear-gradient(135deg, #7a8cff, #b88cff);
    color: white;
    box-shadow: 0 4px 12px rgba(122, 140, 255, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #b88cff, #7a8cff);
    color: white;
    box-shadow: 0 6px 16px rgba(122, 140, 255, 0.4);
}

/* 复制按钮 */
.copy-btn {
    background: #3b82f6;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    min-width: auto;
    width: auto;
    margin-left: 8px;
}

.copy-btn:hover {
    background: #2563eb;
    transform: none;
    box-shadow: none;
}

.copy-btn:active {
    transform: scale(0.95);
}

.copy-btn.success {
    background: #10b981;
}

/* 按钮组 */
.mobile-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.mobile-modal-buttons .mobile-modal-btn {
    flex: 1;
}

/* 按钮图标 */
.mobile-modal-btn i {
    margin-right: 6px;
    font-size: 14px;
}

.copy-btn i {
    margin-right: 0;
    font-size: 12px;
}

/* 按钮状态 */
.mobile-modal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .mobile-modal-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .mobile-modal-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-modal-buttons .mobile-modal-btn {
        flex: none;
    }
}
