/* 支付方式选择弹窗独立样式 - 蓝白风格 */

/* 弹窗整体样式 */
.payment-method-dialog .el-dialog__header {
    background: linear-gradient(135deg, #409eff 0%, #1890ff 100%);
    padding: 20px;
    margin: 0;
}

.payment-method-dialog .el-dialog__title {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.payment-method-dialog .el-dialog__headerbtn .el-dialog__close {
    color: white;
}

/* 支付信息卡片 */
.payment-amount-card {
    background: linear-gradient(135deg, #409eff 0%, #1890ff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(64, 158, 255, 0.3);
}

.payment-amount-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.payment-amount-tip {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.payment-amount-value {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.2;
}

.payment-balance-info {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 4px;
}

/* 支付方式网格 */
.payment-methods-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 8px;
}

@media (max-width: 768px) {
    .payment-methods-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 支付方式卡片 */
.payment-method-item {
    position: relative;
    background: white;
    border: 2px solid #e8f4ff;
    border-radius: 12px;
    padding: 24px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 180px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-method-item:hover {
    border-color: #409eff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(64, 158, 255, 0.2);
}

.payment-method-item.active {
    border-color: #409eff;
    background: linear-gradient(135deg, #e6f4ff 0%, #f0f9ff 100%);
    box-shadow: 0 8px 24px rgba(64, 158, 255, 0.3);
}

/* 选中标记 */
.payment-check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: #409eff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.5);
}

.payment-check-icon svg {
    width: 14px;
    height: 14px;
}

/* 支付图标容器 */
.payment-icon-box {
    width: 64px;
    height: 64px;
    background: #f5f7fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    padding: 10px;
}

.payment-method-item.active .payment-icon-box {
    background: white;
    box-shadow: 0 2px 8px rgba(64, 158, 255, 0.1);
}

/* 支付图标图片 */
.payment-icon-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* 支付方式名称 */
.payment-method-name {
    font-size: 16px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 8px;
    line-height: 1.2;
}

.payment-method-item.active .payment-method-name {
    color: #409eff;
}

/* 支付方式描述 */
.payment-method-desc {
    font-size: 12px;
    color: #909399;
    line-height: 1.4;
}

.payment-method-item.active .payment-method-desc {
    color: #606266;
}

/* 余额不足标签 */
.insufficient-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f56c6c;
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(245, 108, 108, 0.4);
}

/* 空状态 */
.payment-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #909399;
}

/* 底部按钮 */
.payment-dialog-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 0 0 0;
}

.payment-dialog-footer .el-button {
    min-width: 100px;
}

/* 标题样式 */
.payment-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 16px;
}

