/**
 * 值信运费查询插件 - 前端样式 V4.0
 * Brand Color: #FF6B00
 */

/* 浮动按钮 */
.zxfq-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FF6B00 0%, #ff8c33 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    z-index: 9999;
    transition: all 0.3s;
}

.zxfq-floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.5);
    color: white;
}

.zxfq-floating-icon {
    font-size: 20px;
}

.zxfq-floating-text {
    white-space: nowrap;
}

/* Toast消息 */
.zxfq-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 12px 24px;
    background: #333;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s;
}

.zxfq-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.zxfq-toast-success { background: #10b981; }
.zxfq-toast-error { background: #ef4444; }
.zxfq-toast-warning { background: #f59e0b; }
.zxfq-toast-info { background: #3b82f6; }

/* 响应式浮动按钮 */
@media (max-width: 600px) {
    .zxfq-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .zxfq-floating-icon {
        font-size: 18px;
    }
}
