@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


:root {
    --primary: #1e293b;
    --border: #dadddd;
    --header-est: #f7f7fa;
    --bg: #efeef8;
    --radius: 16px;
    --inp-bg: rgb(247, 247, 247);
}

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    margin: 0;
    padding: 2rem;
    background: var(--bg);
    color: var(--primaryColor);
}

#widget-container main {
    max-width: 640px;
    margin: auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    overflow: hidden;
    position: relative;
}

#widget-container header {
    padding: 10px 0px 0px;
    background-color: white;
    z-index: 100;

}

#widget-container header .estimated {
    background: var(--header-est);
    padding-block: 17px
}

.estimated>div:first-child>h5 {
    font-weight: 300;
    text-transform: uppercase;
    color: #9a9db4;
    font-size: 0.75rem;
}

#widget-container header>div:first-child {
    text-align: center;
    color: var(--primaryColor);
    border-bottom: 1px solid rgb(234, 233, 233);
    padding: 10px 0px;
}

#widget-container header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-bottom: 1px solid rgb(218, 217, 217);
}

#widget-container header>div>.header-btns {
    display: flex;
    gap: 10px;
}


.header-btns .save-btn {
    border-radius: 20px;
    padding: 10px 20px !important;
    border: 1px solid var(--border);
    background-color: transparent;
    color: gray;
    transition: all 200ms ease;
    font-weight: 300;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.header-btns .proceed-header {
    border-radius: 20px;
    padding: 10px 20px !important;
    border: 1px solid var(--ctaColor);
    background-color: var(--ctaColor);
    font-weight: 300;
    font-size: 12px;
}

.header-btns .save-btn:hover {
    background-color: #13b7a5;
    color: white
}


.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: #fff;
    font-family: "Poppins", sans-serif;
}

#widget-container .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.step .circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e6e7ef;
    color: #6f738f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step .label {
    margin-top: 6px;
    font-size: 13px;
    color: #9a9db4;
}

.line {
    width: 60px;
    height: 2px;
    background: #e6e7ef;
}

.primary-color {
    color: #3A4F7A;
}

/* Active step */
.step.active .circle {
    background: #3A4F7A;
    color: #fff;
}

.step.active .label {
    color: #3A4F7A;
    font-weight: 600;
}



#widget-container .content-container {
    max-height: 550px;
    overflow-y: auto;

}

.content-container>#subheading {
    padding: 1.5rem;

}

.content-container .drag-wrapper {
    margin-bottom: 15px;
}

.drag-wrapper .drag-input {
    border: 2px dashed #b1b5c7;
    border-radius: 16px;
    margin-bottom: 10px;
    height: 250px;
    background-color: #f7f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 200ms ease;
}

.drag-wrapper>p {
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
    padding-inline: 20px;
    margin-top: 20px;
    font-weight: 300;
}

.drag-wrapper>h6 {
    font-size: 0.82rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: #999eae;
    margin-inline: 22px
}

.drag-wrapper .drag-input:hover {
    scale: 1.01;
    background-color: #edeff2;
}

.drag-wrapper>.drag-input>div>p.pdf {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    opacity: 0.7;

}

.drag-wrapper>.drag-input>div>p.pdf>span {
    height: 4px;
    width: 4px;
    border-radius: 100%;
    background: gray;
    display: inline-block;
    margin-bottom: 2px;
}

.drag-wrapper .drag-input h5 {
    font-weight: 400;
    font-size: 14px;

}

.drag-input>div>.svg-wrapper {
    background-color: #eeeff4;
    padding: 10px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 30px;
    color: #616d92
}

.drag-input>div>.auto-data-ext {
    background-color: #eaecf0;
    padding: 10px;
    border-radius: 20px;
    margin-inline: auto;
    text-align: center;
    margin-top: 30px;
    font-weight: 300;
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
    color: #616d92
}

.drag-input>div>.auto-data-ext>p {
    font-size: 15px;
}



#subheading h4 {
    margin-top: 10px;
    font-size: 1.4rem;
    font-weight: 500;
}

#subheading p {
    margin-top: .5rem;
    font-size: .85rem;
    opacity: .7;
    font-weight: 600;
}

#widget-container form {
    padding: 1.5rem;
}

#widget-container form fieldset {
    border: none;
    margin-bottom: 2rem;
    padding: 0;
}


