/* ============================================
   支付相关样式（与现有后台风格一致）
   ============================================ */

/* 角色卡片 */
.role-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.role-card:hover {
    background: #f1f3f5;
}
.role-card.selected {
    border-color: #4F46E5;
    background: rgba(79,70,229,0.06);
}
.role-card .role-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.role-card .role-info .role-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.role-card .role-info .role-icon.branch {
    background: rgba(79,70,229,0.12);
    color: #4F46E5;
}
.role-card .role-info .role-icon.partner {
    background: rgba(16,185,129,0.12);
    color: #10B981;
}
.role-card .role-info .role-name {
    color: #1a1a2e;
    font-weight: 500;
    font-size: 14px;
}
.role-card .role-info .role-desc {
    color: #6c757d;
    font-size: 12px;
}
.role-card .role-price {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 17px;
}
.role-card .role-price .currency {
    font-size: 12px;
    font-weight: 400;
    color: #6c757d;
}
.role-card .role-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #dce0e5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.role-card .role-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
}
.role-card.selected .role-radio {
    border-color: #4F46E5;
}
.role-card.selected .role-radio::after {
    background: #4F46E5;
}

/* 支付方式 */
.payment-methods {
    display: flex;
    gap: 12px;
}
.payment-methods .pm-item {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}
.payment-methods .pm-item:hover {
    background: #f1f3f5;
}
.payment-methods .pm-item.active {
    border-color: #4F46E5;
    background: rgba(79,70,229,0.06);
    color: #1a1a2e;
}
.payment-methods .pm-item i {
    font-size: 26px;
    display: block;
    margin-bottom: 4px;
}
.payment-methods .pm-item .pm-label {
    font-size: 13px;
    font-weight: 500;
}

/* 金额汇总 */
.amount-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 18px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.amount-summary .label {
    color: #6c757d;
    font-size: 14px;
}
.amount-summary .value {
    color: #1a1a2e;
    font-weight: 600;
    font-size: 20px;
}
.amount-summary .value .currency {
    font-size: 14px;
    font-weight: 400;
    color: #6c757d;
}

/* 成功页面 */
.success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16,185,129,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 36px;
    color: #10B981;
    border: 2px solid rgba(16,185,129,0.15);
}
.success-title {
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}
.success-amount {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #4F46E5;
    margin: 8px 0 4px;
}
.success-desc {
    color: #6c757d;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}
.success-contact {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 16px;
    border: 1px solid #e9ecef;
    color: #495057;
    font-size: 14px;
    line-height: 1.8;
}
.success-contact strong {
    color: #1a1a2e;
}
.badge-status {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}
.badge-pending {
    background: rgba(245,158,11,0.12);
    color: #D97706;
}
.badge-paid {
    background: rgba(16,185,129,0.12);
    color: #059669;
}

/* 支付表单双列布局 */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.form-grid-2 .full-width {
    grid-column: 1 / -1;
}
@media (max-width: 576px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .form-grid-2 .full-width {
        grid-column: 1;
    }
    .payment-methods {
        flex-direction: row;
    }
    .payment-methods .pm-item {
        padding: 10px;
    }
    .payment-methods .pm-item i {
        font-size: 22px;
    }
}
@media (max-width: 400px) {
    .payment-methods {
        flex-direction: column;
    }
    .payment-methods .pm-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .payment-methods .pm-item i {
        font-size: 20px;
        margin-bottom: 0;
    }
}