/* TAP-44 application selector */
:root {
  --application-ink: #040916;
  --application-pink: #da0030;
  --application-teal: #00a3a5;
}
body {
  color: var(--application-ink);
}
.container#top {
  max-width: 1180px;
}
.container#top > .progress {
  display: none;
}
.steps > div[data-step='1'] h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 66px auto 42px !important;
  max-width: 780px;
}
.steps > div[data-step='1'] h2 .blue {
  color: var(--application-pink);
}
.steps > div[data-step='1'] h2 span:last-child {
  color: var(--application-teal);
}
.steps > div[data-step='1'] .text-center > p {
  color: #5b6472;
  font-size: 17px;
}
.steps > div[data-step='1'] .text-center > img {
  opacity: 0.65;
  width: 230px !important;
}
.car-group .d-grid {
  min-height: 246px;
  padding: 8px !important;
}
.car-group .btn-default {
  border: 1px solid #dfe1e4;
  border-bottom: 4px solid #e1e3e5;
  border-radius: 15px;
  opacity: 1;
  padding: 15px;
}
.car-group .btn-default:hover,
.car-group .btn-default.active {
  border-color: #dfe1e4;
  box-shadow: none;
}
.car-group .btn-default h5 {
  font-size: 23px;
  margin: 10px 0 8px !important;
}
.car-group .btn-default img {
  height: 140px;
  object-fit: contain;
}
.car-group .btn-default:last-child h5 {
  margin-top: 75px !important;
  color: #5b6472;
}
.steps > div[data-step='1'] .continue {
  margin: 28px auto 65px;
  background: #eb3d65;
  max-width: 520px;
  padding: 15px !important;
}
.steps > div[data-step='1'] .continue .btn-primary {
  background: var(--application-pink);
  border: 0;
  border-radius: 14px;
  font-size: 24px;
  font-weight: 700;
  width: 100%;
  padding: 18px !important;
}
.steps > div[data-step='1'] .continue p {
  color: var(--application-teal);
  font-size: 18px;
}
@media (max-width: 767px) {
  .steps > div[data-step='1'] h2 {
    margin: 40px auto 25px !important;
    font-size: 30px;
  }
  .car-group-mobile .btn-form {
    border-radius: 10px;
  }
  .steps > div[data-step='1'] .continue p {
    font-size: 13px;
  }
}
/* Sticky footer styles
-------------------------------------------------- */

html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  background-color: white;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  background-color: transparent;
}

/* Sticky footer styles ends
-------------------------------------------------- */

.progress {
  margin-bottom: 0;
}