#widget-container form fieldset legend {
    font-size: .75rem;
    letter-spacing: .05em;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#widget-container form fieldset .field {
    margin-bottom: 1rem;
}

#widget-container label {
    display: block;
    font-size: .85rem;
    margin-bottom: .25rem;
    color: #374151;
}

#widget-container input:not([type="range"], [type="radio"], [type="checkbox"], [type="file"]),
#widget-container select,
#widget-container textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid var(--border);
    background: var(--inp-bg);
    border-radius: 18px !important;
    font-size: .9rem;
}


#widget-container input::placeholder,
#widget-container select option:disabled {
    color: #70788F;
}


#widget-container input[type="radio"],
#widget-container input[type="range"] {
    accent-color: var(--accentColor);
}

#widget-container input:not([type="range"], [type="radio"], [type="checkbox"], [type="file"]):focus,
#widget-container select:focus,
#widget-container textarea:focus {
    outline: 3px solid rgb(140, 118, 248);
    outline-offset: 1.2px;
}

#widget-container .row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 600px) {
    #widget-container .row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: .5rem;

}

.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: .4rem;
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 6px;
    font-size: .9rem;
    cursor: pointer;
}

button:hover {
    opacity: .95;
}

#widget-container .quote {
    margin-top: 3rem;
}

.quote .quote-title {
    font-size: .75rem;
    letter-spacing: .05em;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.quote .quote-card {
    background: #f8f9f9;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 1px 1px 10px 0px rgb(232, 232, 232);
    padding: 1.5rem;
}

.quote .quote-card .badge {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    font-size: .75rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.quote .quote-label {
    font-size: .8rem;
    color: #64748b;
    margin: .5rem 0;
}

.quote .quote-total {
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 1rem;
    color: #3A4F7A;
}

.quote-card hr {
    border: none;
    border-top: 1px solid #e8eae9;
    margin: 1rem 0;
}

.quote .quote-breakdown,
.quote-des {
    display: grid;
    gap: .5rem;
    margin-bottom: 1rem;
}

.quote .quote-des {
    border-top: 1px solid #e8eae9;
    padding: 20px 0px
}

.quote-des div {
    margin-bottom: 10px;
}

.quote-des div dt {
    font-size: 0.9rem;
    opacity: 0.7;

}

.quote-des div dd {
    font-size: 1rem;
    font-weight: 600
}

.quote-breakdown div,
.quote-des div {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
}

.quote-note {
    font-size: .75rem;
    color: #6b7280;
}

.quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.quote-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #e6e7ef;
}

.quote-note {
    max-width: 350px;
    font-size: 13px;
    color: #7a7e9b;
    line-height: 1.4;
    flex-shrink: 1;
    text-align: center;
}

.quote-actions {
    display: flex;
    flex-grow: 1;
    flex-direction: row;
    align-items: center !important;
    gap: 12px;
}


/* Share button */
.btn-outline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #d6d8e5;
    background: #fff;
    color: #3A4F7A;
    font-size: 12px;
    cursor: pointer;
}

/* Download button */
.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: none;
    background: #3A4F7A;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.btn-primary:hover {
    background: #24275a;
}

.icon {
    font-size: 14px;
}


button.primary {
    background: var(--ctaColor);
    color: white;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 8px;
    font-size: .9rem;
    cursor: pointer;
}

button.primary:hover {
    opacity: .95;
}

.link {
    font-size: .9rem;
    color: #3A4F7A;
    text-decoration: none;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inline-block
}

.link:hover {
    text-decoration: underline;
}

#widget-container .underwriting {
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    border-radius: 18px;

}

.underwriting>.ques-label {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background-color: #f0f1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.underwriting>.ques-label>svg {
    cursor: pointer;
}

.underwriting>.ques-label>label {
    font-size: .75rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.underwriting>.ques-container {
    padding: 1.25rem;
}

.question {
    padding: 1rem 0;
    /* border-bottom: 1px solid #e5e7eb; */
}

.question:last-of-type {
    border-bottom: none;
}

.legend {
    display: table;
    width: 100%;
    font-size: .9375rem;
    line-height: 1.6;
    letter-spacing: -.01em;
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    padding-top: 4px;
    color: rgba(100, 116, 139, 0.7);
}

.legend>div {
    display: table-cell;
    vertical-align: middle;
}

.legend>div:nth-child(1) {
    text-align: left;
}

.legend>div:nth-child(2) {
    text-align: center;
}

.legend>div:nth-child(3) {
    text-align: right;
}

/* dot */
.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: middle;
}

