
.tm-marketplace-payment-card,
.tm-provider-marketplace-payments {
    margin: 22px 0;
    border: 1px solid #dbe3ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
    overflow: hidden;
}
.tm-marketplace-payment-card {
    padding: 22px;
}
.tm-marketplace-payment-card > header,
.tm-provider-payment-list article > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.tm-marketplace-payment-card > header div {
    display: grid;
    gap: 5px;
}
.tm-marketplace-payment-card > header span,
.tm-marketplace-payment-breakdown span,
.tm-marketplace-paid-summary span,
.tm-marketplace-provider-kpis span,
.tm-provider-payment-list article > div > span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.tm-marketplace-payment-card > header strong {
    font-size: 22px;
    color: #081521;
}
.tm-marketplace-payment-card > header small {
    color: #475569;
    font-weight: 700;
}
.tm-marketplace-payment-breakdown,
.tm-marketplace-paid-summary {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 16px;
    border-radius: 14px;
    background: #f8fafc;
}
.tm-marketplace-payment-breakdown > div,
.tm-marketplace-paid-summary > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.tm-marketplace-payment-breakdown .is-total {
    margin-top: 6px;
    padding-top: 12px;
    border-top: 1px solid #dbe3ee;
}
.tm-marketplace-payment-breakdown strong,
.tm-marketplace-paid-summary strong {
    color: #081521;
}
.tm-marketplace-payment-notice {
    padding: 13px 15px;
    border-left: 4px solid #FF7A00;
    border-radius: 8px;
    background: rgba(255,122,0,0.12);
    color: #FF8F26;
    line-height: 1.55;
}
.tm-marketplace-checkout {
    display: grid;
    gap: 15px;
    margin-top: 16px;
}
.tm-marketplace-terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    line-height: 1.5;
}
.tm-marketplace-terms input {
    margin-top: 4px;
}
.tm-marketplace-gateways {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.tm-marketplace-gateways button,
.tm-provider-payout-account button,
.tm-marketplace-dispute-form button {
    border: 0;
    border-radius: 10px;
    padding: 11px 17px;
    background: #081521;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.tm-marketplace-gateways button[value="paypal"] {
    background: #075985;
}
.tm-marketplace-payment-success,
.tm-marketplace-payment-error,
.tm-marketplace-dispute-open {
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 700;
}
.tm-marketplace-payment-success {
    background: #ecfdf5;
    color: #065f46;
}
.tm-marketplace-payment-error {
    background: #fef2f2;
    color: #991b1b;
}
.tm-marketplace-dispute-open {
    background: #fff7ed;
    color: #9a3412;
}
.tm-marketplace-dispute-form,
.tm-provider-payout-account {
    margin-top: 15px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #fff;
}
.tm-marketplace-dispute-form summary,
.tm-provider-payout-account summary {
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 800;
    color: #081521;
}
.tm-marketplace-dispute-form form,
.tm-provider-payout-account form {
    display: grid;
    gap: 13px;
    padding: 0 16px 16px;
}
.tm-marketplace-dispute-form label,
.tm-provider-payout-account label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 700;
}
.tm-marketplace-dispute-form select,
.tm-marketplace-dispute-form textarea,
.tm-provider-payout-account input,
.tm-provider-payout-account select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    padding: 10px 12px;
}
.tm-marketplace-provider-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px;
    background: #081521;
    color: #fff;
}
.tm-marketplace-provider-hero p {
    margin: 0 0 6px;
    color: #93c5fd;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.tm-marketplace-provider-hero h2 {
    margin: 0 0 8px;
    color: #fff;
}
.tm-marketplace-provider-hero span {
    color: #cbd5e1;
}
.tm-marketplace-provider-hero > strong {
    flex: 0 0 auto;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
}
.tm-marketplace-provider-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 20px 28px;
}
.tm-marketplace-provider-kpis article {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fafc;
}
.tm-marketplace-provider-kpis strong {
    display: block;
    margin-top: 7px;
    color: #081521;
    font-size: 20px;
}
.tm-provider-payout-account,
.tm-provider-payment-list {
    margin-left: 28px;
    margin-right: 28px;
}
.tm-provider-payment-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 28px;
}
.tm-provider-payment-list article {
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
}
.tm-provider-payment-list article header div {
    display: grid;
    gap: 4px;
}
.tm-provider-payment-list article header span {
    color: #64748b;
}
.tm-provider-payment-list article > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}
.tm-provider-payment-list article > div > span {
    display: grid;
    gap: 5px;
}
.tm-provider-payment-list article > div strong {
    color: #081521;
    font-size: 15px;
    text-transform: none;
}
.tm-provider-payment-list article small {
    display: block;
    margin-top: 12px;
    color: #64748b;
}
.tm-marketplace-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}
.tm-marketplace-status-paid,
.tm-marketplace-status-eligible,
.tm-marketplace-status-approved {
    background: #dcfce7;
    color: #166534;
}
.tm-marketplace-status-pending_service,
.tm-marketplace-status-pending_hold,
.tm-marketplace-status-pending_review,
.tm-marketplace-status-pending_payment,
.tm-marketplace-status-processing {
    background: #fef3c7;
    color: #92400e;
}
.tm-marketplace-status-failed,
.tm-marketplace-status-on_hold,
.tm-marketplace-status-cancelled,
.tm-marketplace-status-refunded {
    background: #fee2e2;
    color: #991b1b;
}
@media (max-width: 900px) {
    .tm-marketplace-provider-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tm-provider-payment-list article > div {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .tm-marketplace-provider-hero,
    .tm-marketplace-payment-card > header {
        align-items: flex-start;
        flex-direction: column;
    }
    .tm-marketplace-provider-kpis {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .tm-provider-payout-account,
    .tm-provider-payment-list {
        margin-left: 16px;
        margin-right: 16px;
    }
}
