/* ========================================
   Product Detail Page - Exact Match
   ======================================== */

/* Breadcrumb */
.pd-breadcrumb { padding: 12px 0; background: #fff; border-bottom: 1px solid #e0e0e0; }

/* Main Section */
.pd-section { padding: 30px 0; background: #fff; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
@media(max-width:991px) { .pd-grid { grid-template-columns: 1fr; } }

/* Gallery */
.pd-gallery-col { position: relative; }
.pd-gallery-main {
    position: relative; width: 100%; height: 380px;
    background: #f5f5f5; border-radius: 8px; overflow: hidden;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.8); border: none;
    cursor: pointer; font-size: 14px; color: #333; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.pd-nav-prev { left: 12px; }
.pd-nav-next { right: 12px; }
.pd-nav-btn:hover { background: #fff; }

.pd-gallery-thumbs {
    display: flex; align-items: center; gap: 6px; margin-top: 12px;
}
.pd-thumb-nav {
    width: 28px; height: 28px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; cursor: pointer; font-size: 11px; color: #666;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pd-thumbs-wrapper {
    display: flex; gap: 8px; overflow-x: auto; flex: 1;
    scrollbar-width: none; -ms-overflow-style: none;
}
.pd-thumbs-wrapper::-webkit-scrollbar { display: none; }
.pd-thumb-item {
    width: 60px; height: 48px; flex-shrink: 0; border-radius: 6px;
    overflow: hidden; border: 2px solid transparent; cursor: pointer;
    background: #f5f5f5;
}
.pd-thumb-item.active { border-color: #d32f2f; }
.pd-thumb-item img { width: 100%; height: 100%; object-fit: cover; }

@media(max-width:768px) {
    .pd-gallery-main { height: 260px; }
    .pd-thumb-item { width: 50px; height: 40px; }
}

/* Info Column */
.pd-info-col { padding-top: 0; }
.pd-info-topbar {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.pd-back-btn { color: #333; font-size: 16px; }
.pd-item-id { font-size: 15px; font-weight: 600; color: #333; }
.pd-topbar-actions { margin-left: auto; display: flex; gap: 10px; }
.pd-fav-btn, .pd-share-btn-top {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid #ddd;
    background: #fff; cursor: pointer; font-size: 14px; color: #666;
    display: flex; align-items: center; justify-content: center;
}
.pd-fav-btn:hover { color: #d32f2f; border-color: #d32f2f; }

/* Title */
.pd-product-title { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }

/* Price Block */
.pd-price-block { margin-bottom: 20px; }
.pd-price-label { font-size: 12px; color: #888; display: block; margin-bottom: 4px; }
.pd-price-row { display: flex; align-items: flex-start; justify-content: space-between; }
.pd-price-value { font-size: 32px; font-weight: 800; color: #d32f2f; }
.pd-monthly-info { text-align: right; font-size: 12px; color: #666; line-height: 1.4; }
.pd-monthly-info i { color: #1565c0; }
.pd-views-badge { margin-top: 6px; font-size: 12px; color: #888; }
.pd-views-badge i { color: #d32f2f; margin-right: 4px; }

/* CTA Row */
.pd-cta-row { display: flex; gap: 12px; margin-bottom: 25px; }
.pd-btn-cash, .pd-btn-loan {
    flex: 1; padding: 14px 16px; border-radius: 8px;
    font-size: 14px; font-weight: 600; cursor: pointer; text-align: center;
    border: 2px solid; transition: all 0.3s;
}
.pd-btn-cash {
    background: #d32f2f; color: #fff; border-color: #d32f2f;
}
.pd-btn-cash:hover { background: #b71c1c; border-color: #b71c1c; }
.pd-btn-loan {
    background: #fff; color: #333; border-color: #333;
}
.pd-btn-loan:hover { background: #333; color: #fff; }
@media(max-width:480px) { .pd-cta-row { flex-direction: column; } }

/* Specs Block */
.pd-specs-block { margin-top: 5px; }
.pd-spec-table { width: 100%; border-collapse: collapse; }
.pd-spec-table tr { border-bottom: 1px solid #f0f0f0; }
.pd-spec-table td { padding: 10px 0; font-size: 13px; vertical-align: top; }
.spec-name { color: #555; width: 55%; }
.spec-val { color: #1a1a1a; font-weight: 500; text-align: right; }
.pd-spec-highlight { margin-top: 10px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.pd-spec-highlight tr { border-bottom: 1px solid #e0e0e0; }
.pd-spec-highlight tr:last-child { border-bottom: none; }
.pd-spec-highlight td { padding: 12px 15px; }
.hl-green { color: #2e7d32 !important; font-weight: 600; }
.pd-whatsapp-link { color: #25d366; font-weight: 600; font-size: 13px; }
.pd-whatsapp-link:hover { color: #128c7e; }
.pd-whatsapp-link i { font-size: 16px; margin-right: 5px; }

/* Loan Bar */
.pd-loan-bar { padding: 20px 0; background: #f8f9fa; border-top: 1px solid #e0e0e0; }
.pd-loan-bar-grid { display: flex; gap: 15px; }
.pd-loan-bar-btn {
    flex: 1; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-radius: 8px; border: 1px solid #ddd;
    background: #fff; cursor: pointer; font-size: 14px; color: #888;
}
.pd-loan-bar-btn:hover { border-color: #d32f2f; color: #333; }
.pd-loan-bar-btn.primary { background: #f8f9fa; border-color: #ddd; }
.pd-loan-bar-btn.primary:hover { border-color: #d32f2f; }
.pd-loan-bar-btn i { font-size: 16px; }
@media(max-width:576px) { .pd-loan-bar-grid { flex-direction: column; } }

/* Inspection Section */
.pd-inspection { padding: 30px 0; background: #fff; border-top: 1px solid #e0e0e0; }
.insp-main-tabs { display: flex; border-bottom: 2px solid #e0e0e0; margin-bottom: 0; }
.insp-main-tab {
    padding: 12px 22px; font-size: 13px; font-weight: 600;
    border: none; background: #fff; cursor: pointer; color: #666;
    border-bottom: 3px solid transparent; margin-bottom: -2px;
    white-space: nowrap;
}
.insp-main-tab.active { color: #fff; background: #d32f2f; border-radius: 6px 6px 0 0; border-bottom-color: #d32f2f; }
@media(max-width:768px) {
    .insp-main-tabs { overflow-x: auto; }
    .insp-main-tab { padding: 10px 14px; font-size: 12px; }
}

.insp-panel { display: none; padding-top: 20px; }
.insp-panel.active { display: block; }

/* Report Layout */
.insp-report-layout { display: flex; gap: 0; min-height: 300px; }
.insp-cat-menu {
    width: 180px; flex-shrink: 0; background: #333;
    border-radius: 6px 0 0 6px; overflow: hidden;
}
.insp-cat-btn {
    display: block; width: 100%; padding: 14px 18px; text-align: left;
    border: none; background: transparent; color: #ccc;
    font-size: 13px; cursor: pointer; border-bottom: 1px solid #444;
}
.insp-cat-btn.active { background: #444; color: #fff; font-weight: 600; }
.insp-cat-btn:hover { background: #3a3a3a; }

.insp-cat-panel {
    display: none; flex: 1; padding: 15px 20px;
    border: 1px solid #e0e0e0; border-left: none; border-radius: 0 6px 6px 0;
}
.insp-cat-panel.active { display: block; }

.insp-items-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.insp-item-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 12px; border-bottom: 1px solid #f0f0f0;
}
.insp-item-name { font-size: 12px; color: #333; }
.insp-item-status { font-size: 12px; font-weight: 500; }
.insp-item-status.avg { color: #2e7d32; }
.insp-item-status.na { color: #999; }

@media(max-width:768px) {
    .insp-report-layout { flex-direction: column; }
    .insp-cat-menu { width: 100%; display: flex; border-radius: 6px 6px 0 0; }
    .insp-cat-btn { border-bottom: none; border-right: 1px solid #444; text-align: center; }
    .insp-cat-panel { border-left: 1px solid #e0e0e0; border-radius: 0 0 6px 6px; }
    .insp-items-grid { grid-template-columns: 1fr; }
}

/* Inspection Images */
.insp-images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insp-img-box { border-radius: 8px; overflow: hidden; height: 100px; background: #f5f5f5; }
.insp-img-box img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width:576px) { .insp-images-grid { grid-template-columns: repeat(2, 1fr); } }

/* Notes */
.insp-notes-content { padding: 20px; background: #f8f9fa; border-radius: 8px; }
.insp-notes-content p { font-size: 13px; color: #333; margin: 0; }

/* Related */
.pd-related { padding: 30px 0; background: #f8f9fa; border-top: 1px solid #e0e0e0; }
.pd-related h3 { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.pd-related-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media(max-width:991px) { .pd-related-grid { grid-template-columns: repeat(3, 1fr); } }
@media(max-width:576px) { .pd-related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== CASH PURCHASE MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.6); display: none;
    align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
    background: #fff; border-radius: 12px; width: 100%; max-width: 500px;
    max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid #e0e0e0;
}
.modal-header h4 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 0; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: #888; }
.modal-close:hover { color: #333; }
.modal-body { padding: 20px 24px; }
.modal-info-text { font-size: 13px; color: #555; margin-bottom: 10px; line-height: 1.5; }
.modal-detail-box { margin-top: 18px; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.modal-detail-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 12px 16px; border-bottom: 1px solid #f0f0f0; font-size: 13px;
}
.modal-detail-row:last-child { border-bottom: none; }
.modal-detail-row span { color: #666; }
.modal-detail-row strong { color: #1a1a1a; text-align: right; }
.modal-detail-row.highlight { background: #fff8f8; }
.text-red { color: #d32f2f !important; font-size: 16px; }
.modal-includes { display: flex; flex-direction: column; gap: 4px; text-align: right; }
.modal-includes span { font-size: 12px; color: #2e7d32; }
.modal-includes i { font-size: 10px; margin-right: 4px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #e0e0e0; display: flex; gap: 10px; }
.modal-btn-confirm {
    flex: 1; padding: 12px; border-radius: 8px; border: none;
    background: #d32f2f; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
}
.modal-btn-confirm:hover { background: #b71c1c; }
.modal-btn-cancel {
    flex: 1; padding: 12px; border-radius: 8px;
    border: 1px solid #ddd; background: #fff; color: #666;
    font-size: 14px; font-weight: 500; cursor: pointer;
}
.modal-btn-cancel:hover { background: #f5f5f5; }


/* ===== BUYER FORM IN MODAL ===== */
.modal-buyer-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e0e0e0; }
.modal-buyer-form h5 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 14px; }
.form-group-modal { margin-bottom: 12px; }
.form-group-modal label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 4px; }
.form-group-modal input {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px;
    font-size: 13px; color: #333; transition: border-color 0.3s;
}
.form-group-modal input:focus { outline: none; border-color: #d32f2f; }
.form-group-modal input::placeholder { color: #aaa; }


/* ===== PURCHASE RESULT PAGE ===== */
.purchase-result-section { padding: 50px 0; min-height: 60vh; }
.purchase-result { max-width: 550px; margin: 0 auto; text-align: center; }
.result-icon { margin-bottom: 20px; }
.result-icon i { font-size: 60px; color: #2e7d32; }
.result-icon.error-icon i { color: #d32f2f; }
.purchase-result h2 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.purchase-result p { font-size: 14px; color: #666; margin-bottom: 25px; }
.order-summary-box {
    background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 10px;
    padding: 20px; text-align: left; margin-bottom: 25px;
}
.order-summary-box h5 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #333; }
.order-summary-table { width: 100%; border-collapse: collapse; }
.order-summary-table tr { border-bottom: 1px solid #eee; }
.order-summary-table tr:last-child { border-bottom: none; }
.order-summary-table td { padding: 8px 0; font-size: 13px; color: #555; }
.order-summary-table td:last-child { text-align: right; color: #1a1a1a; }
.result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-result-home, .btn-result-browse {
    padding: 12px 24px; border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-result-home { background: #d32f2f; color: #fff; }
.btn-result-home:hover { background: #b71c1c; color: #fff; }
.btn-result-browse { background: #fff; color: #333; border: 1px solid #ddd; }
.btn-result-browse:hover { background: #f5f5f5; color: #333; }


/* ========================================
   Payment Page Styles
   ======================================== */

/* Layout */
.payment-section { padding: 30px 0 50px; background: #f8f9fa; min-height: 70vh; }
.payment-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
@media(max-width:991px) { .payment-layout { grid-template-columns: 1fr; } }

/* Main */
.payment-main { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.payment-header-box { margin-bottom: 25px; }
.payment-header-box h1 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 8px; }
.payment-header-box p { font-size: 13px; color: #666; margin: 0; }

/* Amount Box */
.payment-amount-box {
    display: flex; align-items: center; gap: 15px;
    padding: 18px 20px; background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 10px; margin-bottom: 25px;
}
.payment-amount-icon { font-size: 28px; color: #2e7d32; }
.payment-amount-info { flex: 1; }
.payment-amount-label { display: block; font-size: 15px; font-weight: 700; color: #1a1a1a; }
.payment-amount-desc { display: block; font-size: 11px; color: #666; }
.payment-amount-value { font-size: 22px; font-weight: 800; color: #d32f2f; }

/* Payment Method */
.payment-method-section h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 15px; }
.payment-tabs { display: flex; gap: 0; border-bottom: 2px solid #e0e0e0; margin-bottom: 20px; }
.pay-tab {
    padding: 10px 20px; font-size: 13px; font-weight: 600; cursor: pointer;
    border: none; background: none; color: #888;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.pay-tab.active { color: #d32f2f; border-bottom-color: #d32f2f; }
.pay-panel { display: none; }
.pay-panel.active { display: block; }

/* Info Note */
.pay-info-note { background: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.pay-info-note p { font-size: 12px; color: #555; margin: 0 0 8px; line-height: 1.5; }
.pay-info-note p:last-child { margin-bottom: 0; }
.pay-note-small { font-size: 11px; color: #d32f2f; font-style: italic; }

/* Card Form */
.form-group-pay { margin-bottom: 14px; }
.form-group-pay label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; }
.form-group-pay input, .form-group-pay select {
    width: 100%; padding: 11px 14px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 14px; color: #333; transition: border-color 0.3s;
}
.form-group-pay input:focus { outline: none; border-color: #d32f2f; }
.form-hint { display: block; font-size: 10px; color: #999; margin-top: 4px; }
.form-row-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-icons { display: flex; gap: 8px; margin: 12px 0 18px; }
.card-icons img { height: 24px; opacity: 0.7; }

.btn-pay-submit {
    width: 100%; padding: 14px; border-radius: 8px; border: none;
    background: #d32f2f; color: #fff; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: background 0.3s;
}
.btn-pay-submit:hover { background: #b71c1c; }

/* Transfer */
.bank-transfer-steps { margin-bottom: 20px; }
.transfer-step {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; border-bottom: 1px solid #f0f0f0;
}
.step-num {
    width: 28px; height: 28px; border-radius: 50%; background: #d32f2f;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.transfer-step span { font-size: 13px; color: #333; }

.bank-details-box {
    background: #f8f9fa; border-radius: 8px; padding: 16px; margin-bottom: 20px;
}
.bank-detail-row {
    display: flex; justify-content: space-between; padding: 8px 0;
    border-bottom: 1px solid #eee; font-size: 13px;
}
.bank-detail-row:last-child { border-bottom: none; }
.bank-detail-row span { color: #666; }
.bank-detail-row strong { color: #1a1a1a; }

/* File Upload */
.file-upload-area { position: relative; }
.file-upload-area input[type="file"] {
    position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.file-upload-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px; border: 2px dashed #ddd; border-radius: 8px; text-align: center;
}
.file-upload-placeholder i { font-size: 30px; color: #ccc; margin-bottom: 8px; }
.file-upload-placeholder span { font-size: 13px; color: #666; }
.file-upload-placeholder small { font-size: 11px; color: #999; }
.file-upload-preview {
    display: flex; align-items: center; gap: 12px; padding: 12px;
    border: 1px solid #ddd; border-radius: 8px;
}
.file-upload-preview img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.file-upload-preview span { font-size: 12px; color: #333; }

/* Sidebar */
.payment-sidebar { position: sticky; top: 80px; }
.payment-summary-card {
    background: #fff; border-radius: 12px; padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.payment-summary-card h4 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 16px; }
.summary-order-no {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px solid #f0f0f0; font-size: 12px; color: #666; margin-bottom: 14px;
}
.summary-order-no strong { color: #1a1a1a; }
.summary-moto-info { display: flex; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.summary-moto-img { width: 60px; height: 50px; border-radius: 6px; overflow: hidden; background: #f5f5f5; }
.summary-moto-img img { width: 100%; height: 100%; object-fit: cover; }
.summary-moto-name { font-size: 12px; color: #333; font-weight: 600; margin: 0 0 4px; }
.summary-moto-price { font-size: 14px; color: #d32f2f; font-weight: 700; margin: 0; }
.summary-breakdown { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: #555; }
.summary-row.highlight { background: #fff8f8; padding: 8px; border-radius: 6px; margin: 4px -8px; }
.text-red { color: #d32f2f !important; font-weight: 700; }
.summary-buyer { margin-bottom: 16px; }
.summary-buyer h5 { font-size: 12px; font-weight: 700; color: #333; margin-bottom: 10px; }
.summary-buyer-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 12px; color: #555; }
.summary-buyer-row i { color: #999; width: 14px; font-size: 11px; }
.summary-secure {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px; background: #f0fdf4; border-radius: 6px; font-size: 11px; color: #2e7d32;
}

/* ===== Payment Success Page ===== */
.payment-success-section { padding: 50px 0; min-height: 60vh; }
.success-card { max-width: 550px; margin: 0 auto; text-align: center; }
.success-icon { margin-bottom: 20px; }
.success-icon i { font-size: 64px; color: #2e7d32; }
.success-card h1 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.success-card > p { font-size: 14px; color: #666; margin-bottom: 25px; }
.success-order-box {
    background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 10px;
    padding: 20px; text-align: left; margin-bottom: 25px;
}
.success-table { width: 100%; border-collapse: collapse; }
.success-table tr { border-bottom: 1px solid #eee; }
.success-table tr:last-child { border-bottom: none; }
.success-table td { padding: 9px 0; font-size: 13px; color: #555; }
.success-table td:last-child { text-align: right; color: #1a1a1a; }
.success-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-success-home, .btn-success-browse {
    padding: 12px 24px; border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-success-home { background: #d32f2f; color: #fff; }
.btn-success-home:hover { background: #b71c1c; color: #fff; }
.btn-success-browse { background: #fff; color: #333; border: 1px solid #ddd; }
.btn-success-browse:hover { background: #f5f5f5; color: #333; }


/* ===== LOAN CALCULATOR MODAL ===== */
.loan-calc-form { margin-bottom: 20px; }
.loan-field { margin-bottom: 14px; }
.loan-field label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; }
.loan-field select { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 13px; }
.loan-input-group {
    display: flex; align-items: center; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;
}
.loan-input-group span { padding: 10px 12px; background: #f8f9fa; font-size: 13px; color: #666; white-space: nowrap; }
.loan-input-group input {
    flex: 1; border: none; padding: 10px 14px; font-size: 14px; outline: none;
}
.btn-loan-calc-action {
    padding: 10px 24px; background: #d32f2f; color: #fff; border: none;
    border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-loan-calc-action:hover { background: #b71c1c; }
.btn-loan-reset {
    padding: 10px 24px; background: #fff; color: #666; border: 1px solid #ddd;
    border-radius: 6px; font-size: 13px; cursor: pointer;
}
.btn-loan-reset:hover { background: #f5f5f5; }

/* Loan Results */
.loan-results { margin-top: 20px; padding-top: 18px; border-top: 1px solid #e0e0e0; }
.loan-results h5 { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 12px; }
.loan-results-grid { display: flex; flex-direction: column; gap: 0; }
.loan-result-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 14px; border: 1px solid #f0f0f0; border-bottom: none;
}
.loan-result-item:last-child { border-bottom: 1px solid #f0f0f0; }
.loan-result-item:nth-child(odd) { background: #fafafa; }
.loan-tenure { font-size: 13px; color: #555; }
.loan-monthly { font-size: 15px; font-weight: 700; color: #d32f2f; }

/* Loan Apply */
.loan-apply-summary {
    background: #f8f9fa; border-radius: 8px; padding: 14px; margin-bottom: 18px;
}
.loan-apply-row {
    display: flex; justify-content: space-between; padding: 5px 0; font-size: 13px;
}
.loan-apply-row span { color: #666; }
.loan-apply-row strong { color: #1a1a1a; }
.loan-apply-form .form-group-modal { margin-bottom: 12px; }
.loan-apply-form select {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 6px; font-size: 13px;
}


/* ===== WhatsApp Confirmation ===== */
.wa-confirm-box { margin: 25px 0; text-align: center; }
.btn-wa-confirm {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 35px; background: #25d366; color: #fff;
    border-radius: 10px; font-size: 16px; font-weight: 700;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-wa-confirm:hover { background: #128c7e; color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
.btn-wa-confirm i { font-size: 22px; }
.wa-confirm-hint { font-size: 12px; color: #888; margin-top: 10px; }
.btn-success-wa {
    padding: 12px 24px; border-radius: 8px; font-size: 13px; font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    background: #25d366; color: #fff;
}
.btn-success-wa:hover { background: #128c7e; color: #fff; }
