/* ---- */
#heading {
  text-transform: uppercase;
  color: #4f46e5;
  font-weight: 600;
  margin-bottom: 10px;
}

#msform {
    text-align: center;
    position: relative;
    box-shadow: 0px 5px 74px 0px #1B16420F;
    padding: 60px 20px;
}

#msform fieldset {
    border: 0;
    margin: 0 auto;
    position: relative;
    transition: all 0.5s ease-in-out;
    max-width: 933px;
    padding: 0;
    /* display: flex; */
    /* flex-direction: column; */
    /* gap: 24px; */
    width: 100%;
}


#msform fieldset .next.action-button.btn_icon {
	margin-top: 24px;
	width: 100%;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform input:not([type="submit"]):not([type="button"]):not([type="radio"]), #msform textarea {
    padding: 16px 24px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    width: 100%;
    min-height: 64px;
    box-shadow: 0px 0px 4px 0px #00000040;
}
#msform input:focus, #msform textarea:focus {
    outline-color: var( --e-global-color-primary );
}
.fs-title {
    font-size: 24px !important;
    margin: 0 !important;
}

.steps {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 20px;
  text-align: right;
}
#progressbar {
  margin-bottom: 30px;
  overflow: hidden;
  color: lightgrey;
  display: flex;
  justify-content: space-between;
}

#progressbar li {
  list-style-type: none;
  font-size: 14px;
  width: 25%;
  position: relative;
  text-align: center;
  font-weight: 500;
}

#progressbar li:before {
  content: '';
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto 10px auto;
  background: #d1d5db;
  border-radius: 50%;
  line-height: 40px;
  color: white;
}

#progressbar li.active:before {
  background: #4f46e5;
}

#progressbar li:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #d1d5db;
  top: 20px;
  left: -50%;
  z-index: -1;
}

#progressbar li:first-child:after {
  content: none;
}

#progressbar li.active + li:after {
  background: #4f46e5;
}

/* Year Grid Modern Styling */
.year-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.model_card label.vehicle-option {
    flex-direction: row-reverse;
}
.form-card.model_card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.lease_gx label.vehicle-option {
    width: 100% !important;
}

.year-grid label, .vehicle-option .small_card, .model_card label.vehicle-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px !important;
    transition: all 0.3s;
    padding: 20px;
	gap: 12px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.year-grid label:hover {
    background-color: #00305a0d;
}

.vehicle-grid input[type="radio"]:checked+.small_card {
    background: #00305a0d !important;
    opacity: 1;
}
.vehicle-grid input[type="radio"]{
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    opacity: 0;
	inset: 0;
	cursor: pointer;
}
#msform .year-grid input[type="radio"], #msform .model_card input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #d6d6d6;
    border-radius: 50% !important;
    cursor: pointer;
    position: relative;
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem !important;
    min-width: 1.5rem !important;
    padding: 0 !important;
}

.year-grid input[type="radio"]:checked::after,
#msform .model_card input[type="radio"]:checked::after{
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    inset: 0;
    border: 8px solid var( --e-global-color-primary );
}
.show-more {
    text-align: center;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
    font-size: 18px;
	color: var( --e-global-color-primary )
}

.fit-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.fit-image:hover {
  transform: scale(1.05);
}
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.vehicle-grid label {
    position: relative;
}
.vehicle-grid img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s;
}
.vehicle-grid label:hover img {
  transform: scale(1.1);
}
.tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
}
/* CSS Added - 12-03-2026 */
.vehicle-make-tab{
    display:none !important;
}
.vehicle-grid label:hover .small_card {
    background: #00305a0d;
}
.tabs button {
    width: calc(100% / 2 - 16px);
    padding: 32px !important;
    border: 1px solid #D6D6D6 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: var(--e-global-color-primary) !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    font-size: 24px !important;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 24px;
    align-items: center;
	    justify-content: center;
}
.tabs button::after {
    content: "";
    width: 50px;
    height: 50px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.tabs button:first-child::after {
    background-image: url(/wp-content/uploads/2026/02/motorcyle.png);
}
.tabs button:last-child::after {
    background-image: url(/wp-content/uploads/2026/02/car.png);
}
button.tab-btn.active {
    background-color: var(--e-global-color-primary) !important;
    color: #ffffff !important;
}
button.tab-btn.active::after {
    filter: brightness(0) invert(1);
}
.vehicle-grid span {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}
.small_card {
    flex-direction: column;
}



/* ------ */
/* Hide bottom Next/Previous buttons in all steps (except ZIP "Check Rates") */
 .hide-action-button{
    display: none !important;
} 
/* progress bar css  */
.progress-bar-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0px 30px;
}

