#loader {
display: none;
margin: 0px;
padding: 0px;
position: fixed;
right: 0px;
top: 0px;
width: 100%;
height: 100%;
background-color: rgb(102, 102, 102);
z-index: 30001;
opacity: 0.8;
}

#loader img {
color: White;
left: 45%;
position: absolute;
top: 35%;
width: 10% !important;
}

.jit-autocomplete-wrapper {
position: relative;
}

.jit-autocomplete-results {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #fff;
border: 1px solid #08304a;
border-top: none;
border-radius: 0 0 12px 12px;
z-index: 1000;
list-style: none;
max-height: 250px;
overflow-y: auto;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
display: none;
margin: 0;
padding: 0;
}

#ui-datepicker-div {
z-index: 999999 !important;
background: #fff !important;
border: 1px solid #ccc !important;
box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
padding: 10px !important;
border-radius: 8px !important;
}

.ui-datepicker-prev, .ui-datepicker-next {
cursor: pointer;
padding-right: 5px;
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
padding: 5px;
}

.jit-calendar { 
overflow: visible !important; 
}

.ui-datepicker-header {
background: transparent !important;
border: none !important;
color: #333 !important;
font-weight: bold !important;
padding: 10px 0 !important;
position: relative !important;
}

.ui-datepicker-title {
text-align: center !important;
font-size: 1.1em !important;
color: #8b191d !important;
}

.ui-datepicker-prev, .ui-datepicker-next {
position: absolute !important;
top: 12px !important;
cursor: pointer !important;
background: #f4f4f4 !important;
padding: 5px 10px !important;
border-radius: 4px !important;
font-size: 12px !important;
color: #555 !important;
text-transform: uppercase !important;
transition: all 0.2s ease !important;
}

.ui-datepicker-prev { left: 5px !important; }
.ui-datepicker-next { right: 5px !important; }

.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
background: #8b191d !important;
color: #fff !important;
}

.ui-datepicker-prev span, .ui-datepicker-next span {
display: block !important;
text-indent: 0 !important;
position: static !important;
}

.ui-datepicker th {
color: #999 !important;
font-weight: 600 !important;
padding: 8px 0 !important;
}

.ui-state-default {
border: none !important;
background: #fff !important;
text-align: center !important;
padding: 8px !important;
border-radius: 4px !important;
}

.ui-state-hover {
background: #fceced !important;
color: #8b191d !important;
}

.ui-state-active {
background: #8b191d !important;
color: #fff !important;
}

.jit-autocomplete-results li {
padding: 12px 16px;
cursor: pointer;
border-bottom: 1px solid #eee;
font-size: 15px;
color: #333;
text-align: left;
}

.jit-autocomplete-results li:last-child {
border-bottom: none;
}

.jit-autocomplete-results li:hover {
background-color: #f5f5f5;
color: #ad2a28;
font-weight: 600;
}

.jit-loader {
display: none;
width: 18px;
height: 18px;
border: 2px solid rgba(255,255,255,0.5);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
margin-right: 10px;
vertical-align: middle;
}

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

.jit-quote-form * {
margin: 0;
padding: 0;
box-sizing: border-box;
}

.jit-quote-form {
font-family: 'Lato', sans-serif;
padding: 0;
width: 100%;
overflow-x: hidden;
border: 1px solid #ad2a28;
border-radius: 12px;
}

.jit-quote-form .container {
max-width: 1200px;
margin: 0 auto;
padding: 0;
}

.jit-quote-form .progress-wrapper {
background: #f5f5f5;
padding: 24px 0;
margin-bottom: 30px;
border-radius: 0;
box-shadow: none;
}

.jit-quote-form .progress {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
position: relative;
margin: 0 auto;
gap: 20px;
padding: 0 24px;
}

.jit-quote-form .progress::before {
content: '';
position: absolute;
top: 50%;
left: 0;
right: 0;
height: 2px;
background: #ddd;
z-index: 0;
transform: translateY(-50%);
}

.jit-quote-form .progress::after {
content: '';
position: absolute;
top: 50%;
left: 0;
height: 2px;
background: #ad2a28;
transition: width 0.3s;
z-index: 1;
transform: translateY(-50%);
}

.jit-quote-form .progress[data-step="1"]::after { width: 0%; }
.jit-quote-form .progress[data-step="2"]::after { width: 33.33%; }
.jit-quote-form .progress[data-step="3"]::after { width: 66.66%; }
.jit-quote-form .progress[data-step="4"]::after { width: 100%; }

.jit-quote-form .step-item {
display: flex;
align-items: center;
gap: 10px;
z-index: 10;
position: relative;
flex: 1;
}

