/* ============================================================
   WBTM Deposit / Partial Payment — Frontend Styles
   ============================================================ */

/* ---- Choice box ---- */
.wbtm-deposit-option-box {
    margin: 16px 0;
    padding: 16px 20px;
    background: #f9f9ff;
    border: 1px solid #d8d8f0;
    border-radius: 8px;
}

.wbtm-deposit-option-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wbtm-deposit-icon {
    color: var(--wbtm_color_theme, #007c00);
}

.wbtm-deposit-icon--success {
    color: #2e7d32;
}

/* ---- Radio options ---- */
.wbtm-deposit-radio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .25s, background .25s;
    background: #fff;
}

.wbtm-deposit-radio:hover,
.wbtm-deposit-radio--active {
    border-color: var(--wbtm_color_theme, #007cba);
    background: #f0f8ff;
}

.wbtm-deposit-radio-input {
    margin-top: 3px;
    accent-color: var(--wbtm_color_theme, #007cba);
    flex-shrink: 0;
}

.wbtm-deposit-radio-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.wbtm-deposit-radio-main {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.wbtm-deposit-radio-amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--wbtm_color_theme, #007cba);
}

.wbtm-deposit-radio-sub {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

/* ---- Forced deposit notice ---- */
.wbtm-deposit-forced-notice {
    padding: 12px 14px;
    background: #fff8e1;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---- Spinner ---- */
.wbtm-deposit-spinner {
    text-align: center;
    color: #888;
    font-size: 13px;
    padding: 6px 0;
}

/* ---- Thank-you page ---- */
.wbtm-deposit-thankyou {
    margin: 30px 0;
    padding: 24px 28px;
    background: #fff8e1;
    border-left: 5px solid #f39c12;
    border-radius: 6px;
}

.wbtm-deposit-thankyou__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #e67e22;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wbtm-deposit-summary-table-wrap {
    overflow-x: auto;
}

.wbtm-deposit-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.wbtm-deposit-summary-table th,
.wbtm-deposit-summary-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #f0e0b0;
    text-align: left;
    font-size: 14px;
}

.wbtm-deposit-summary-table th {
    font-weight: 600;
    color: #555;
    width: 55%;
}

.wbtm-deposit-row--paid td {
    color: #27ae60;
    font-weight: 700;
}

.wbtm-deposit-row--due td {
    color: #c0392b;
    font-weight: 700;
    font-size: 16px;
}

.wbtm-deposit-thankyou__pay-now {
    margin-top: 16px;
}

.wbtm-deposit-thankyou__notice {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.wbtm-deposit-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--wbtm_color_theme, #007cba);
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: opacity .2s;
}

.wbtm-deposit-pay-btn:hover {
    opacity: .88;
    color: #fff !important;
}

.wbtm-deposit-thankyou__fully-paid {
    font-size: 15px;
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

/* ---- My Account page ---- */
.wbtm-deposit-account {
    margin-bottom: 40px;
}

.wbtm-deposit-col--due {
    color: #c0392b;
    font-weight: 700;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
    .wbtm-deposit-option-box {
        padding: 12px 14px;
    }
    .wbtm-deposit-radio {
        padding: 10px 12px;
    }
    .wbtm-deposit-thankyou {
        padding: 16px 14px;
    }
    .wbtm-deposit-summary-table th,
    .wbtm-deposit-summary-table td {
        padding: 6px 8px;
        font-size: 13px;
    }
    .wbtm-deposit-pay-btn {
        width: 100%;
        justify-content: center;
    }
}
