/* ==========================================================================
   Noir Cart — Payment Schedule (cart page) + Deposit Station
   Last touched: 2026-05-02 (force-resync to clear staging 404)
   ========================================================================== */

/* ── Payment Schedule (cart page) ──────────────────────────────────────── */

.pt-payment-schedule {
    margin: 24px 0 0;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.pt-payment-schedule__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.pt-payment-schedule__heading svg {
    flex-shrink: 0;
    color: #2c6fad;
}

.pt-payment-schedule__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pt-payment-schedule__table thead th {
    padding: 10px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.pt-payment-schedule__table tbody tr {
    border-bottom: 1px solid #f3f3f3;
}

.pt-payment-schedule__table tbody tr:last-child {
    border-bottom: none;
}

.pt-payment-schedule__table tbody td {
    padding: 12px 20px;
    color: #333;
    vertical-align: middle;
}

.pt-payment-schedule__table tbody td:first-child {
    font-weight: 500;
    color: #111;
}

.pt-ps-note {
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    color: #888;
    font-weight: 400;
}

.pt-payment-schedule__total-row th,
.pt-payment-schedule__total-row td {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    background: #f5f8fc;
    border-top: 1px solid #eee;
}

.pt-payment-schedule__note {
    margin: 0;
    padding: 10px 20px;
    font-size: 12px;
    color: #888;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* ── Deposit Station page ───────────────────────────────────────────────── */

.pt-deposit-station {
    max-width: 680px;
    margin: 40px auto;
}

.pt-deposit-station__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.pt-deposit-station__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef4fb;
    color: #2c6fad;
    flex-shrink: 0;
}

.pt-deposit-station__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.pt-deposit-station__subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: #888;
}

.pt-deposit-station__progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 12px 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 13px;
    color: #555;
}

.pt-deposit-station__progress-bar-wrap {
    flex: 1;
    height: 6px;
    background: #e9e9e9;
    border-radius: 3px;
    overflow: hidden;
}

.pt-deposit-station__progress-bar {
    height: 100%;
    background: #2c6fad;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.pt-deposit-station__items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.pt-ds-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s;
}

.pt-ds-item--paid {
    border-color: #d3ead3;
    background: #f8fdf8;
}

.pt-ds-item--pending {
    border-color: #eee;
}

.pt-ds-item__status-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.pt-ds-item__info {
    flex: 1;
    min-width: 0;
}

.pt-ds-item__title {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pt-ds-item__amount {
    font-size: 13px;
    color: #555;
    margin-top: 2px;
}

.pt-ds-item__badge {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
}

.pt-ds-item__badge--paid {
    color: #2a7c2a;
    background: #e8f5e8;
}

.pt-ds-item__badge--pending {
    color: #888;
    background: #f3f3f3;
}

.pt-ds-item__pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #2c6fad;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.pt-ds-item__pay-btn:hover {
    opacity: 0.88;
    color: #fff;
}

.pt-ds-item__pay-btn:disabled,
.pt-ds-item__pay-btn--loading {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.pt-deposit-station__complete {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid #d3ead3;
    border-radius: 12px;
    background: #f8fdf8;
}

.pt-deposit-station__complete.is-visible {
    display: flex;
}

.pt-deposit-station__complete-icon {
    font-size: 48px;
    line-height: 1;
}

.pt-deposit-station__complete-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2a7c2a;
}

.pt-deposit-station__complete-text {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.pt-deposit-station__complete-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #2c6fad;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.pt-deposit-station__complete-btn:hover {
    opacity: 0.88;
    color: #fff;
}

.pt-deposit-station__note {
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .pt-ds-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .pt-ds-item__pay-btn {
        width: 100%;
        justify-content: center;
    }
}