.progress-bar {
  background: rgba(219, 88, 22, 1);
  background: -moz-linear-gradient(
    left,
    rgba(219, 88, 22, 1) 0%,
    rgba(246, 191, 63, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    right top,
    color-stop(0%, rgba(219, 88, 22, 1)),
    color-stop(100%, rgba(246, 191, 63, 1))
  );
  background: -webkit-linear-gradient(
    left,
    rgba(219, 88, 22, 1) 0%,
    rgba(246, 191, 63, 1) 100%
  );
  background: -o-linear-gradient(
    left,
    rgba(219, 88, 22, 1) 0%,
    rgba(246, 191, 63, 1) 100%
  );
  background: -ms-linear-gradient(
    left,
    rgba(219, 88, 22, 1) 0%,
    rgba(246, 191, 63, 1) 100%
  );
  background: linear-gradient(
    to right,
    rgba(219, 88, 22, 1) 0%,
    rgba(246, 191, 63, 1) 100%
  );
  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#db5816', endColorstr='#f6bf3f', GradientType=1);
}

.progress-back {
  height: 8px;
  margin: 3% 15% 0 15%;
  background-color: #dfdfdf;
}

.progress-front {
  height: 8px;
  margin: -8px 15% 0 15%;
  background-color: transparent;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.bg-dark {
  background-color: #1a6d9c !important;
}

.bg-light {
  background-color: #ffffff !important;
  border-bottom: 1px solid #1a6d9c;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(26,109,157, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.btn.focus,
.btn:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  box-shadow: none;
}

body {
  background-image: url('~/../../images/bg-1.png');
  background-position-x: right;
  background-position-y: bottom;
  background-size: cover;
}

.blue-bg-desk {
  background-image: url('~/../../images/b/desktop-bg.png');
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
}

.blue-bg {
  background-image: url('~/../../images/b/mobile-bg.png');
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
  margin: 0 -35px;
  padding: 15px 35px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 1);
}

img {
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.logo {
  height: 30px;
  width: auto;
  margin: 5px 0;
}

.btn-default img {
  width: 100%;
  height: auto;
}

.btn-default {
  background-color: #e6e6e6;
  border: 1px solid gray;
  opacity: 0.6;
  border-radius: 0;
}

.btn-default:hover,
.btn-default:active,
.btn-default.active,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover {
  background-color: #fff;
  border: 1px solid #1a6d9c;
  opacity: 1;
  outline: none;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(26, 109, 156, 1);
  -moz-box-shadow: 0px 0px 0px 1px rgba(26, 109, 156, 1);
  box-shadow: 0px 0px 0px 1px rgba(26, 109, 156, 1);
}

.btn-form {
  font-size: 16px;
  padding: 12px 0;
  background-color: #fff;
  border-color: #dcdcdc;
  border-radius: 0;
  border-bottom: 5px solid #dcdcdc;
}

.btn-form.active,
.btn-form:active,
.btn-form:hover,
.btn-form.focus,
.btn-form:focus,
.btn-form.active.focus,
.btn-form.active:focus,
.btn-form.active:hover,
.btn-form:active.focus,
.btn-form:active:focus,
.btn-form:active:hover {
  background-image: none;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  background-color: #fff;
  border-color: rgba(26, 109, 156, 1);
  border-bottom: 5px solid rgba(26, 109, 156, 1);
  outline: 0;
}

.btn-primary {
  font-size: 20px;
  padding: 12px 100px !important;
  border-radius: 1px;
  border: none;
  background: rgba(26, 154, 239, 1);
  background: -moz-linear-gradient(
    top,
    rgba(26, 154, 239, 1) 0%,
    rgba(26, 111, 160, 1) 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, rgba(26, 154, 239, 1)),
    color-stop(100%, rgba(26, 111, 160, 1))
  );
  background: -webkit-linear-gradient(
    top,
    rgba(26, 154, 239, 1) 0%,
    rgba(26, 111, 160, 1) 100%
  );
  background: -o-linear-gradient(
    top,
    rgba(26, 154, 239, 1) 0%,
    rgba(26, 111, 160, 1) 100%
  );
  background: -ms-linear-gradient(
    top,
    rgba(26, 154, 239, 1) 0%,
    rgba(26, 111, 160, 1) 100%
  );
  background: linear-gradient(
    to bottom,
    rgba(26, 154, 239, 1) 0%,
    rgba(26, 111, 160, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a9aef', endColorstr='#1a6fa0', GradientType=0 );
}

.btn-primary.active,
.btn-primary:active,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: #18638d;
  border-color: #18638d;
  outline: 0;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff;
  background-color: #18638d;
  border-color: #18638d;
}

.btn-warning {
  max-width: 400px;
  color: #fff !important;
  background-color: #ff6b00;
  border-color: #ff6b00;
  border-radius: 1px;
  font-size: 20px;
  padding: 12px;
}

.btn-warning.active,
.btn-warning:active,
.btn-warning:hover,
.btn-warning.focus,
.btn-warning:focus,
.btn-warning.active.focus,
.btn-warning.active:focus,
.btn-warning.active:hover,
.btn-warning:active.focus,
.btn-warning:active:focus,
.btn-warning:active:hover,
.btn-warning:not(:disabled):not(.disabled).active,
.btn-warning:not(:disabled):not(.disabled):active,
.show > .btn-warning.dropdown-toggle {
  background-color: #da5c01;
  border-color: #da5c01;
  outline: 0;
}

.blue {
  color: #1a6d9c;
}

.h2,
h2 {
  font-size: 1.75rem;
}

.font-weight-500 {
  font-weight: 500;
}

.form-control {
  height: 50px;
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 0;
}

.form-control-match {
  margin-left: -11px;
  width: 106%;
}

select.form-control:not([size]):not([multiple]) {
  height: 50px;
}

.input-group {
  border: 1px solid #ced4da;
}

.input-group-text {
  padding: 0.375rem 0 0.375rem 0.75rem;
  font-size: 1.5rem;
  border-radius: 0;
  background-color: transparent;
  border: 0;
}

.p-1.text-center.continue {
  margin-right: -15px;
  margin-left: -15px;
}

[data-step='2'],
[data-step='3'],
[data-step='4'],
[data-step='5'],
[data-step='6'],
[data-step='7'],
[data-step='8'],
[data-step='9'],
[data-step='10'],
[data-step='11'],
[data-step='12'] {
  display: none;
}

#progressbar {
  margin: 20px auto;
  width: 200px;
  height: 200px;
  position: relative;
}

.animated {
  animation-duration: 0.5s;
}

.has-error {
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  background-color: rgba(224, 43, 26, 0.1);
}

.has-error:focus {
  background-color: transparent;
}

#overlay {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(246, 244, 241, 0.85);
  z-index: 2;
}

.loading {
  width: 60px;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#text {
  position: relative;
  text-align: center;
  margin: 120px auto;
  max-width: 500px;
}