/* colors */
.primary {
    background-color: #3A4F7A;
}

.accent {
    background-color: #775CFF;
}

.muted {
    background-color: #70788F;
}

.question p {
    letter-spacing: -.01em;
    font-size: .8125rem;
    line-height: 1.625;
    font-weight: 500;
    margin: 0 0 .75rem;
    color: #22253A;
}

.options {
    display: flex;
    gap: 1.5rem;
}

.options label {
    font-size: .85rem;
    color: #485366;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.next-btn {
    margin-top: 0.5rem;
    color: white;
    border: none;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    font-size: .9rem;
    cursor: pointer;
    background: linear-gradient(to right, #3c4c7f, #4a63ac) !important;
    background-color: none;
}

.next-btn:hover {
    opacity: .95;
}

.range-field {
    display: flex;
    flex-direction: column;
    font-family: "Poppins", sans-serif;
    margin-bottom: 20px;

}

.range-field .or-input {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px
}

.range-field .or-input p {
    font-size: 0.8rem;
    opacity: 0.7
}

.range-field .or-input input {
    max-width: 150px
}

.range-field .range-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px
}



.range-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.range-wrapper input[type="range"] {
    flex: 1;
    accent-color: #3A4F7A;
    margin-top: 10px;
    margin-bottom: 20px;
    border: none !important;
    background-color: #f0f1f5 !important
}

.range-min,
.range-max {
    font-size: 0.9rem;
    color: #8b8d91;
    white-space: nowrap;
    position: absolute;
    bottom: -5px
}

.range-max {
    right: 0
}

output {
    color: #3A4F7A;
    padding: .8rem .8rem;
    border: 1px solid var(--border);
    background: #f0f1f5;
    border-radius: 18px !important;
    font-size: 1.1rem;
    width: 150px;
    font-weight: 500
}

/* modal css */
.modal-wrapper,
.modal-wrapper-policy-number {
    position: fixed;
    background: rgb(0, 0, 0, 0.3);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.modal-wrapper.form-modal>.modal,
.modal-wrapper-policy-number>.modal {
    width: min(90%, 820px);
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0px
}

.modal-wrapper.from-modal>.modal>.modal-header,
.modal-wrapper-policy-number>.modal>.modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    position: relative;
}

#form-modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    position: relative;
}

#form-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

#form-modal-header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.close,
.close-model {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 20px;
    color: #70788F;
    cursor: pointer;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

/* policy modal */
#policy-modal {
    display: none
}

#policy-modal>.modal {
    width: min(90%, 700px) !important;
    max-width: 100%;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0px
}

#policy-modal .modal-footer {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    background-color: #f1f2f5;
    margin: 20px;
    font-size: 14px;
    color: #98989a;

}


#policy-modal .modal-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
}

.madal-icon-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.madal-icon-header svg {
    padding: 5px;
    border-radius: 10px;
    height: 40px;
    width: 40px;
    background-color: #e4e7ed;
    stroke-width: 0.1px !important;
    color: #828384
}

.madal-icon-header>h2 {
    font-size: 22px !important;
    font-weight: 400;
}

.title {
    display: flex;
    gap: 12px;
}

.madal-icon-header .color-light {
    color: #c4c6cd;
    font-size: 14px !important;
    letter-spacing: 0.2px;
}


.title h2 {
    margin: 0;
    font-size: 18px;
}

.title p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6b7280;
}

.close {
    cursor: pointer;
    font-size: 20px;
}

.tabs {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.tabs input {
    display: none;
}

.tab-buttons {
    background: #eceef3;
    padding: 4px;
    border-radius: 999px;
    display: flex;
    margin-bottom: 16px;
}

.tab-buttons label {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 0px;
}

#buyer:checked~.tab-buttons label[for="buyer"],
#seller:checked~.tab-buttons label[for="seller"] {
    background: #3b3f72;
    color: white;
}

.tab-content {
    display: none;
}

#buyer:checked~.buyer,
#seller:checked~.seller {
    display: block;
}

.desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.card {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    background-color: #f3f4f7;
    transition: all 200ms ease
}

.card:hover {
    background-color: #f6f7f7;
    border-color: #d6d6d7;
    scale: 1.01
}

