/* =========================================================
   Gaadiwala Motor Insurance Quotes & Comparison Page
   Themed to match Gaadiwala Brand Identity & Design System
   ========================================================= */

:root {
    --gw-navy: #0f2460;
    --gw-navy-light: #1e3a8a;
    --gw-orange: #ffa633;
    --gw-orange-dark: #f59e0b;
    --gw-blue: #0b69ff;
    --gw-blue-hover: #0056d6;
    --gw-bg: #f6f8fc;
    --gw-card-bg: #ffffff;
    --gw-border: #e2e8f0;
    --gw-text-main: #1e293b;
    --gw-text-muted: #64748b;
    --gw-green: #10b981;
    --gw-green-bg: #e6f9f0;
}

/* Quotes Section Wrapper */
.quotes-main-section {
    background-color: var(--gw-bg);
    padding: 105px 0 20px;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .quotes-main-section {
        padding-top: 85px;
    }
}

/* Ensure Footer and all its sections are 100% visible */
.footer.footer-four,
.footer.footer-four .footer-top,
.footer.footer-four .footer-widget,
.footer.footer-four .footer-bottom,
.footer.footer-four .footer-top * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* --- Top Expiry Alert --- */
.quotes-top-alert {
    background: #fff5eb;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 10px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #c2410c;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(194, 65, 12, 0.06);
}
.quotes-top-alert .alert-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.quotes-top-alert .close-btn {
    color: #9a3412;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    background: transparent;
    border: none;
    transition: opacity 0.2s;
}
.quotes-top-alert .close-btn:hover {
    opacity: 0.7;
}

/* --- Sub-control Bar --- */
.quotes-controls-bar {
    margin-bottom: 22px;
}
.duration-select-box {
    background: #ffffff;
    border: 1px solid var(--gw-border);
    border-radius: 10px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.duration-select-box select {
    border: none;
    font-weight: 700;
    color: var(--gw-navy);
    outline: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
}
.discount-promo-pill {
    background: #edfbf2;
    border: 1px solid #b7eed0;
    border-radius: 10px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #065f46;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.05);
}
.discount-promo-pill .form-check-input {
    width: 2.2em;
    height: 1.25em;
    cursor: pointer;
    margin: 0;
}
.discount-promo-pill .form-check-input:checked {
    background-color: var(--gw-green);
    border-color: var(--gw-green);
}

/* --- Left & Right Sidebar Cards --- */
.sidebar-box-card {
    background: #ffffff;
    border: 1px solid var(--gw-border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(15, 36, 96, 0.03);
}
.sidebar-box-card .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}
.sidebar-box-card .card-head h6 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--gw-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-box-card .card-head .edit-link {
    color: var(--gw-blue);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.sidebar-box-card .card-head .edit-link:hover {
    text-decoration: underline;
}
.sidebar-box-card .vehicle-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--gw-text-main);
    margin-bottom: 4px;
}
.sidebar-box-card .vehicle-sub {
    font-size: 13px;
    color: var(--gw-text-muted);
}

/* Plan selector */
.plan-type-select {
    width: 100%;
    border: 1.5px solid var(--gw-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gw-navy);
    background-color: #f8fafc;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}
.plan-type-select:focus {
    border-color: var(--gw-blue);
    background-color: #ffffff;
}

/* Addons list */
.addon-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gw-text-main);
}
.addon-item:last-child {
    margin-bottom: 0;
}
.addon-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    margin-top: 1px;
    accent-color: var(--gw-navy);
    cursor: pointer;
}
.addon-item label {
    margin: 0;
    cursor: pointer;
    line-height: 1.35;
    flex: 1;
}
.addon-item .addon-price {
    font-weight: 700;
    color: #475569;
    font-size: 12px;
}

/* Right Sidebar Support Card */
.support-claims-card {
    background: #eafaf1;
    border: 1px solid #c9edd7;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.05);
}
.support-claims-card .title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.support-claims-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: #064e3b;
    margin: 0;
    line-height: 1.3;
}
.scooter-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15);
}
.support-claims-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
}
.support-claims-card ul li {
    font-size: 12.5px;
    color: #064e3b;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
}
.support-claims-card ul li i {
    color: #10b981;
    margin-top: 2px;
    font-size: 12px;
}
.btn-claim-process {
    background: #ffffff;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-claim-process:hover {
    background: #065f46;
    color: #ffffff;
}