.overlay-frame {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin: auto 20px;
  -webkit-box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 2px 5px 3px rgba(0, 0, 0, 0.1);
}

#progressbar {
  margin: 20px auto;
  width: 200px;
  height: 200px;
  position: relative;
}

.border-primary {
  border-color: #1a6d9c !important;
}

.mcafee {
  width: auto;
  height: 35px;
}

.cashmoney,
.movetonext {
  cursor: pointer;
}

.month-box {
  width: 108%;
  margin-left: -15px;
  padding: 6px 1px 6px 6px;
}

@media only screen and (max-width: 1199.98px) {
  .month-box {
    width: 110%;
    margin-left: -11px;
    padding: 6px 1px 6px 6px;
  }
}

@media only screen and (max-width: 991.98px) {
  .btn-form {
    font-size: 15px;
  }
}

@media only screen and (max-width: 767.98px) {
  body {
    margin-bottom: 120px;
  }
  footer {
    height: 120px;
  }
  .progress-back {
    margin: 25px 15px 0 15px;
  }
  .progress-front {
    margin: -8px 15px 0 15px;
  }
  .logo {
    height: 25px;
  }
  .btn-primary {
    max-width: 500px;
  }
  #text {
    margin: 20px auto;
  }
  #text::-webkit-scrollbar {
    display: none;
  }
  .form {
    padding: 0 20px;
    margin: 10px 0;
  }
  h2,
  .h2 {
    font-size: 24px;
  }
  h3,
  .h3 {
    font-size: 20px;
  }
  h4,
  .h4 {
    font-size: 18px;
  }
  .small,
  small {
    font-size: 70%;
  }
  .text-center-mobile {
    text-align: center !important;
  }
  .mb-2-mobile {
    margin-bottom: 0.5rem !important;
  }
  .mcafee {
    width: auto;
    height: 30px;
  }
}

/* ============================================================
   TAP-44 — brand alignment override [Phase 3]
   Bring the application flow onto the pink/teal design system
   used across the rest of the site (was legacy blue/orange).
   ============================================================ */
:root {
  --application-pink-dark: #b30027;
}

/* Step 1 "I Want a Car" button: drop the old solid-pink block behind it */
.steps > div[data-step='1'] .continue {
  background: transparent;
  padding: 0 !important;
  max-width: 320px;
}
.steps > div[data-step='1'] .continue .btn-primary {
  border-radius: 999px;
  display: block;
  margin: 0 auto;
}
.steps > div[data-step='1'] .continue p {
  color: #5b6472;
  margin-top: 14px;
}

/* Caption / helper text under each step: gray, not blue */
.blue {
  color: #5b6472;
}
.steps > div[data-step='1'] h2 .blue {
  color: var(--application-pink);
}
.continue p.blue {
  color: #5b6472;
}

/* Progress bar: was hidden by a stray ".progress" selector, and used an
   orange/yellow gradient. Show it, in the site's teal -> pink gradient. */
.container#top > .progress.progress-front {
  display: block !important;
}
.progress-back {
  background-color: #e6e8eb;
}
.progress-bar {
  height: 100% !important;
  background: linear-gradient(to right, var(--application-teal) 0%, var(--application-pink) 100%);
}

/* Primary "Continue" / "Submit" button used on every later step */
.btn-primary {
  background: var(--application-pink);
  border: 0;
  border-radius: 999px;
  padding: 14px 60px !important;
  font-size: 16px;
  font-weight: 700;
  box-shadow: none;
}
.btn-primary.active,
.btn-primary:active,
.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--application-pink-dark);
  border-color: transparent;
  outline: 0;
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: var(--application-pink-dark);
  border-color: transparent;
}

/* Choice pills (budget / driving / rent / credit score, etc.) */
.btn-form {
  border-radius: 10px;
}
.btn-form.active,
.btn-form:active,
.btn-form:hover,
.btn-form.focus,
.btn-form:focus,
.btn-form.active.focus,
.btn-form.active:focus,
.btn-form.active:hover,
.btn-form:active.focus,
.btn-form:active:focus,
.btn-form:active:hover {
  border-color: var(--application-pink) !important;
  color: var(--application-ink) !important;
  box-shadow: none !important;
}

/* Vehicle-style cards (step 1) */
.car-group .btn-default:hover,
.car-group .btn-default.active {
  border: 1px solid var(--application-pink) !important;
  box-shadow: 0 0 0 1px var(--application-pink) !important;
}

/* Text inputs */
.form-control:focus {
  border-color: var(--application-pink) !important;
  box-shadow: 0 0 0 1px var(--application-pink) !important;
}

/* Minimal "SECURE · SSL ENCRYPTED" line, matches the TAP-44 mockups */
.tcs-secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5b6472;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 auto;
}
.tcs-secure-line i {
  color: var(--application-teal);
  font-size: 12px;
}