.card>div:first-child {
    background: #e4e7ed;
    border-radius: 10px;
    padding: 5px;
}

.card h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 500;
}

.card p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 20px;
}


.section {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 16px;
}

.section-title span {
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 3px;
}

.section-title small {
    display: block;
    color: #6b7280;
    font-size: 13px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

label {
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}


.add-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 20px;
    color: black
}

.checkbox div {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.checkbox input {
    width: 20px;
    accent-color: var(--accentColor);
    display: inline-block;
}

.checkbox span {
    display: inline-block;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    background: #fff;
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    min-width: 120px;
}

.btn-cancel {
    background: #fff;
    border: 1px solid #d1d5db;
    color: black;
}

.btn-confirm {
    background: var(--ctaColor);
    color: #fff;
}

.btn {
    position: relative;
}

.btn-loader {
    gap: 6px;
    font-size: 14px;
    color: white;
    display: none
}

.btn-loader::before {
    content: "";
    margin-right: 10px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.modal-open {
    display: flex
}

section.co-insured>.section-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.remove-btn-co {
    right: 10px;
    margin-left: auto;
    margin-top: 10px;
    background: #ef4444;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}


.error-text {
    margin-top: 4px;
    font-size: 12px;
    color: #dc2626;
}

input.error,
select.error {
    border-color: #dc2626;
}


/* ========================= */
/* ===== RESPONSIVE ======= */
/* ========================= */

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        margin-top: 0px
    }

    .grid-4 {
        grid-template-columns: 1fr;
        margin-top: 0px
    }

    .grid-3 div,
    .grid-4 div {
        margin-top: 14px
    }

    .modal-body {
        padding: 16px;
    }

    .modal-header {
        padding: 16px;
    }

    .modal-footer {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .modal {
        border-radius: 10px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .modal-header p {
        font-size: 13px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    header>div {
        flex-direction: column;
        gap: 10px
    }

    header>div>.header-btns {
        flex-direction: column;
        gap: 10px
    }

}


/* faq section */
.faq-container {
    max-width: 760px;
    margin: auto;
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #2f3a8f;
    color: #2f3a8f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.faq-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.faq-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "⌄";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
}

/* copy functionality */
.policy-modal-box {
    margin-top: 16px;
}

.inside-policy-modal {
    background-color: #f3f4f6;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
}

.policy-info {
    display: flex;
    flex-direction: column;
}

.policy-info .label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}

.policy-info .policy-number {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    letter-spacing: 0.4px;
}

.copy-btn {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.copy-btn:hover {
    background-color: #1d4ed8;
}

.copy-btn:active {
    transform: scale(0.96);
}

.copy-btn.copied {
    background-color: #16a34a;
}

.copy-status {
    font-size: 12px;
    color: #16a34a;
    margin-top: 8px;
    min-height: 14px;
}

/* contact card */
.contact-card {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 20px 4rem;
    margin-top: 40px;
    background: #f9fafb
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    color: #1f2937;
    margin-bottom: 16px;
}

.contact-form {
    padding: 0
}

.contact-form>.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
    width: 100%
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    outline: none;
}

.contact-form textarea {
    resize: none;
}


.contact-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #3b3f72;
    color: #ffffff;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.95;
}

.contact-footer {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.quote-card #track-estimate {
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    margin-block: 10px
}

/* range slider changes */

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 2px solid #3A4F7A;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}


input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 1px solid #3A4F7A;
    border: none;
}

input[type="range"]::-moz-range-progress {
    background: #3A4F7A;
    height: 6px;
    border-radius: 999px;
}

.textarea-focus {
    margin-bottom: 20px;
    border-radius: 18px;
    padding: 1.2px
}

.textarea-focus:focus-within {
    outline: 3px solid #775CFF;
}


.progress-bar {
    display: flex;
    height: 12px;
    width: 100%;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px;
}

.segment {
    height: 100%;
}

.segment.premium {
    background: #3A4F7A;
}

.segment.fee {
    background: #775CFF;
}

.segment.tax {
    background: #70788F;
}

.quote-breakdown dt.premium::before,
.quote-breakdown dt.policy::before,
.quote-breakdown dt.tax::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.quote-breakdown dt.premium::before {
    background: #3A4F7A;
}

.quote-breakdown dt.policy::before {
    background: #775CFF;
}

.quote-breakdown dt.tax::before {
    background: #70788F;
}

/* Value bubble */