.jit-quote-form .step-circle {
width: 40px;
height: 40px;
min-width: 40px;
border-radius: 50%;
background: #f5f5f5;
border: 3px solid #ddd;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
color: #999;
transition: all 0.3s;
position: relative;
z-index: 2;
}

.jit-quote-form .step-item.active .step-circle {
background: #f5f5f5;
border-color: #ad2a28;
color: #ad2a28;
}

.jit-quote-form .step-item.done .step-circle {
background: #6b757d;
border-color: #6b757d;
color: #fff;
}

.jit-quote-form .step-label {
font-size: 16px;
text-transform: uppercase;
font-weight: 700;
color: #999;
letter-spacing: 0.5px;
white-space: nowrap;
background: #f5f5f5;
padding: 2px 8px;
position: relative;
z-index: 2;
}

.jit-quote-form .step-item.active .step-label,
.jit-quote-form .step-item.done .step-label {
color: #08304a;
}

.jit-quote-form .wrapper {
display: grid;
grid-template-columns: 1fr 380px;
gap: 30px;
padding: 0;
}

.jit-quote-form .form-box {
padding: 24px;
border-radius: 12px;
background: #fff;
}

.jit-quote-form .summary {
background: #fff;
padding: 24px;
border-radius: 12px;
height: fit-content;
position: sticky;
top: 20px;
margin: 5px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jit-quote-form .form-step {
display: none;
}

.jit-quote-form .form-step.active {
display: block;
animation: jit-fade 0.3s;
}

@keyframes jit-fade {
from {
    opacity: 0;
    transform: translateY(10px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

.jit-quote-form h2 {
font-size: 28px;
color: #ad2a28;
margin-bottom: 25px;
font-weight: 900;
text-transform: uppercase;
word-wrap: break-word;
}

.jit-quote-form .form-group {
margin-bottom: 20px;
}

.jit-quote-form label {
display: block;
margin-bottom: 10px;
font-weight: 600;
font-size: 15px;
color: #000;
}

.jit-quote-form h2.section-label {
font-size: 18px;
color: #000;
font-weight: 700;
text-transform: none;
margin-bottom: 10px;
margin-top: 0;
}

.jit-quote-form h2.section-label:not(:first-child) {
margin-top: 25px;
}

.jit-quote-form input,
.jit-quote-form select {
width: 100%;
padding: 14px 16px;
border: 1px solid #08304a;
border-radius: 12px;
font-family: 'Lato', sans-serif;
font-size: 15px;
transition: border 0.3s;
}

.jit-quote-form input:focus,
.jit-quote-form select:focus {
outline: none;
border-color: #ad2a28;
}

.jit-quote-form .btn-group {
display: inline-flex;
border: none;
border-radius: 12px;
overflow: hidden;
background: #fff;
flex-wrap: wrap;
}

.jit-quote-form .carrier-btn-joined {
cursor: pointer;
position: relative;
flex: 1;
min-width: 150px;
}

.jit-quote-form .carrier-btn-joined input {
display: none;
}

.jit-quote-form .carrier-btn-joined span {
display: block;
padding: 10px 28px;
border: 1px solid #08304a;
border-right: none;
text-align: center;
font-weight: 600;
font-size: 15px;
transition: all 0.2s;
background: transparent;
color: #666;
white-space: nowrap;
position: relative;
z-index: 1;
}

.jit-quote-form .carrier-btn-joined:first-child span {
border-radius: 12px 0 0 12px;
}

.jit-quote-form .carrier-btn-joined:last-child span {
border-right: 1px solid #08304a;
border-radius: 0 12px 12px 0;
}

.jit-quote-form .carrier-btn-joined input:checked+span {
background: #ad2a28;
border-color: #ad2a28;
color: #fff;
}

.jit-quote-form .carrier-btn-joined:hover span {
background: #f5f5f5;
}

.jit-quote-form .carrier-btn-joined input:checked+span:hover {
background: #ad2a28;
}

.jit-quote-form .btn {
background: #ad2a28;
color: #fff;
padding: 16px 35px;
border: none;
border-radius: 12px;
font-size: 17px;
font-weight: 900;
text-transform: uppercase;
cursor: pointer;
width: 100%;
transition: background 0.3s;
}

.jit-quote-form .btn:hover {
background: #8b2220;
}

.jit-quote-form .summary h3 {
font-size: 22px;
margin-bottom: 25px;
color: #000;
font-weight: 900;
}

.jit-quote-form .sum-row {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid #f0f0f0;
font-size: 15px;
flex-wrap: wrap;
gap: 10px;
}

.jit-quote-form .sum-row label {
color: #666;
margin: 0;
font-weight: 600;
word-break: break-word;
}

.jit-quote-form .sum-row span {
font-weight: 700;
color: #000;
word-break: break-word;
text-align: right;
}

.jit-quote-form .price {
text-align: center;
margin-top: 25px;
padding-top: 25px;
border-top: 2px dashed #ddd;
}

.jit-quote-form .price-label {
font-size: 15px;
color: #ad2a28;
font-weight: 900;
}

.jit-quote-form .price-amount {
font-size: 48px;
color: #ad2a28;
font-weight: 900;
margin: 8px 0;
word-break: break-word;
}

.jit-quote-form .price-note {
font-size: 13px;
color: #666;
font-weight: 600;
}

.jit-quote-form .grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}

.jit-quote-form .price-box-selectable {
border: 2px solid #08304a;
border-radius: 12px;
padding: 30px;
text-align: center;
background: #fff;
position: relative;
cursor: pointer;
transition: all 0.3s;
min-width: 0;
}

.jit-quote-form .price-box-selectable.selected {
border: 3px solid #ad2a28;
}

.jit-quote-form .price-check {
position: absolute;
top: 15px;
right: 15px;
width: 40px;
height: 40px;
background: #ad2a28;
border-radius: 50%;
display: none;
align-items: center;
justify-content: center;
color: #fff;
font-size: 24px;
font-weight: 900;
}

.jit-quote-form .price-box-selectable.selected .price-check {
display: flex;
}

.jit-quote-form .sub-step {
display: none;
}

.jit-quote-form .sub-step.active {
display: block;
animation: jit-fade 0.3s;
}

.jit-quote-form .step4-progress {
display: flex;
justify-content: center;
align-items: center;
gap: 60px;
margin-bottom: 50px;
position: relative;
padding: 0 50px;
flex-wrap: wrap;
}

.jit-quote-form .step4-progress::before {
content: '';
position: absolute;
top: 30px;
left: 15%;
right: 15%;
height: 3px;
background: #ddd;
z-index: 0;
}

.jit-quote-form .step4-item {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
z-index: 1;
}

.jit-quote-form .step4-circle {
width: 60px;
height: 60px;
border-radius: 50%;
background: #6b757d;
border: 4px solid #6b757d;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 28px;
margin-bottom: 12px;
transition: all 0.3s;
position: relative;
}

.jit-quote-form .step4-circle.pending {
background: #fff;
border-color: #ddd;
color: #ddd;
}

.jit-quote-form .step4-circle.active {
background: #f5f5f5;
border: 5px solid #ad2a28;
}

.jit-quote-form .step4-circle.active::after {
content: '';
width: 20px;
height: 20px;
border-radius: 50%;
background: #ad2a28;
}

.jit-quote-form .step4-label {
font-size: 14px;
text-transform: uppercase;
font-weight: 900;
color: #666;
letter-spacing: 0.5px;
white-space: nowrap;
}

.jit-quote-form .step4-item.completed .step4-label,
.jit-quote-form .step4-item.active .step4-label {
color: #000;
}

input.valid { border-color: #28a745; background-color: #e6ffed; }
input.invalid { border-color: #dc3545; background-color: #ffe6e6; }

#email-feedback { font-size: 14px; margin-left: 10px; display: none; }
.text-invalid { color: #dc3545; }
.text-valid { color: #28a745; }

#jitRegularPrice,#jitNewCustomerPrice{font-size: 52px;}


@media (max-width: 480px) {
.jit-quote-form .step-item {
    display: block; /* or unset / initial */
}
}

/* ========== RESPONSIVE STYLES - DOWN TO 300PX ========== */

@media (max-width: 1024px) {
.jit-quote-form .wrapper {
    grid-template-columns: 1fr;
}

.jit-quote-form .form-box {
    padding: 20px;
}

.jit-quote-form .summary {
    position: static;
    margin-top: 30px;
    padding: 20px;
}

.jit-quote-form .progress {
    gap: 15px;
    padding: 0 20px;
}

.jit-quote-form .progress-wrapper {
    padding: 20px 0;
}
}

@media (max-width: 768px) {
.jit-quote-form .progress-wrapper {
    padding: 16px 0;
}

.jit-quote-form .progress {
    max-width: 100%;
    gap: 10px;
    padding: 0 16px;
}

.jit-quote-form .step-item {
    gap: 8px;
}

.jit-quote-form .step-circle {
    width: 35px;
    height: 35px;
    min-width: 35px;
    font-size: 14px;
}

.jit-quote-form .step-label {
    font-size: 10px;
    text-align: center;
}

.jit-quote-form .grid-2 {
    grid-template-columns: 1fr;
    gap: 15px;
}

.jit-quote-form .form-box {
    padding: 16px;
}

.jit-quote-form .summary {
    padding: 16px;
}

.jit-quote-form h2 {
    font-size: 24px;
}

.jit-quote-form .step4-progress {
    gap: 30px;
    padding: 0 20px;
}

.jit-quote-form .step4-progress::before {
    display: none;
}

.jit-quote-form .price-amount {
    font-size: 36px;
}

.jit-quote-form .price-box-selectable {
    padding: 25px 20px;
}
}

@media (max-width: 480px) {
.jit-quote-form .form-box {
    padding: 16px;
}

.jit-quote-form .summary {
    padding: 16px;
}

.jit-quote-form h2 {
    font-size: 20px;
}

.jit-quote-form .step4-progress {
    gap: 15px;
    padding: 0 10px;
}

.jit-quote-form .step4-circle {
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.jit-quote-form .step4-label {
    font-size: 11px;
}

.jit-quote-form .btn {
    padding: 14px 20px;
    font-size: 15px;
}

.jit-quote-form .carrier-btn-joined span {
    padding: 10px 15px;
    font-size: 14px;
}

.jit-quote-form .price-box-selectable {
    padding: 20px 15px;
}

.jit-quote-form .price-box-selectable h3 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] {
    font-size: 20px !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] > span[style*="font-size:28px"] {
    font-size: 22px !important;
}

.jit-quote-form .price-box-selectable p {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.jit-quote-form .price-amount {
    font-size: 32px;
}

.jit-quote-form .step-circle {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 12px;
    border: 2px solid #ddd;
}

.jit-quote-form .step-item.active .step-circle,
.jit-quote-form .step-item.done .step-circle {
    border-width: 2px;
}

.jit-quote-form .step-label {
    font-size: 9px;
} 
}
@media (max-width: 767px) {
#jitRegularPrice,#jitNewCustomerPrice{font-size: 20px !important;}
}
@media (max-width: 360px) {
.jit-quote-form .progress {
    padding: 0 12px;
    gap: 5px;
}

.jit-quote-form .form-box {
    padding: 12px;
}

.jit-quote-form .summary {
    padding: 12px;
}

.jit-quote-form h2 {
    font-size: 18px;
}

.jit-quote-form .btn {
    padding: 12px 16px;
    font-size: 14px;
}

.jit-quote-form .step-circle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 11px;
}

.jit-quote-form .step-label {
    font-size: 8px;
}

.jit-quote-form .step4-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.jit-quote-form .step4-label {
    font-size: 10px;
}

.jit-quote-form input,
.jit-quote-form select {
    padding: 12px 14px;
    font-size: 14px;
}

.jit-quote-form .price-box-selectable {
    padding: 15px 10px;
}

.jit-quote-form .price-box-selectable h3 {
    font-size: 14px !important;
    margin-bottom: 12px !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] {
    font-size: 32px !important;
    margin: 15px 0 !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] > span[style*="font-size:28px"] {
    font-size: 18px !important;
}


.jit-quote-form .price-box-selectable p {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-top: 15px !important;
}

.jit-quote-form .price-check {
    width: 30px !important;
    height: 30px !important;
    font-size: 18px !important;
    top: 10px !important;
    right: 10px !important;
}
}

/* EXTRA SMALL DEVICES - 300PX */
@media (max-width: 320px) {
.jit-quote-form .progress {
    padding: 0 8px;
    gap: 3px;
}

.jit-quote-form .form-box {
    padding: 10px;
}

.jit-quote-form .summary {
    padding: 10px;
}

.jit-quote-form h2 {
    font-size: 16px;
    margin-bottom: 15px;
}

.jit-quote-form .btn {
    padding: 10px 12px;
    font-size: 13px;
}

.jit-quote-form .step-circle {
    width: 25px;
    height: 25px;
    min-width: 25px;
    font-size: 10px;
}

.jit-quote-form .step-label {
    font-size: 7px;
    padding: 2px 4px;
}

.jit-quote-form .carrier-btn-joined {
    min-width: 100px;
}

.jit-quote-form .carrier-btn-joined span {
    padding: 8px 12px;
    font-size: 13px;
}

.jit-quote-form .price-box-selectable {
    padding: 12px 8px;
    border-radius: 8px;
}

.jit-quote-form .price-box-selectable h3 {
    font-size: 13px !important;
    margin-bottom: 10px !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] {
    font-size: 28px !important;
    margin: 12px 0 !important;
    line-height: 1.1 !important;
}

.jit-quote-form .price-box-selectable > div[style*="font-size:52px"] > span[style*="font-size:28px"] {
    font-size: 16px !important;
}

.jit-quote-form .price-box-selectable p {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-top: 12px !important;
}

.jit-quote-form .price-check {
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    top: 8px !important;
    right: 8px !important;
}

.jit-quote-form .price-amount {
    font-size: 28px;
}

.jit-quote-form input,
.jit-quote-form select {
    padding: 10px 12px;
    font-size: 13px;
}
}