.progress-bar-main .btn-main {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px;
}

.progress-bar-main .btn-main a {
    background: none;
    border: none;
    padding: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.progress-bar-main .btn-main button:hover {
    color: #d86929;
}

.progress-bar-main .progress-container {
    width: 100%;
    background-color: #d869291f;
    border-radius: 20px;
    overflow: hidden;
}

.progress-bar-main .progress-bar {
    width: 0%;
    height: 10px;
    background-color: #d86929;
    border-radius: 20px;
    transition: width 0.4s ease;
}

.progress-bar-main .progress-bar-text {
    padding-top: 30px;
    text-align: center;
}

.progress-bar-main  .progress-bar-text h2 {
    color: #d86929;
    margin: 0;
    font-size: 24px;
}

/* CSSS */
.btn-previous-top img {
    max-width: 18px !important;
    object-fit: contain;
	transform: rotate(180deg);
}
.btn-previous-top, .btn-exit-top {
    display: flex;
    align-self: center;
    gap: 6px;
    text-transform: uppercase;
}
.btn-exit-top img {
    max-width: 14px !important;
    object-fit: contain;
}
/* ZIPCODE CSS  */

#zipcode {
    transition: border-color 0.2s;
}

#zipcode:invalid:focus {
    border-color: #dc2626;
}

.error-message {
    min-height: 20px;
    line-height: 1.4;
}

#zip-check-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #9ca3af !important;
	border-color: #9ca3af;
}
/* ZIPCODE Valid */
#zipcode:valid {
    border-color: #10b981 !important;
}

/* NAME GRID SPACING */
.name-grid{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#step-driver-names .action-button,
#step-driver-names .action-button-previous,
#step-address .action-button,
#step-address .action-button-previous,
#step-email .action-button,
#step-email .action-button-previous,
#step-phone .action-button,
#step-phone .action-button-previous {
    margin-top: 24px;
}
/* CSS For Admin Backend */
@media (max-width: 1024px) {
	.year-grid,
	.vehicle-grid{
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 768px) {
	#msform {
		padding: 50px 20px;
	}
	.btn-previous-top, .btn-exit-top {
		font-size: 14px !important;
	}
	.progress-bar-main .progress-bar-text h2 {
		font-size: 18px;
	}
	.btn-exit-top img {
		max-width: 10px !important;
	}
	.btn-previous-top img {
		max-width: 16px !important;
	}
	.year-grid,
	.vehicle-grid{
		grid-template-columns: repeat(2, 1fr);
	}
	.tabs button {
		padding: 15px 20px !important;
		font-size: 16px !important;
		gap: 10px;
	}
	.tabs button::after {
		width: 20px;
		height: 20px;
	}
	.head_main h2 {
		font-size: 24px !important;
	}
}
@media (max-width: 480px) {
	.year-grid,
	.vehicle-grid,
	.form-card.model_card{
		grid-template-columns: repeat(1, 1fr);
	}
	.tabs {
		gap: 14px;
		flex-wrap: wrap;
		width: 100%;
	}
	.tabs button {
		width: 100%;
	}
	.dob-field {
    width: 70px !important;
}
	.dob-wrapper {
    padding: 10px !important;
}
}


/* CSS BY CWJ - 09-03-2026 */
/* HIDE THE TABS */


/* Hide motorcycle tab button in ALL vehicle make steps */
.tabs button[onclick*="motorcycle"],
.tabs button[onclick*="motorcycle2"],
.tabs button[onclick*="motorcycle3"] {
    display: none !important;
}

/* Hide all motorcycle content blocks */
#motorcycle,
#motorcycle2,
#motorcycle3 {
    display: none !important;
}

/* Force ALL car content blocks to be visible by default */
#car,
#car2,
#car3 {
    display: block !important;
}

/* Dropdown in Vehicle MAke */
.vehicle-dropdown{
	width: 100%;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    font-size: 18px !important;
    transition: all 0.3s;
    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background: transparent;
}

/* --- */

.dob-wrapper{
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.dob-field{
    outline: none;
    max-width: 120px !important;
    text-align: center;
    font-size: 16px !important;
    padding: 0px !important;
    min-height: auto !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}

.dob-wrapper span{
    margin:0 6px;
    font-size:18px;
}


/*  */
.year_error {
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    background: #fee2e2;
    border-radius: 6px;
}
/* -- At Last - For Submit Button */
.tcpa-consent{
    max-width:650px;
    margin:15px auto 20px;
    font-size:15px;
    line-height:1.5;
    color:#555;
    text-align:center;
}