/* Right Sidebar Why Buy Card */
.why-buy-card {
    background: #ffffff;
    border: 1px solid var(--gw-border);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(15, 36, 96, 0.03);
}
.why-buy-card h6 {
    font-size: 14px;
    font-weight: 700;
    color: var(--gw-navy);
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}
.why-buy-card .why-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.why-buy-card .why-item:last-child {
    margin-bottom: 0;
}
.why-buy-card .why-item .icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.why-buy-card .why-item p {
    font-size: 12px;
    color: var(--gw-text-muted);
    margin: 0;
    line-height: 1.4;
}

/* --- Center Section / Insurer Cards --- */
.feed-header {
    margin-bottom: 16px;
}
.feed-header h4 {
    font-size: 21px;
    font-weight: 700;
    color: var(--gw-navy);
    margin-bottom: 4px;
}
.feed-header p {
    font-size: 13.5px;
    color: var(--gw-text-muted);
    margin: 0;
}

/* Insurer Card */
.plan-card {
    background: #ffffff;
    border: 1px solid var(--gw-border);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(15, 36, 96, 0.03);
    position: relative;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.plan-card:hover {
    box-shadow: 0 6px 18px rgba(15, 36, 96, 0.08);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

/* Renew Tag */
.renew-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

/* Brand badge logo */
.insurer-logo-box {
    width: 110px;
    height: 48px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.2px;
    text-align: center;
    padding: 4px 8px;
    user-select: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

/* Insurer Logos */
.logo-hdfc {
    background: #da291c;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: 900;
}
.logo-bajaj {
    background: #003366;
    color: #ffffff;
    font-weight: 800;
}
.logo-digit {
    background: #111827;
    color: #facc15;
    font-weight: 900;
    font-size: 17px;
}
.logo-oriental {
    background: #004b87;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}
.logo-icici {
    background: #b8252a;
    color: #ffffff;
    font-weight: 800;
    font-size: 12.5px;
}
.logo-national {
    background: #006b76;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}
.logo-newindia {
    background: #0a3d62;
    color: #ffffff;
    font-weight: 700;
    font-size: 11.5px;
}
.logo-united {
    background: #fdb913;
    color: #0b2545;
    font-weight: 900;
    font-size: 11.5px;
}
.logo-sbi {
    background: #2b005e;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
}
.logo-iffco {
    background: #008542;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
}
.logo-royalsundaram {
    background: #00529b;
    color: #ffffff;
    font-weight: 800;
    font-size: 11.5px;
}

/* Insurer info text */
.insurer-meta {
    margin-left: 16px;
}
.insurer-meta h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gw-navy);
    margin: 0 0 2px 0;
}
.insurer-meta span.plan-badge {
    font-size: 13px;
    color: var(--gw-text-muted);
}

/* Buy Button Area */
.plan-action-area {
    text-align: right;
}
.btn-buy-plan {
    background-color: var(--gw-blue);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 9px 24px;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(11, 105, 255, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-buy-plan:hover {
    background-color: var(--gw-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 105, 255, 0.35);
}
.social-proof-text {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* Highlight badge inside card (like Digit Free RSA) */
.card-feature-strip {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 6px;
    padding: 6px 12px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Bottom Note */
.exclusive-gst-note {
    text-align: center;
    margin: 20px 0 10px;
    font-size: 12.5px;
    color: #92400e;
}
.exclusive-gst-note span {
    background: #fef3c7;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
}

/* Disclaimer Collapsible */
.quotes-disclaimer-box {
    background: #ffffff;
    border: 1px solid var(--gw-border);
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 12px;
    color: var(--gw-text-muted);
}
.quotes-disclaimer-box .accordion-button {
    font-size: 13px;
    font-weight: 600;
    color: var(--gw-navy);
    background: transparent;
    padding: 0;
    box-shadow: none;
}
.quotes-disclaimer-box .accordion-button:not(.collapsed) {
    color: var(--gw-blue);
}

/* Modal styles for Buy / Proposal */
.proposal-modal-header {
    background: linear-gradient(135deg, #0f2460, #1e3a8a);
    color: #ffffff;
    border-bottom: none;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 14px;
}
.breakdown-row.total-row {
    border-bottom: none;
    border-top: 2px solid #0f2460;
    font-size: 16px;
    font-weight: 700;
    color: #0f2460;
    margin-top: 6px;
    padding-top: 12px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .plan-card {
        padding: 16px;
    }
    .insurer-logo-box {
        width: 90px;
        height: 42px;
        font-size: 12px;
    }
    .btn-buy-plan {
        padding: 8px 16px;
        font-size: 13.5px;
    }
}
@media (max-width: 575.98px) {
    .plan-card-body-row {
        flex-direction: column;
        gap: 12px;
    }
    .plan-action-area {
        text-align: left;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-top: 8px;
    }
    .social-proof-text {
        justify-content: flex-start;
        margin-top: 0;
    }
}
