.fwnh-pay-wrapper {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fafafa;
}

.fwnh-pay-box {
    text-align: center;
    padding: 24px;
}

.fwnh-pay-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #666;
    font-size: 14px;
}

.fwnh-pay-lock {
    width: 12px;
    height: 12px;
    border: 2px solid #999;
    border-radius: 2px;
    position: relative;
}

.fwnh-pay-lock::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 2px;
    width: 4px;
    height: 4px;
    border: 2px solid #999;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.fwnh-pay-text {
    font-weight: 500;
}

.fwnh-pay-price {
    margin-bottom: 20px;
}

.fwnh-price-value {
    font-size: 32px;
    font-weight: 600;
    color: #333;
}

.fwnh-price-unit {
    font-size: 14px;
    color: #666;
    margin-left: 4px;
}

.fwnh-pay-methods {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.fwnh-pay-btn {
    border: 1px solid #ddd !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: #fff !important;
    color: #333 !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    opacity: 1 !important;
}

.fwnh-pay-btn:hover {
    border-color: #999 !important;
    background: #f5f5f5 !important;
    color: #333 !important;
    opacity: 1 !important;
}

.fwnh-pay-btn:focus {
    outline: none !important;
    border-color: #999 !important;
    background: #fff !important;
    color: #333 !important;
    opacity: 1 !important;
}

.fwnh-pay-btn:active {
    background: #e8e8e8 !important;
    color: #333 !important;
    opacity: 1 !important;
}

.fwnh-pay-wechat:hover,
.fwnh-pay-wechat:focus,
.fwnh-pay-wechat:active {
    border-color: #07c160 !important;
    color: #07c160 !important;
    background: #fff !important;
    opacity: 1 !important;
}

.fwnh-pay-alipay:hover,
.fwnh-pay-alipay:focus,
.fwnh-pay-alipay:active {
    border-color: #1677ff !important;
    color: #1677ff !important;
    background: #fff !important;
    opacity: 1 !important;
}

.fwnh-pay-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.fwnh-pay-modal-content {
    background: #fff;
    padding: 32px;
    border-radius: 4px;
    text-align: center;
    position: relative;
    max-width: 320px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.fwnh-pay-modal-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.fwnh-pay-modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

.fwnh-pay-modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.fwnh-pay-channel-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.fwnh-pay-tab {
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 13px;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
}

.fwnh-pay-tab:hover {
    border-color: #999;
}

.fwnh-pay-tab.active {
    border-color: #333;
    background: #333;
    color: #fff;
}

.fwnh-pay-qrcode-wrapper {
    padding: 16px;
    background: #fafafa;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.fwnh-pay-qrcode {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fwnh-pay-qrcode img {
    max-width: 100%;
    max-height: 100%;
}

.fwnh-pay-tip {
    color: #666;
    margin-top: 12px;
    font-size: 13px;
}

.fwnh-pay-channel-name {
    color: #333;
    font-weight: 500;
}

.fwnh-pay-status {
    margin-top: 16px;
    padding: 16px;
    background: #f0f9f4;
    border: 1px solid #07c160;
    border-radius: 4px;
    text-align: center;
}

.fwnh-pay-status-text {
    font-size: 15px;
    color: #07c160;
}

@media (max-width: 480px) {
    .fwnh-pay-box {
        padding: 20px;
    }
    
    .fwnh-price-value {
        font-size: 28px;
    }
    
    .fwnh-pay-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .fwnh-pay-modal-content {
        padding: 24px;
    }
    
    .fwnh-pay-qrcode {
        width: 160px;
        height: 160px;
    }
}
