html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

/* NAVBAR - ALL PAGES */

.navbar {
  min-height: 96px !important;
  padding: 18px 0 !important;
  background: rgb(8, 17, 23) !important;
}

.main-nav {
  width: 100% !important;
  max-width: none !important;
  padding-left: 7% !important;
  padding-right: 7% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap;
}

.nav-logo {
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
}

.navbar-toggler {
  margin-left: auto !important;
}

.navbar-collapse {
  flex-grow: 0;
}

.nav-login {
  margin-left: auto;
}

.nav-login .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}

.nav-login .nav-link {
  padding: 0 !important;
  color: white !important;
  font-size: 18px !important;
  text-decoration: none;
}

.nav-login .nav-link:hover {
  color: rgb(35, 126, 240) !important;
}

/* LANDING PAGE */

body.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
}

.landing-page > section {
  flex: 1;
}

.landing-page .hero-title {
  margin: 0 0 8px;
  color: white;
  font-size: clamp(60px, 6vw, 120px);
  font-weight: 700;
  line-height: 1.02;
  white-space: nowrap;
}

.landing-page .hero-description {
  max-width: 650px;
  margin: 0 0 24px;
  color: rgb(208, 216, 221);
  font-size: clamp(18px, 1.4vw, 26px);
  line-height: 1.5;
}

.landing-page .hero-button {
  min-width: 190px;
  min-height: 58px;
  padding: 17px 28px;
  background: rgb(35, 126, 240);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.landing-page .hero-button:hover {
  background: rgb(47, 143, 247);
  color: white;
}

/* HERO SECTION */

.landing-page .hero-section {
  height: 58vh;
  min-height: 480px;
}

/* LANDING PAGE - FEATURE CARDS */

.landing-page .features-container {
  width: 86%;
  max-width: 1400px;
  margin: -35px auto 0;
  position: relative;
  z-index: 3;
}

.landing-page .feature-card {
  min-height: 300px;
  overflow: hidden;
  background: rgb(15, 27, 34) !important;
  border: 1px solid rgba(35, 126, 240, 0.35) !important;
  border-radius: 12px;
  color: rgb(208, 216, 221) !important;
}

.landing-page .feature-card .card-body {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgb(15, 27, 34) !important;
  color: rgb(208, 216, 221) !important;
}

.landing-page .feature-card .bs-icon {
  width: 64px;
  height: 64px;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: static !important;
  background: rgb(17, 34, 44) !important;
  border-radius: 14px;
  color: rgb(83, 168, 255) !important;
}

.landing-page .feature-card .bs-icon svg {
  width: 30px !important;
  height: 30px !important;
  fill: currentColor;
}

.landing-page .feature-title {
  margin: 0 0 10px;
  color: white !important;
  font-size: 20px;
  font-weight: 700;
}

.landing-page .feature-text {
  margin: 0;
  color: rgb(208, 216, 221) !important;
  font-size: 18px;
  line-height: 1.55;
}

/* REGISTER PAGE */

body.register-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
}

.register-page .register-section {
  flex: 1;
  padding: 50px 20px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgb(7, 16, 22);
}

.register-page .register-card {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.4);
  border-radius: 12px;
  color: white;
}

.register-page .register-title {
  margin: 0 0 8px;
  text-align: center;
  color: white;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.register-page .register-subtitle {
  margin: 0 0 32px;
  text-align: center;
  color: rgb(174, 186, 194);
  font-size: 16px;
  line-height: 1.5;
}

.register-page .register-label {
  display: block;
  margin: 0 0 8px;
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.register-page .register-input {
  width: 100%;
  height: 56px;
  margin: 0 0 22px;
  padding: 0 16px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  font-size: 16px;
}

.register-page .register-input::placeholder {
  color: rgb(142, 154, 162);
}

.register-page .register-input:focus {
  background: rgb(12, 23, 30);
  color: white;
  border-color: rgb(35, 126, 240);
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15);
  outline: none;
}

.register-page .register-button {
  width: 100%;
  height: 58px;
  background: rgb(35, 126, 240);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 18px;
  font-weight: 700;
  transition: 0.2s ease;
}

.register-page .register-button:hover {
  background: rgb(47, 143, 247);
  color: white;
}

/* FOOTER - ALL PAGES */

footer {
  width: 100% !important;
  min-height: 125px !important;
  padding: 28px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgb(6, 14, 19) !important;
  color: rgb(208, 216, 221) !important;
}

footer .container {
  width: 100% !important;
}

.register-page footer, .landing-page footer {
  margin-top: auto !important;
}

footer a {
  color: rgb(208, 216, 221);
  text-decoration: none;
}

footer a:hover {
  color: rgb(35, 126, 240);
}

/* MOBILE */

/* NAVBAR */

@media (max-width: 767px) {
  .navbar {
  min-height: 78px !important;
  padding: 12px 0 !important;
  }


  .main-nav {
  padding-left: 20px !important;
  padding-right: 20px !important;
  }


  .nav-logo {
  width: 125px !important;
  max-width: 125px !important;
  }


  .navbar-toggler {
  margin-left: auto !important;
  }


  .navbar-collapse {
  width: 100% !important;
  flex-basis: 100% !important;
  }


  .navbar-collapse.nav-login {
  width: 100% !important;
  margin: 15px 0 0 !important;
  }


  .navbar-collapse.nav-login .navbar-nav {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  }


  .navbar-collapse.nav-login .nav-item {
  width: 100% !important;
  }


  .navbar-collapse.nav-login .nav-link {
  display: block !important;
  width: 100% !important;
  padding: 12px 0 !important;
  text-align: left !important;
  font-size: 17px !important;
  }
}

/* LANDING PAGE */

@media (max-width: 767px) {
  .landing-page .hero-title {
  font-size: 42px;
  white-space: normal;
  }


  .landing-page .hero-description {
  font-size: 16px;
  line-height: 1.5;
  }


  .landing-page .features-container {
  width: calc(100% - 32px);
  margin-top: -20px;
  }


  .landing-page .feature-card {
  min-height: auto;
  }


  .landing-page .feature-card .card-body {
  padding: 24px;
  }
}

/* REGISTER PAGE */

@media (max-width: 767px) {
  .register-page .register-section {
  padding: 35px 16px;
  }


  .register-page .register-card {
  max-width: 100%;
  padding: 28px 22px;
  }


  .register-page .register-title {
  font-size: 30px;
  }


  .register-page .register-subtitle {
  margin-bottom: 26px;
  font-size: 15px;
  }


  .register-page .register-input {
  height: 52px;
  margin-bottom: 18px;
  font-size: 15px;
  }


  .register-page .register-button {
  height: 54px;
  font-size: 17px;
  }
}

/* FOOTER */

@media (max-width: 767px) {
  footer {
  min-height: 100px !important;
  padding: 22px 0 !important;
  }
}

/* ADD VEHICLE PAGE */

body.add-vehicle-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.add-vehicle-page .add-vehicle-section {
  flex: 1;
  padding: 38px 0 46px;
  background: radial-gradient(circle at 70% 10%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

.add-vehicle-page .add-vehicle-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* PAGE HEADING */

.add-vehicle-page .add-vehicle-heading {
  margin-bottom: 24px;
  text-align: center;
}

.add-vehicle-page .add-vehicle-heading h1 {
  margin: 0 0 6px;
  color: white;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
}

.add-vehicle-page .add-vehicle-heading p {
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 17px;
}

/* MAIN TWO-COLUMN LAYOUT */

.add-vehicle-page .g-4 {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

/* SHARED PANELS */

.add-vehicle-page .vehicle-panel {
  width: 100%;
  padding: 24px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.48);
  border-radius: 10px;
  color: white;
}

.add-vehicle-page .vehicle-panel > h1, .add-vehicle-page .vehicle-panel > h2, .add-vehicle-page .vehicle-panel > h3, .add-vehicle-page .vehicle-panel > h4, .add-vehicle-page .vehicle-panel > h5, .add-vehicle-page .vehicle-panel > h6 {
  margin: 0 0 20px;
  color: white;
  font-size: 22px;
  font-weight: 700;
}

/* LEFT IMAGE PANEL */

.add-vehicle-page .vehicle-image-panel {
  height: 100%;
  min-height: 590px;
  display: flex;
  flex-direction: column;
}

.add-vehicle-page .vehicle-upload {
  flex: 1;
  min-height: 395px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(17, 34, 44, 0.20);
  border: 2px dashed rgb(35, 126, 240);
  border-radius: 8px;
}

.add-vehicle-page .vehicle-upload .bi, .add-vehicle-page .vehicle-upload svg {
  margin-bottom: 18px;
  color: rgb(83, 168, 255);
  font-size: 58px;
}

.add-vehicle-page .vehicle-upload h1, .add-vehicle-page .vehicle-upload h2, .add-vehicle-page .vehicle-upload h3, .add-vehicle-page .vehicle-upload h4, .add-vehicle-page .vehicle-upload h5, .add-vehicle-page .vehicle-upload h6 {
  max-width: 330px;
  margin: 0 0 8px;
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.add-vehicle-page .vehicle-upload p {
  margin: 0 0 20px;
  color: rgb(145, 160, 169);
  font-size: 15px;
}

.add-vehicle-page .vehicle-upload input[type="file"] {
  width: 100%;
  max-width: 330px;
  color: rgb(174, 188, 196);
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.add-vehicle-page .vehicle-upload input[type="file"]::file-selector-button {
  padding: 9px 14px;
  margin-right: 12px;
  background: rgb(35, 126, 240);
  border: none;
  color: white;
  cursor: pointer;
}

.add-vehicle-page .vehicle-image-panel > .btn {
  width: 170px;
  margin: 20px auto 0;
  padding: 10px 18px;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px;
  color: white !important;
}

.add-vehicle-page .vehicle-image-panel > .btn:hover {
  background: rgb(35, 126, 240) !important;
}

/* VEHICLE DETAILS */

.add-vehicle-page #vehicle-panel {
  min-height: 100%;
}

.add-vehicle-page .vehicle-form-row {
  width: 100%;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.add-vehicle-page .vehicle-form-row:last-child {
  margin-bottom: 0;
}

.add-vehicle-page .vehicle-form-row > .form-label {
  margin: 0;
  color: white;
  font-size: 16px;
  font-weight: 400;
}

/* Your current Bootstrap Studio project has the text inputs nested
  inside their labels. This rule makes that structure line up like
  the wireframe without requiring you to rebuild every field. */

.add-vehicle-page .vehicle-form-row > .form-label:has(input) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.add-vehicle-page .vehicle-form-row input[type="text"], .add-vehicle-page .vehicle-form-row input[type="number"], .add-vehicle-page .vehicle-form-row input[type="email"], .add-vehicle-page .vehicle-form-row input[type="password"], .add-vehicle-page .vehicle-form-row textarea, .add-vehicle-page .vehicle-form-row .form-control, .add-vehicle-page .vehicle-form-row .form-select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: white;
  font-size: 15px;
  outline: none;
}

.add-vehicle-page .vehicle-form-row textarea {
  min-height: 95px;
  resize: vertical;
}

.add-vehicle-page .vehicle-form-row input::placeholder, .add-vehicle-page .vehicle-form-row textarea::placeholder {
  color: rgb(125, 141, 151);
}

.add-vehicle-page .vehicle-form-row input:focus, .add-vehicle-page .vehicle-form-row textarea:focus, .add-vehicle-page .vehicle-form-row .form-control:focus, .add-vehicle-page .vehicle-form-row .form-select:focus {
  background: rgb(12, 23, 30);
  border-color: rgb(35, 126, 240);
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15);
  color: white;
}

/* ADDITIONAL DETAILS PANEL */

.add-vehicle-page #Additional-Details {
  margin-top: 18px;
  padding: 22px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.48);
  border-radius: 10px;
}

.add-vehicle-page #Additional-Details > h1, .add-vehicle-page #Additional-Details > h2, .add-vehicle-page #Additional-Details > h3, .add-vehicle-page #Additional-Details > h4, .add-vehicle-page #Additional-Details > h5, .add-vehicle-page #Additional-Details > h6 {
  margin: 0 0 18px;
  color: white;
  font-size: 21px;
  font-weight: 700;
}

/* SAVE + CANCEL */

.add-vehicle-page .vehicle-actions {
  max-width: 600px;
  margin: 22px auto 0;
  text-align: center;
}

.add-vehicle-page .vehicle-actions > div {
  width: 100%;
}

.add-vehicle-page .save-vehicle-btn {
  width: 100%;
  min-height: 56px;
  padding: 12px 24px;
  background: rgb(35, 126, 240) !important;
  border: none !important;
  border-radius: 7px;
  color: white !important;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.add-vehicle-page .save-vehicle-btn:hover {
  background: rgb(47, 143, 247) !important;
  transform: translateY(-1px);
}

.add-vehicle-page .cancel-action {
  margin-top: 14px;
  text-align: center;
}

.add-vehicle-page .cancel-action a {
  color: rgb(83, 168, 255);
  font-size: 15px;
  text-decoration: underline;
}

.add-vehicle-page .cancel-action a:hover {
  color: rgb(112, 187, 255);
}

/* ADD VEHICLE FOOTER */

.add-vehicle-page footer {
  margin-top: auto !important;
}

/* ADD VEHICLE - TABLET */

@media (max-width: 991px) {
  .add-vehicle-page .add-vehicle-container {
  width: calc(100% - 32px);
  }


  .add-vehicle-page .vehicle-image-panel {
  min-height: auto;
  }


  .add-vehicle-page .vehicle-upload {
  min-height: 320px;
  }
}

/* ADD VEHICLE - MOBILE */

@media (max-width: 767px) {
  .add-vehicle-page .add-vehicle-section {
  padding: 28px 0 36px;
  }


  .add-vehicle-page .add-vehicle-container {
  width: calc(100% - 24px);
  }


  .add-vehicle-page .add-vehicle-heading {
  margin-bottom: 20px;
  }


  .add-vehicle-page .add-vehicle-heading h1 {
  font-size: 34px;
  }


  .add-vehicle-page .add-vehicle-heading p {
  padding: 0 10px;
  font-size: 15px;
  }


  .add-vehicle-page .vehicle-panel {
  padding: 20px;
  }


  .add-vehicle-page .vehicle-upload {
  min-height: 280px;
  padding: 24px 16px;
  }


  .add-vehicle-page .vehicle-form-row {
  display: block;
  margin-bottom: 18px;
  }


  .add-vehicle-page .vehicle-form-row > .form-label, .add-vehicle-page .vehicle-form-row > .form-label:has(input) {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  }


  .add-vehicle-page .vehicle-form-row > .form-label:has(input) input {
  display: block;
  width: 100%;
  margin-top: 8px;
  }


  .add-vehicle-page .vehicle-form-row .dropdown {
  width: 100%;
  margin-top: 8px;
  }


  .add-vehicle-page #Additional-Details {
  padding: 20px;
  }


  .add-vehicle-page .vehicle-actions {
  width: 100%;
  max-width: none;
  margin-top: 20px;
  }


  .add-vehicle-page .save-vehicle-btn {
  min-height: 54px;
  font-size: 17px;
  }
}

/* ADD VEHICLE - DROPDOWNS */

/* Keep Bootstrap Studio dropdowns visually consistent with form inputs */

.add-vehicle-page .vehicle-form-row .dropdown {
  width: 100%;
}

.add-vehicle-page .vehicle-form-row .dropdown-toggle {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 6px !important;
  color: rgb(208, 216, 221) !important;
  text-align: left;
  box-shadow: none !important;
}

.add-vehicle-page .vehicle-form-row .dropdown-toggle:hover, .add-vehicle-page .vehicle-form-row .dropdown-toggle:focus {
  background: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  color: white !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
}

.add-vehicle-page .vehicle-form-row .dropdown-toggle::after {
  margin-left: auto;
}

.add-vehicle-page .vehicle-form-row .dropdown-menu {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.4);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.add-vehicle-page .vehicle-form-row .dropdown-item {
  padding: 10px 12px;
  border-radius: 5px;
  color: rgb(208, 216, 221);
  background: transparent;
}

.add-vehicle-page .vehicle-form-row .dropdown-item:hover, .add-vehicle-page .vehicle-form-row .dropdown-item:focus {
  background: rgb(17, 34, 44);
  color: white;
}

/* Bootstrap Studio currently has your dropdowns saved as expanded
  (.show + aria-expanded="true"). This keeps them closed on first load
  and lets them appear while the dropdown control has focus. */

.add-vehicle-page .vehicle-form-row .dropdown:not(:focus-within) > .dropdown-menu {
  display: none !important;
}

.add-vehicle-page .vehicle-form-row .dropdown:focus-within > .dropdown-menu.show {
  display: block !important;
}

/* MOBILE NAVBAR - BOOTSTRAP COLLAPSE FIX */

/* Let Bootstrap control visibility with .collapse / .show */

@media (max-width: 767px) {
  .navbar-collapse.nav-login:not(.show) {
  display: none !important;
  }


  .navbar-collapse.nav-login.show {
  display: block !important;
  }


  .navbar-collapse.nav-login .navbar-nav {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  }


  .navbar-collapse.nav-login .nav-item {
  width: 100% !important;
  }


  .navbar-collapse.nav-login .nav-link {
  display: block !important;
  width: 100% !important;
  padding: 12px 0 !important;
  text-align: left !important;
  font-size: 17px !important;
  }
}

/* DASHBOARD PAGE */

body.dashboard-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.dashboard-page .dashboard-section {
  flex: 1;
  padding: 42px 0 50px;
  background: radial-gradient(circle at 72% 10%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

/* Your dashboard currently still uses add-vehicle-container.
  This keeps it styled correctly until you rename it to dashboard-container. */

.dashboard-page .add-vehicle-container, .dashboard-page .dashboard-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* MY VEHICLES */

.dashboard-page .vehicles-section {
  width: 100%;
}

.dashboard-page .dashboard-section-header {
  width: 100%;
}

.dashboard-page .dashboard-section-header > h1, .dashboard-page .dashboard-section-header > h2 {
  margin: 0 0 22px;
  color: white;
  font-size: 34px;
  font-weight: 700;
}

/* My Vehicles heading and Add Vehicle button */
.dashboard-page .dashboard-section-header .row h1 {
  margin: 0;
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.dashboard-page .dashboard-section-header > .row:first-child {
  margin-bottom: 24px;
}

.dashboard-page .dashboard-section-header > .row:first-child .btn {    padding: 10px 20px;
  background: rgb(35, 126, 240);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.dashboard-page .dashboard-section-header .row .btn:hover {
  background: rgb(47, 143, 247);
}

/* Add Vehicle button at top */

.dashboard-page .dashboard-section-header > .btn {
  margin-bottom: 24px;
  min-height: 46px;
  padding: 10px 20px;
  background: rgb(35, 126, 240) !important;
  border: none !important;
  border-radius: 8px;
  color: white !important;
  font-size: 16px;
  font-weight: 700;
}

.dashboard-page .dashboard-section-header > .btn:hover {
  background: rgb(47, 143, 247) !important;
}

/* VEHICLE CARD ROW */

.dashboard-page .vehicle-cards-row {
  margin-bottom: 34px;
}

.dashboard-page .vehicle-cards-row > [class*="col"] {
  display: flex;
  flex-direction: column;
}

/* Vehicle card */

.dashboard-page .dashboard-vehicle-card {
  flex: 1;
  min-height: 300px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.4);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.dashboard-page .dashboard-vehicle-card img {
  width: 100%;
  height: 155px;
  margin-bottom: 18px;
  object-fit: cover;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

/* Vehicle cards without a photo */
.dashboard-page .vehicle-image-placeholder {
  width: 100%;
  height: 155px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.dashboard-page .vehicle-image-placeholder span {
  color: rgb(145, 160, 169);
  font-size: 14px;
}

.dashboard-page .dashboard-vehicle-card h1, .dashboard-page .dashboard-vehicle-card h2, .dashboard-page .dashboard-vehicle-card h3, .dashboard-page .dashboard-vehicle-card h4, .dashboard-page .dashboard-vehicle-card h5, .dashboard-page .dashboard-vehicle-card h6 {
  margin: 0 0 8px;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.dashboard-page .dashboard-vehicle-card p {
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 15px;
}

/* Manage Vehicle button currently sits directly below each card div */

.dashboard-page .vehicle-cards-row > [class*="col"] > .btn {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 8px;
  color: white !important;
  font-weight: 600;
}

.dashboard-page .vehicle-cards-row > [class*="col"] > .btn:hover {
  background: rgb(35, 126, 240) !important;
}

/* RECENT INVOICES */

/* VEHICLE CAROUSEL CONTROLS */

.dashboard-page .vehicle-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: -10px 0 32px;
}

.dashboard-page .vehicle-carousel-controls .btn {
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgb(35, 126, 240);
  border-radius: 8px;
  color: white;
}

.dashboard-page .vehicle-carousel-controls .btn:hover:not(:disabled) {
  background: rgb(35, 126, 240);
  color: white;
}

.dashboard-page .vehicle-carousel-controls .btn:disabled {
  opacity: 0.4;
}

.dashboard-page #vehiclePageNumber {
  color: rgb(168, 181, 189);
  font-size: 14px;
}

.dashboard-page .recent-invoices-section {
  margin-top: 4px;
  margin-bottom: 34px;
}

.dashboard-page .recent-invoices-section > h1, .dashboard-page .recent-invoices-section > h2, .dashboard-page .recent-invoices-section > h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 28px;
  font-weight: 700;
}

.dashboard-page .recent-invoices-section .table {
  margin: 0;
  overflow: hidden;
  background: rgb(15, 27, 34) !important;
  border: 1px solid rgba(35, 126, 240, 0.38);
  border-radius: 12px;
  color: rgb(208, 216, 221) !important;
}

.dashboard-page .recent-invoices-section .table > :not(caption) > * > * {
  padding: 16px 18px;
  background: transparent !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: rgb(208, 216, 221) !important;
  vertical-align: middle;
}

.dashboard-page .recent-invoices-section .table thead th {
  background: rgb(17, 34, 44) !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(35, 126, 240, 0.45);
}

.dashboard-page .recent-invoices-section .table tbody tr:last-child td {
  border-bottom: none;
}

.dashboard-page .recent-invoices-section .table tbody tr:hover {
  background: rgba(35, 126, 240, 0.07);
}

.dashboard-page .recent-invoices-section .table a, .dashboard-page .recent-invoices-section .table .btn {
  color: rgb(83, 168, 255) !important;
  text-decoration: none;
  font-weight: 600;
}

.dashboard-page .recent-invoices-section .table a:hover, .dashboard-page .recent-invoices-section .table .btn:hover {
  color: rgb(112, 187, 255) !important;
}

/* QUICK ACTIONS */

/* Your Quick Actions heading/row currently sit directly after the invoice section */

.dashboard-page .recent-invoices-section + div + h1, .dashboard-page .recent-invoices-section + div + h2, .dashboard-page .recent-invoices-section + div + h3, .dashboard-page .dashboard-section-header > h1:last-of-type, .dashboard-page .dashboard-section-header > h2:last-of-type {
  color: white;
}

.dashboard-page .quick-actions-section {
  margin-top: 34px;
}

/* Also supports the current structure where the g-3 row is not wrapped
  in quick-actions-section yet. */

.dashboard-page .recent-invoices-section ~ .g-3 {
  margin-top: 16px;
}

.dashboard-page .quick-action-btn {
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  background: rgb(15, 27, 34) !important;
  border: 1px solid rgba(35, 126, 240, 0.5) !important;
  border-radius: 10px;
  color: white !important;
  font-size: 17px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dashboard-page .quick-action-btn:hover {
  background: rgb(17, 34, 44) !important;
  border-color: rgb(83, 168, 255) !important;
  transform: translateY(-1px);
}

/* DASHBOARD FOOTER */

.dashboard-page footer {
  margin-top: auto !important;
}

/* DASHBOARD - TABLET */

@media (max-width: 991px) {
  .dashboard-page .add-vehicle-container, .dashboard-page .dashboard-container {
  width: calc(100% - 32px);
  }


  .dashboard-page .vehicle-cards-row > [class*="col"] {
  margin-bottom: 20px;
  }
}

/* DASHBOARD - MOBILE */

@media (max-width: 767px) {
  .dashboard-page .dashboard-section {
  padding: 28px 0 36px;
  }


  .dashboard-page .add-vehicle-container, .dashboard-page .dashboard-container {
  width: calc(100% - 24px);
  }


  .dashboard-page .dashboard-section-header > h1, .dashboard-page .dashboard-section-header > h2 {
  font-size: 30px;
  }


  .dashboard-page .dashboard-section-header > .btn {
  width: 100%;
  }


  .dashboard-page .dashboard-vehicle-card {
  min-height: auto;
  }


  .dashboard-page .dashboard-vehicle-card img {
  height: 180px;
  }


  .dashboard-page .vehicle-image-placeholder {
    height: 180px;
  }


  .dashboard-page .recent-invoices-section {
  overflow-x: auto;
  }


  .dashboard-page .recent-invoices-section .table {
  min-width: 720px;
  }


  .dashboard-page .quick-action-btn {
  min-height: 54px;
  font-size: 16px;
  }
}

/* INVOICE SEARCH / FILTER PANEL */

.manage-vehicle-page .invoice-search-panel {
  margin-bottom: 20px;
  padding: 18px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.40);
  border-radius: 10px;
}

.manage-vehicle-page .invoice-search-panel .row {
  align-items: end;
}

.manage-vehicle-page .invoice-search-panel .form-control, .manage-vehicle-page .invoice-search-panel .form-select {
  min-height: 46px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  color: white;
  font-size: 15px;
}

.manage-vehicle-page .invoice-search-panel .form-control::placeholder {
  color: rgb(125, 141, 151);
}

.manage-vehicle-page .invoice-search-panel .form-control:focus, .manage-vehicle-page .invoice-search-panel .form-select:focus {
  background: rgb(12, 23, 30);
  border-color: rgb(35, 126, 240);
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15);
  color: white;
}

.manage-vehicle-page .invoice-search-panel .form-select option {
  background: rgb(12, 23, 30);
  color: white;
}

.manage-vehicle-page #invoice-search-btn {
  width: 100%;
  min-height: 46px;
  background: rgb(35, 126, 240);
  border: none;
  border-radius: 7px;
  color: white;
  font-weight: 600;
}

.manage-vehicle-page #invoice-search-btn:hover {
  background: rgb(47, 143, 247);
}

@media (max-width: 991px) {
  .manage-vehicle-page .invoice-search-panel .row > [class*="col"] {
  margin-bottom: 12px;
  }
}

@media (max-width: 767px) {
  .manage-vehicle-page .invoice-search-panel {
  padding: 16px;
  }


  .manage-vehicle-page #invoice-search-btn {
  width: 100%;
  }
}

/* DASHBOARD SUMMARY CARDS */

.dashboard-page .dashboard-stats {
  margin-bottom: 32px;
}

.dashboard-page .dashboard-stat-card {
  height: 100%;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.3);
  border-radius: 12px;
  color: white;
}

.dashboard-page .dashboard-stat-card .card-body {
  padding: 26px;
}

.dashboard-page .dashboard-stat-card .card-title {
  color: rgb(168, 181, 189);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.dashboard-page .dashboard-stat-card .card-text {
  color: white;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 0;
}

/* MANAGE VEHICLE PAGE */

body.manage-vehicle-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.manage-vehicle-page .manage-vehicle-section {
  flex: 1;
  padding: 42px 0 50px;
  background: radial-gradient(circle at 72% 10%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

.manage-vehicle-page .manage-vehicle-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* VEHICLE SUMMARY */

/* Back to Dashboard button */
.manage-vehicle-page .back-dashboard-btn {
  display: inline-block;
  margin-bottom: 18px;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid rgb(35, 126, 240);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.manage-vehicle-page .back-dashboard-btn:hover {
  background: rgb(35, 126, 240);
  color: white;
}

.manage-vehicle-page .vehicle-summary-panel {
  padding: 24px;
  margin-bottom: 28px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.45);
  border-radius: 12px;
}

.manage-vehicle-page .vehicle-summary-panel .row {
  align-items: flex-start;
}

.manage-vehicle-page .vehicle-summary-panel img {
  width: 100%;
  max-width: 220px;
  height: 145px;
  object-fit: cover;
  border-radius: 8px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manage-vehicle-page .vehicle-summary-panel h1 {
  margin: 0 0 18px;
  color: white;
  font-size: 32px;
  font-weight: 700;
}

.manage-vehicle-page .vehicle-summary-panel p {
  margin: 0;
  color: rgb(168, 181, 189);
}

.manage-vehicle-page .vehicle-summary-panel .row .row p:first-child {
  color: rgb(145, 160, 169);
  font-size: 14px;
  margin-bottom: 4px;
}

.manage-vehicle-page .vehicle-summary-panel .row .row p:last-child {
  color: white;
  font-size: 16px;
  font-weight: 600;
}

/* VEHICLE ACTION BUTTONS */

.manage-vehicle-page .vehicle-summary-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Default action buttons */
.manage-vehicle-page .vehicle-summary-actions .btn {
  width: 100%;
  min-height: 46px;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 8px;
  color: white !important;
  font-weight: 600;
}

/* Default button hover */
.manage-vehicle-page .vehicle-summary-actions .btn:hover {
  background: rgba(35, 126, 240, 0.15) !important;
}

/* Add New Invoice - main button */
.manage-vehicle-page .vehicle-summary-actions > .btn:nth-child(2) {
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
}

/* Add New Invoice hover */
.manage-vehicle-page .vehicle-summary-actions > .btn:nth-child(2):hover {
  background: rgb(47, 143, 247) !important;
}

/* Remove Vehicle */
.manage-vehicle-page .vehicle-summary-actions .btn:last-child {
  background: transparent !important;
  border: 1px solid rgb(190, 70, 70) !important;
  color: rgb(230, 120, 120) !important;
}

/* Remove Vehicle hover */
.manage-vehicle-page .vehicle-summary-actions .btn:last-child:hover {
  background: rgba(190, 70, 70, 0.12) !important;
}

/* TABS */

.manage-vehicle-page .nav-tabs {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(35, 126, 240, 0.35);
}

.manage-vehicle-page .nav-tabs .nav-link {
  padding: 14px 20px;
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid transparent !important;
  color: rgb(168, 181, 189) !important;
  font-size: 16px;
  font-weight: 600;
}

.manage-vehicle-page .nav-tabs .nav-link:hover {
  color: white !important;
}

.manage-vehicle-page .nav-tabs .nav-link.active {
  color: rgb(83, 168, 255) !important;
  border-bottom-color: rgb(35, 126, 240) !important;
}

/* TAB CONTENT */

.manage-vehicle-page .tab-content {
  min-height: 400px;
}

.manage-vehicle-page .tab-pane {
  padding-top: 4px;
}

/* INVOICE CARDS */

.manage-vehicle-page .invoice-card {
  margin-bottom: 12px;
  padding: 14px 16px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.30);
  border-radius: 10px;
}

.manage-vehicle-page .invoice-card .row {
  align-items: center;
}

.manage-vehicle-page .invoice-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.manage-vehicle-page .invoice-card h1, .manage-vehicle-page .invoice-card h2, .manage-vehicle-page .invoice-card h3, .manage-vehicle-page .invoice-card h4, .manage-vehicle-page .invoice-card h5, .manage-vehicle-page .invoice-card h6 {
  margin: 0;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.manage-vehicle-page .invoice-card p {
  margin: 0;
  color: rgb(184, 195, 202);
  font-size: 15px;
}

.manage-vehicle-page .invoice-card .btn, .manage-vehicle-page .invoice-card a.btn {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px;
  color: white !important;
  font-weight: 600;
}

.manage-vehicle-page .invoice-card .btn:hover, .manage-vehicle-page .invoice-card a.btn:hover {
  background: rgb(35, 126, 240) !important;
}

/* PAGINATION */

.manage-vehicle-page .pagination {
  justify-content: center;
  margin: 24px 0 0;
}

.manage-vehicle-page .pagination .page-link {
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.35);
  color: rgb(208, 216, 221);
}

.manage-vehicle-page .pagination .page-link:hover {
  background: rgb(17, 34, 44);
  color: white;
}

.manage-vehicle-page .pagination .active .page-link {
  background: rgb(35, 126, 240);
  border-color: rgb(35, 126, 240);
  color: white;
}

/* EXTRA SPACE BETWEEN DASHBOARD + LOGOUT
  Desktop only. Shared navbar sizing stays untouched. */

@media (min-width: 768px) {
  .manage-vehicle-page .nav-login .navbar-nav {
  gap: 40px !important;
  }
}

/* FOOTER */

.manage-vehicle-page footer {
  margin-top: auto !important;
}

/* TABLET */

@media (max-width: 991px) {
  .manage-vehicle-page .manage-vehicle-container {
  width: calc(100% - 32px);
  }


  .manage-vehicle-page .vehicle-summary-panel img {
  margin-bottom: 20px;
  }


  .manage-vehicle-page .vehicle-summary-actions {
  margin-top: 20px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .manage-vehicle-page .manage-vehicle-section {
  padding: 28px 0 36px;
  }


  .manage-vehicle-page .manage-vehicle-container {
  width: calc(100% - 24px);
  }


  .manage-vehicle-page .vehicle-summary-panel {
  padding: 18px;
  }


  .manage-vehicle-page .vehicle-summary-panel h1 {
  font-size: 26px;
  }


  .manage-vehicle-page .nav-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  }


  .manage-vehicle-page .nav-tabs .nav-link {
  white-space: nowrap;
  padding: 12px 14px;
  font-size: 14px;
  }


  .manage-vehicle-page .invoice-card .row > [class*="col"] {
  margin-bottom: 10px;
  }


  .manage-vehicle-page .invoice-card img {
  width: 100%;
  height: 160px;
  }
}

/* UPLOAD INVOICE PAGE */

body.upload-invoice-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.upload-invoice-page .upload-invoice-section {
  flex: 1;
  padding: 38px 0 50px;
  background: radial-gradient(circle at 70% 10%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

.upload-invoice-page .upload-invoice-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* PAGE HEADING */

.upload-invoice-page .upload-invoice-heading {
  margin-bottom: 28px;
  text-align: center;
}

.upload-invoice-page .upload-invoice-heading h1, .upload-invoice-page .upload-invoice-heading h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 46px;
  font-weight: 700;
}

.upload-invoice-page .upload-invoice-heading p {
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 17px;
}

/* UPLOAD BOX */

.upload-invoice-page .invoice-upload-zone {
  position: relative;
  min-height: 190px;
  margin-bottom: 28px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(17, 34, 44, 0.18);
  border: 2px dashed rgb(35, 126, 240);
  border-radius: 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.upload-invoice-page .invoice-upload-zone:hover {
  background: rgba(17, 34, 44, 0.30);
  border-color: rgb(83, 168, 255);
}

.upload-invoice-page .invoice-upload-zone .bi, .upload-invoice-page .invoice-upload-zone svg {
  margin-bottom: 14px;
  color: rgb(83, 168, 255);
  font-size: 50px;
}

.upload-invoice-page .invoice-upload-zone h1, .upload-invoice-page .invoice-upload-zone h2, .upload-invoice-page .invoice-upload-zone h3, .upload-invoice-page .invoice-upload-zone h4 {
  margin: 0 0 8px;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.upload-invoice-page .invoice-upload-zone p {
  margin: 0;
  color: rgb(145, 160, 169);
  font-size: 14px;
}

/* Makes the whole dashed area clickable */

.upload-invoice-page .invoice-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* TWO COLUMN REVIEW AREA */

.upload-invoice-page .invoice-review-row {
  align-items: flex-start;
}

.upload-invoice-page .invoice-review-row > [class*="col"] {
  display: flex;
}

.upload-invoice-page .invoice-preview-panel, .upload-invoice-page .ocr-review-panel {
  width: 100%;
  padding: 24px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.42);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.upload-invoice-page .invoice-preview-panel > h2, .upload-invoice-page .ocr-review-panel > h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 23px;
  font-weight: 700;
}

.upload-invoice-page .ocr-review-panel > p {
  margin: 0 0 24px;
  color: rgb(160, 175, 184);
  font-size: 14px;
}

/* INVOICE PREVIEW */

.upload-invoice-page .invoice-preview-document {
  width: 338px;
  max-width: 100%;
  height: 330px;
  min-height: 0;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  overflow: hidden;
  box-sizing: border-box;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 9px;
}

.upload-invoice-page .invoice-preview-document > img {
  width: 100%;
  height: 250px;
  max-height: 250px;
  min-height: 0;
  flex: 0 0 auto;
  object-fit: contain;
  background: transparent;
  border-radius: 6px;
}

.upload-invoice-page .invoice-preview-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-invoice-page .invoice-preview-controls p {
  margin: 0;
  color: rgb(194, 205, 212);
  font-size: 14px;
}

.upload-invoice-page .invoice-preview-controls .btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: rgb(17, 34, 44) !important;
  border: 1px solid rgba(35, 126, 240, 0.45) !important;
  border-radius: 6px;
  color: white !important;
}

.upload-invoice-page .invoice-preview-controls .btn:hover {
  background: rgb(35, 126, 240) !important;
}

/* OCR SECTIONS */

.upload-invoice-page .ocr-section {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-invoice-page .ocr-section:first-of-type {
  margin-top: 0;
}

.upload-invoice-page .ocr-section > h1, .upload-invoice-page .ocr-section > h2, .upload-invoice-page .ocr-section > h3, .upload-invoice-page .ocr-section > h4 {
  margin: 0 0 18px;
  color: white;
  font-size: 19px;
  font-weight: 700;
}

/* OCR FIELDS */

.upload-invoice-page .ocr-field {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  color: rgb(208, 216, 221);
  font-size: 14px;
  font-weight: 500;
}

/* Company fields have the class on the wrapper,
  invoice fields have the class directly on the label.
  These rules support both structures. */

.upload-invoice-page .ocr-field .form-label, .upload-invoice-page label.ocr-field {
  width: 100%;
  color: rgb(208, 216, 221);
}

.upload-invoice-page .ocr-field input, .upload-invoice-page .ocr-field select, .upload-invoice-page label.ocr-field input, .upload-invoice-page label.ocr-field select {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 10px 13px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 15px;
  outline: none;
  box-shadow: none !important;
}

.upload-invoice-page .ocr-field input:focus, .upload-invoice-page .ocr-field select:focus, .upload-invoice-page label.ocr-field input:focus, .upload-invoice-page label.ocr-field select:focus {
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.14) !important;
}

/* Dropdown option colours */

.upload-invoice-page .ocr-field select option {
  background: rgb(12, 23, 30);
  color: white;
}

/* INVOICE CONTENT */

.upload-invoice-page .invoice-content-section {
  margin-top: 22px;
}

.upload-invoice-page .invoice-content-section h1, .upload-invoice-page .invoice-content-section h2, .upload-invoice-page .invoice-content-section h3, .upload-invoice-page .invoice-content-section h4 {
  margin: 0 0 6px;
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.upload-invoice-page .invoice-content-section p {
  margin: 0 0 12px;
  color: rgb(151, 165, 174);
  font-size: 14px;
}

.upload-invoice-page .ocr-content-textarea {
  width: 100%;
  min-height: 300px;
  padding: 15px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  color: white !important;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}

.upload-invoice-page .ocr-content-textarea:focus {
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.14) !important;
}

/* UPLOAD INVOICE - EDITABLE OCR TABLE */

/* Main container for the editable invoice table */

.upload-invoice-page #invoice_table_editor {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 20px;
}

/* Allow wide invoice tables to scroll horizontally */

.upload-invoice-page .invoice-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 12px;
  border: 1px solid rgba(35, 126, 240, 0.35);
  border-radius: 8px;
}

/* Overall table styling */

.upload-invoice-page .invoice-edit-table {
  width: 100%;
  min-width: 700px;
  margin-bottom: 0;
  border-collapse: collapse;
  color: rgb(245, 247, 249);
}

/* Override Bootstrap's default table cell background */

.upload-invoice-page .invoice-edit-table > :not(caption) > * > * {
  padding: 10px;
  background: rgb(15, 27, 34) !important;
  border-color: rgba(255, 255, 255, 0.10) !important;
  color: white !important;
  vertical-align: middle;
}

/* Column headings */

.upload-invoice-page .invoice-edit-table thead th {
  background: rgb(17, 34, 44) !important;
  color: rgb(208, 216, 221) !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid rgba(35, 126, 240, 0.45) !important;
}

/* Alternate row backgrounds for readability */

.upload-invoice-page .invoice-edit-table tbody tr:nth-child(even) > td {
  background: rgb(18, 33, 41) !important;
}

/* Editable input fields in table cells */

.upload-invoice-page .invoice-edit-table td input {
  display: block;
  width: 100%;
  min-width: 85px;
  min-height: 40px;
  padding: 9px 10px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 6px;
  color: white !important;
  font-size: 13px;
  outline: none;
}

/* Blue highlight when editing a table cell */

.upload-invoice-page .invoice-edit-table td input:focus {
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
}

/* More space for item descriptions */

.upload-invoice-page .invoice-edit-table td[data-column="description"] input {
  min-width: 240px;
}

/* Enough space for part numbers */

.upload-invoice-page .invoice-edit-table td[data-column="part_number"] input {
  min-width: 125px;
}

/* Remove Row buttons */

.upload-invoice-page .invoice-edit-table .btn-outline-danger {
  white-space: nowrap;
  color: rgb(240, 130, 130) !important;
  border-color: rgb(190, 70, 70) !important;
  background: transparent !important;
}

.upload-invoice-page .invoice-edit-table .btn-outline-danger:hover {
  color: white !important;
  background: rgb(150, 40, 40) !important;
}

/* ADD INVOICE ROW BUTTON */

.upload-invoice-page #add_invoice_row {
  min-height: 42px;
  margin-top: 10px;
  padding: 10px 18px;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px;
  color: white !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.upload-invoice-page #add_invoice_row:hover {
  background: rgb(35, 126, 240) !important;
}

/* OCR TEXT FALLBACK */

/* Contains the existing OCR text editor */

.upload-invoice-page #invoice_text_fallback {
  width: 100%;
  margin-top: 16px;
  margin-bottom: 18px;
}

/* Keep the original OCR textarea styling unchanged */

/* MECHANIC NOTES / WORK COMPLETED */

/* Notes label */

.upload-invoice-page label[for="invoice_notes_editor"] {
  display: block;
  margin-top: 20px;
  margin-bottom: 8px;
  color: rgb(208, 216, 221);
  font-size: 15px;
  font-weight: 600;
}

/* Editable mechanic notes */

.upload-invoice-page #invoice_notes_editor {
  display: block;
  width: 100%;
  min-height: 125px;
  padding: 14px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px;
  color: white !important;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}

/* Notes placeholder text */

.upload-invoice-page #invoice_notes_editor::placeholder {
  color: rgb(125, 141, 151);
}

/* Blue border while editing mechanic notes */

.upload-invoice-page #invoice_notes_editor:focus {
  background: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  color: white !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.14) !important;
}

/* SHOW / HIDE OCR EDITORS */

/* Hide either editor when JavaScript sets hidden=true */

.upload-invoice-page #invoice_table_editor[hidden], .upload-invoice-page #invoice_text_fallback[hidden] {
  display: none !important;
}

/* EDITABLE INVOICE TABLE - MOBILE */

/* Allow table scrolling on smaller screens */

@media (max-width: 767px) {
  .upload-invoice-page .invoice-edit-table {
  min-width: 700px;
  }
}

/* Reduce cell spacing */

@media (max-width: 767px) {
  .upload-invoice-page .invoice-edit-table > :not(caption) > * > * {
  padding: 7px;
  }
}

/* Make Add Row button full width */

@media (max-width: 767px) {
  .upload-invoice-page #add_invoice_row {
  width: 100%;
  }
}

/* Slightly shorter notes editor on mobile */

@media (max-width: 767px) {
  .upload-invoice-page #invoice_notes_editor {
  min-height: 110px;
  }
}

/* UPLOAD INVOICE - OCR SECTIONS */

.upload-invoice-page #invoice_sections_editor {
  margin-top: 20px;
}

/* Each OCR section */
.upload-invoice-page #invoice_sections_list .ocr-section {
  margin: 0 0 16px;
  padding: 18px;
  background: rgb(17, 34, 44);
  border: 1px solid rgba(35, 126, 240, 0.35);
  border-radius: 8px;
}

/* Section labels */
.upload-invoice-page #invoice_sections_list .form-label {
  display: block;
  color: rgb(208, 216, 221);
  font-size: 14px;
  font-weight: 600;
}

/* Heading and content fields */
.upload-invoice-page #invoice_sections_list .form-control {
  width: 100%;
  padding: 12px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 7px;
  color: white !important;
  font-size: 14px;
}

/* Blue border when editing */
.upload-invoice-page #invoice_sections_list .form-control:focus {
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
}

/* Content textarea */
.upload-invoice-page #invoice_sections_list textarea {
  min-height: 130px;
  line-height: 1.6;
  resize: vertical;
}

/* Remove section button */
.upload-invoice-page #invoice_sections_list .btn-outline-danger {
  color: rgb(240, 130, 130);
  border-color: rgb(190, 70, 70);
  background: transparent;
}

.upload-invoice-page #invoice_sections_list .btn-outline-danger:hover {
  color: white;
  background: rgb(150, 40, 40);
}

/* Add section button */
.upload-invoice-page #add_invoice_section {
  min-height: 42px;
  padding: 10px 18px;
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px;
  color: white !important;
  font-size: 14px;
  font-weight: 600;
}

.upload-invoice-page #add_invoice_section:hover {
  background: rgb(35, 126, 240) !important;
}

/* Hide sections before

/* OCR ACTION BUTTONS */

.upload-invoice-page .ocr-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.upload-invoice-page .ocr-actions .btn {
  min-width: 145px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
}

.upload-invoice-page .rescan-ocr-btn {
  background: transparent !important;
  border: 1px solid rgb(35, 126, 240) !important;
  color: white !important;
}

.upload-invoice-page .rescan-ocr-btn:hover {
  background: rgb(17, 34, 44) !important;
}

.upload-invoice-page .save-invoice-btn {
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
  color: white !important;
}

.upload-invoice-page .save-invoice-btn:hover {
  background: rgb(47, 143, 247) !important;
  border-color: rgb(47, 143, 247) !important;
}

/* UPLOAD INVOICE FOOTER */

.upload-invoice-page footer {
  margin-top: auto !important;
}

/* UPLOAD INVOICE - TABLET */

@media (max-width: 991px) {
  .upload-invoice-page .upload-invoice-container {
  width: calc(100% - 32px);
  }


  .upload-invoice-page .invoice-preview-document {
  min-height: 430px;
  }


  .upload-invoice-page .invoice-preview-document > img {
  min-height: 0;
  max-height: 360px;
  }
}

/* UPLOAD INVOICE - MOBILE */

@media (max-width: 767px) {
  .upload-invoice-page .upload-invoice-section {
  padding: 28px 0 36px;
  }


  .upload-invoice-page .upload-invoice-container {
  width: calc(100% - 24px);
  }


  .upload-invoice-page .upload-invoice-heading h1, .upload-invoice-page .upload-invoice-heading h2 {
  font-size: 34px;
  }


  .upload-invoice-page .upload-invoice-heading p {
  font-size: 15px;
  }


  .upload-invoice-page .invoice-upload-zone {
  min-height: 165px;
  padding: 25px 16px;
  }


  .upload-invoice-page .invoice-preview-panel, .upload-invoice-page .ocr-review-panel {
  padding: 18px;
  }


  .upload-invoice-page .invoice-preview-document {
  min-height: 360px;
  }


  .upload-invoice-page .invoice-preview-document > img {
  min-height: 0;
  max-height: 290px;
  }


  .upload-invoice-page .ocr-content-textarea {
  min-height: 240px;
  }


  .upload-invoice-page .ocr-actions {
  flex-direction: column;
  }


  .upload-invoice-page .ocr-actions .btn {
  width: 100%;
  }
}

@media (max-width: 390px) {
  .upload-invoice-page .invoice-preview-document {
  width: 100%;
  }
}

/* INVOICE VIEWER PAGE */

body.invoice-viewer-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.invoice-viewer-page .invoice-viewer-section {
  flex: 1;
  padding: 38px 0 50px;
  background: radial-gradient(circle at 72% 10%, rgba(35, 126, 240, 0.07), transparent 34%), rgb(7, 16, 22);
}

.invoice-viewer-page .invoice-viewer-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* TOP HEADING + ACTIONS */

.invoice-viewer-page .invoice-viewer-top {
  margin-bottom: 26px;
}

.invoice-viewer-page .invoice-viewer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 30px;
}

.invoice-viewer-page .invoice-viewer-heading > a {
  grid-column: 1;
  margin-bottom: 12px;
  color: rgb(83, 168, 255);
  font-size: 15px;
  text-decoration: none;
}

.invoice-viewer-page .invoice-viewer-heading > a:hover {
  color: rgb(112, 187, 255);
}

.invoice-viewer-page .invoice-viewer-heading > h1 {
  grid-column: 1;
  margin: 0 0 6px;
  color: white;
  font-size: 38px;
  font-weight: 700;
}

.invoice-viewer-page .invoice-viewer-heading > p {
  grid-column: 1;
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 16px;
}

.invoice-viewer-page .invoice-viewer-actions {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice-viewer-page .invoice-viewer-actions .btn {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

/* Edit */

.invoice-viewer-page .edit-invoice-btn {
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgb(62, 79, 90) !important;
  color: white !important;
}

.invoice-viewer-page .edit-invoice-btn:hover {
  background: rgb(20, 34, 43) !important;
  border-color: rgb(83, 168, 255) !important;
}

/* Delete */

.invoice-viewer-page .delete-invoice-btn {
  background: rgb(173, 31, 42) !important;
  border: 1px solid rgb(173, 31, 42) !important;
  color: white !important;
}

.invoice-viewer-page .delete-invoice-btn:hover {
  background: rgb(194, 38, 51) !important;
  border-color: rgb(194, 38, 51) !important;
}

/* Download */

.invoice-viewer-page .download-invoice-btn {
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
  color: white !important;
}

.invoice-viewer-page .download-invoice-btn:hover {
  background: rgb(47, 143, 247) !important;
  border-color: rgb(47, 143, 247) !important;
}

/* MAIN TWO-COLUMN AREA */

.invoice-viewer-page .invoice-viewer-container > .row {
  --bs-gutter-x: 22px;
  align-items: flex-start;
}

/* DIGITAL INVOICE / WHITE PDF DOCUMENT */

/* Reserve space while invoice sections load */
.invoice-viewer-page #invoice_blocks_list {
  min-height: 600px;
}

.invoice-viewer-page .digital-invoice {
  position: relative;
  width: 100%;
  min-height: 900px;
  padding: 42px 46px;
  background: rgb(247, 248, 249);
  border: 1px solid rgb(214, 220, 224);
  border-radius: 10px;
  color: rgb(31, 38, 43);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.30);
}

/* CarMa logo at top left */

.invoice-viewer-page .digital-invoice > img:first-child {
  width: 145px;
  max-width: 145px;
  height: auto;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
}

/* Invoice title block at top right */

.invoice-viewer-page .digital-invoice > img:first-child + div {
  position: absolute;
  top: 42px;
  right: 46px;
  text-align: right;
}

.invoice-viewer-page .digital-invoice > img:first-child + div h1, .invoice-viewer-page .digital-invoice > img:first-child + div h2, .invoice-viewer-page .digital-invoice > img:first-child + div h3 {
  margin: 0 0 4px;
  color: rgb(18, 25, 30);
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.invoice-viewer-page .digital-invoice > img:first-child + div p {
  margin: 0;
  color: rgb(35, 126, 240);
  font-size: 16px;
  font-weight: 700;
}

/* Divider */

.invoice-viewer-page .invoice-divider {
  width: 100%;
  height: 1px;
  margin: 28px 0;
  background: rgb(202, 211, 217);
}

/* First divider needs extra room below header */

.invoice-viewer-page .digital-invoice > .invoice-divider:first-of-type {
  margin-top: 34px;
}

/* DOCUMENT HEADINGS / TEXT */

.invoice-viewer-page .digital-invoice h3, .invoice-viewer-page .digital-invoice > h1 {
  margin: 0 0 15px;
  color: rgb(24, 33, 39);
  font-size: 18px;
  font-weight: 750;
}

.invoice-viewer-page .digital-invoice h4 {
  margin: 0 0 10px;
  color: rgb(20, 28, 33);
  font-size: 18px;
  font-weight: 800;
}

.invoice-viewer-page .digital-invoice p {
  margin: 0 0 7px;
  color: rgb(68, 79, 86);
  font-size: 14px;
  line-height: 1.5;
}

/* Supplier + invoice details */

.invoice-viewer-page .digital-invoice > .row {
  margin-left: 0;
  margin-right: 0;
}

.invoice-viewer-page .digital-invoice > .row > [class*="col"] {
  padding-left: 0;
  padding-right: 24px;
}

.invoice-viewer-page .digital-invoice > .row > [class*="col"]:last-child {
  padding-right: 0;
  padding-left: 24px;
}

/* Accent headings */

.invoice-viewer-page .digital-invoice .row h3 {
  color: rgb(35, 126, 240);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* INVOICE OCR CONTENT */

.invoice-viewer-page .invoice-ocr-content {
  width: 100%;
  padding: 22px 24px;
  background: rgb(235, 239, 242);
  border: 1px solid rgb(207, 215, 220);
  border-radius: 8px;
}

.invoice-viewer-page .invoice-ocr-content p {
  margin: 0;
  color: rgb(42, 50, 55);
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ORIGINAL UPLOADED INVOICE */

.invoice-viewer-page .original-invoice-panel, .invoice-viewer-page .document-info-panel {
  width: 100%;
  padding: 22px;
  background: rgb(15, 27, 34);
  border: 1px solid rgb(37, 53, 63);
  border-radius: 11px;
  color: white;
}

.invoice-viewer-page .original-invoice-panel {
  margin-bottom: 20px;
}

.invoice-viewer-page .original-invoice-panel > h1, .invoice-viewer-page .original-invoice-panel > h2, .invoice-viewer-page .document-info-panel > h1, .invoice-viewer-page .document-info-panel > h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 21px;
  font-weight: 700;
}

.invoice-viewer-page .original-invoice-panel > p {
  margin: 0 0 18px;
  color: rgb(160, 175, 184);
  font-size: 14px;
  line-height: 1.5;
}

/* Scanned/original document image */

.invoice-viewer-page .original-invoice-preview {
  width: 100%;
  height: 430px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
}

.invoice-viewer-page .original-invoice-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  border-radius: 4px;
}

/* ORIGINAL INVOICE CONTROLS */

.invoice-viewer-page .invoice-preview-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.invoice-viewer-page .invoice-preview-controls p {
  margin: 0 4px;
  color: rgb(194, 205, 212);
  font-size: 13px;
}

.invoice-viewer-page .invoice-preview-controls .btn {
  min-height: 36px;
  padding: 6px 11px;
  background: rgb(17, 30, 38) !important;
  border: 1px solid rgb(42, 60, 71) !important;
  border-radius: 6px;
  color: white !important;
  font-size: 13px;
}

.invoice-viewer-page .invoice-preview-controls .btn:hover {
  background: rgb(35, 126, 240) !important;
  border-color: rgb(35, 126, 240) !important;
}

/* DOCUMENT INFORMATION */

.invoice-viewer-page .document-info-panel h2 {
  margin-bottom: 16px;
}

.invoice-viewer-page .document-info-panel p {
  margin: 0;
  padding: 10px 0;
  color: rgb(184, 196, 204);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.invoice-viewer-page .document-info-panel p:last-child {
  border-bottom: none;
}

/* FOOTER */

.invoice-viewer-page footer {
  margin-top: auto !important;
}

/* TABLET */

@media (max-width: 991px) {
  .invoice-viewer-page .invoice-viewer-container {
  width: calc(100% - 32px);
  }


  .invoice-viewer-page .digital-invoice {
  margin-bottom: 22px;
  }


  .invoice-viewer-page .original-invoice-preview {
  height: 500px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .invoice-viewer-page .invoice-viewer-section {
  padding: 28px 0 36px;
  }


  .invoice-viewer-page .invoice-viewer-container {
  width: calc(100% - 24px);
  }


  .invoice-viewer-page .invoice-viewer-heading {
  display: block;
  }


  .invoice-viewer-page .invoice-viewer-heading > h1 {
  font-size: 31px;
  }


  .invoice-viewer-page .invoice-viewer-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  }


  .invoice-viewer-page .invoice-viewer-actions .btn {
  width: 100%;
  }


  .invoice-viewer-page .digital-invoice {
  min-height: 0;
  padding: 26px 22px;
  }


  .invoice-viewer-page .digital-invoice > img:first-child {
  width: 115px;
  }


  .invoice-viewer-page .digital-invoice > img:first-child + div {
  position: static;
  margin-top: 18px;
  text-align: left;
  }


  .invoice-viewer-page .digital-invoice > .row > [class*="col"] {
  padding: 0;
  margin-bottom: 20px;
  }


  .invoice-viewer-page .digital-invoice > .row > [class*="col"]:last-child {
  padding: 0;
  margin-bottom: 0;
  }


  .invoice-viewer-page .invoice-ocr-content {
  padding: 17px;
  }


  .invoice-viewer-page .invoice-ocr-content p {
  font-size: 12px;
  }


  .invoice-viewer-page .original-invoice-preview {
  height: 370px;
  }
}

/* SERVICE REMINDER PAGE */

body.service-reminder-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.service-reminder-page .service-reminder-section {
  flex: 1;
  padding: 42px 0 50px;
  background: radial-gradient(circle at 72% 10%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

.service-reminder-page .service-reminder-container {
  width: 86%;
  max-width: 1280px;
  margin: 0 auto;
}

/* Back to Vehicle button */
.service-reminder-page .btn-outline-primary {
  color: white;
  border: 1px solid rgb(35, 126, 240);
  border-radius: 8px;
}

.service-reminder-page .btn-outline-primary:hover {
  color: white;
  background: rgb(35, 126, 240);
}

/* PAGE HEADING */

.service-reminder-page .service-reminder-heading {
  margin-bottom: 28px;
  text-align: center;
}

.service-reminder-page .service-reminder-heading h1, .service-reminder-page .service-reminder-heading h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
}

.service-reminder-page .service-reminder-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: rgb(168, 181, 189);
  font-size: 17px;
  line-height: 1.5;
}

/* CURRENT ODOMETER PANEL */

.service-reminder-page .odometer-panel {
  width: 100%;
  margin-bottom: 22px;
  padding: 24px;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.46);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.service-reminder-page .odometer-panel > h1, .service-reminder-page .odometer-panel > h2, .service-reminder-page .odometer-panel > h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 22px;
  font-weight: 700;
}

.service-reminder-page .odometer-form {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 650px;
}

.service-reminder-page .odometer-input {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  padding: 10px 14px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 15px;
  box-shadow: none !important;
}

.service-reminder-page .odometer-input::placeholder {
  color: rgb(125, 141, 151);
}

.service-reminder-page .odometer-input:focus {
  background: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
  color: white !important;
  outline: none;
}

.service-reminder-page .update-odometer-btn {
  min-width: 190px;
  min-height: 50px;
  padding: 10px 20px;
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-reminder-page .update-odometer-btn:hover {
  background: rgb(47, 143, 247) !important;
  border-color: rgb(47, 143, 247) !important;
  transform: translateY(-1px);
}

.service-reminder-page .odometer-help {
  margin: 12px 0 0;
  color: rgb(145, 160, 169);
  font-size: 14px;
}

/* RECOMMENDED SERVICES PANEL */

.service-reminder-page .recommended-services-panel {
  width: 100%;
  padding: 24px;
  overflow: hidden;
  background: rgb(15, 27, 34);
  border: 1px solid rgba(35, 126, 240, 0.46);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.service-reminder-page .recommended-services-panel > h1, .service-reminder-page .recommended-services-panel > h2, .service-reminder-page .recommended-services-panel > h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 22px;
  font-weight: 700;
}

/* TABLE */

.service-reminder-page .service-reminder-table {
  width: 100%;
  margin: 0;
  background: transparent !important;
  color: rgb(208, 216, 221) !important;
  border-collapse: separate;
  border-spacing: 0;
}

.service-reminder-page .service-reminder-table > :not(caption) > * > * {
  padding: 14px 16px;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgb(208, 216, 221) !important;
  vertical-align: middle;
}

.service-reminder-page .service-reminder-table thead th {
  background: rgb(17, 34, 44) !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(35, 126, 240, 0.48);
}

.service-reminder-page .service-reminder-table thead th:first-child {
  border-top-left-radius: 8px;
}

.service-reminder-page .service-reminder-table thead th:last-child {
  border-top-right-radius: 8px;
}

.service-reminder-page .service-reminder-table tbody td {
  font-size: 14px;
}

.service-reminder-page .service-reminder-table tbody tr:last-child td {
  border-bottom: none;
}

.service-reminder-page .service-reminder-table tbody tr:hover {
  background: rgba(35, 126, 240, 0.055);
}

/* Give the useful columns balanced widths */

.service-reminder-page .service-reminder-table th:nth-child(1), .service-reminder-page .service-reminder-table td:nth-child(1) {
  width: 31%;
}

.service-reminder-page .service-reminder-table th:nth-child(2), .service-reminder-page .service-reminder-table td:nth-child(2) {
  width: 25%;
}

.service-reminder-page .service-reminder-table th:nth-child(3), .service-reminder-page .service-reminder-table td:nth-child(3) {
  width: 22%;
}

.service-reminder-page .service-reminder-table th:nth-child(4), .service-reminder-page .service-reminder-table td:nth-child(4) {
  width: 22%;
}

/* SERVICE STATUS SELECT */

.service-reminder-page .service-status-select {
  width: 100%;
  max-width: 150px;
  min-height: 38px;
  padding: 6px 34px 6px 11px;
  background-color: rgb(12, 23, 30) !important;
  border: 1px solid rgb(48, 66, 77) !important;
  border-radius: 6px !important;
  color: rgb(225, 231, 235) !important;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none !important;
}

.service-reminder-page .service-status-select:hover {
  border-color: rgb(83, 168, 255) !important;
}

.service-reminder-page .service-status-select:focus {
  background-color: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
  color: white !important;
  outline: none;
}

.service-reminder-page .service-status-select option {
  background: rgb(15, 27, 34);
  color: white;
}

/* Optional automatic status colouring.
  This works in modern Chromium browsers when the option values are
  exactly: Due Soon, Due, and Completed. */

.service-reminder-page .service-status-select:has(option[value="Due Soon"]:checked) {
  background-color: rgba(214, 158, 38, 0.14) !important;
  border-color: rgba(232, 178, 57, 0.55) !important;
  color: rgb(244, 193, 72) !important;
}

.service-reminder-page .service-status-select:has(option[value="Due"]:checked) {
  background-color: rgba(190, 48, 61, 0.14) !important;
  border-color: rgba(219, 62, 76, 0.55) !important;
  color: rgb(243, 102, 112) !important;
}

.service-reminder-page .service-status-select:has(option[value="Completed"]:checked) {
  background-color: rgba(40, 157, 105, 0.14) !important;
  border-color: rgba(59, 190, 133, 0.55) !important;
  color: rgb(80, 213, 151) !important;
}

/* FOOTER */

.service-reminder-page footer {
  margin-top: auto !important;
}

/* SERVICE REMINDER - TABLET */

@media (max-width: 991px) {
  .service-reminder-page .service-reminder-container {
  width: calc(100% - 32px);
  }


  .service-reminder-page .recommended-services-panel {
  overflow-x: auto;
  }


  .service-reminder-page .service-reminder-table {
  min-width: 760px;
  }
}

/* SERVICE REMINDER - MOBILE */

@media (max-width: 767px) {
  .service-reminder-page .service-reminder-section {
  padding: 28px 0 36px;
  }


  .service-reminder-page .service-reminder-container {
  width: calc(100% - 24px);
  }


  .service-reminder-page .service-reminder-heading {
  margin-bottom: 20px;
  }


  .service-reminder-page .service-reminder-heading h1, .service-reminder-page .service-reminder-heading h2 {
  font-size: 34px;
  }


  .service-reminder-page .service-reminder-heading p {
  padding: 0 8px;
  font-size: 15px;
  }


  .service-reminder-page .odometer-panel, .service-reminder-page .recommended-services-panel {
  padding: 18px;
  }


  .service-reminder-page .odometer-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: none;
  }


  .service-reminder-page .odometer-input, .service-reminder-page .update-odometer-btn {
  width: 100%;
  min-width: 0;
  }


  .service-reminder-page .recommended-services-panel {
  overflow-x: auto;
  }


  .service-reminder-page .service-reminder-table {
  min-width: 720px;
  }
}

/* SERVICE REMINDER - FINAL TABLE + STATUS OVERRIDES
  Added after the main Service Reminder styles so these
  rules win over Bootstrap's default table styling. */

/* Keep the services panel looking like the CarMa mockup */

.service-reminder-page .recommended-services-panel {
  padding: 24px;
  background: linear-gradient(180deg, rgba(17, 34, 44, 0.72), rgba(15, 27, 34, 0.96));
  border: 1px solid rgba(35, 126, 240, 0.52);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* Bootstrap table variables - this prevents the white table body */

.service-reminder-page .service-reminder-table {
  --bs-table-bg: transparent !important;
  --bs-table-color: rgb(218, 225, 230) !important;
  --bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
  --bs-table-striped-bg: transparent !important;
  --bs-table-striped-color: rgb(218, 225, 230) !important;
  --bs-table-active-bg: rgba(35, 126, 240, 0.08) !important;
  --bs-table-active-color: white !important;
  --bs-table-hover-bg: rgba(35, 126, 240, 0.065) !important;
  --bs-table-hover-color: white !important;
  width: 100%;
  margin: 0;
  background: transparent !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  color: rgb(218, 225, 230) !important;
}

/* Force every table cell to use the dark theme */

.service-reminder-page .service-reminder-table > :not(caption) > * > * {
  padding: 14px 16px !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgb(218, 225, 230) !important;
  vertical-align: middle !important;
}

/* Header bar */

.service-reminder-page .service-reminder-table thead th {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  background: linear-gradient(180deg, rgb(18, 42, 56), rgb(16, 35, 46)) !important;
  border-bottom: 1px solid rgba(83, 168, 255, 0.42) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.service-reminder-page .service-reminder-table thead th:first-child {
  border-top-left-radius: 8px;
}

.service-reminder-page .service-reminder-table thead th:last-child {
  border-top-right-radius: 8px;
}

/* Dark rows instead of Bootstrap's white cells */

.service-reminder-page .service-reminder-table tbody tr {
  background: rgba(9, 22, 29, 0.42) !important;
  transition: background 0.18s ease;
}

.service-reminder-page .service-reminder-table tbody tr:nth-child(even) {
  background: rgba(12, 27, 35, 0.58) !important;
}

.service-reminder-page .service-reminder-table tbody tr:hover {
  background: rgba(35, 126, 240, 0.085) !important;
}

.service-reminder-page .service-reminder-table tbody td {
  color: rgb(220, 226, 231) !important;
  font-size: 14px !important;
}

.service-reminder-page .service-reminder-table tbody td:first-child {
  color: white !important;
  font-weight: 600;
}

.service-reminder-page .service-reminder-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* STATUS SELECTS */

.service-reminder-page .service-status-select {
  width: 100% !important;
  max-width: 148px !important;
  min-width: 118px;
  min-height: 38px !important;
  padding: 6px 34px 6px 11px !important;
  background-color: rgb(12, 23, 30) !important;
  border: 1px solid rgb(49, 68, 80) !important;
  border-radius: 7px !important;
  color: rgb(225, 231, 235) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.service-reminder-page .service-status-select:hover {
  border-color: rgb(83, 168, 255) !important;
}

.service-reminder-page .service-status-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.16) !important;
}

/* Bootstrap Studio usually creates options without an explicit
  value="" attribute. These nth-child rules therefore colour the
  select by which option is selected:
  1 = Due Soon, 2 = Due, 3 = Completed */

/* Due Soon - amber */

.service-reminder-page .service-status-select:has(option:nth-child(1):checked) {
  background-color: rgba(181, 129, 18, 0.20) !important;
  border-color: rgb(191, 145, 31) !important;
  color: rgb(255, 204, 71) !important;
}

/* Due - red */

.service-reminder-page .service-status-select:has(option:nth-child(2):checked) {
  background-color: rgba(165, 37, 48, 0.20) !important;
  border-color: rgb(196, 47, 60) !important;
  color: rgb(255, 102, 112) !important;
}

/* Completed - green */

.service-reminder-page .service-status-select:has(option:nth-child(3):checked) {
  background-color: rgba(25, 124, 82, 0.22) !important;
  border-color: rgb(37, 159, 103) !important;
  color: rgb(72, 221, 151) !important;
}

.service-reminder-page .service-status-select option {
  background: rgb(15, 27, 34) !important;
  color: white !important;
}

/* Give Next Due a subtle brighter treatment */

.service-reminder-page .service-reminder-table td:nth-child(4) {
  color: rgb(235, 240, 243) !important;
  font-weight: 600;
}

/* SERVICE REMINDER - MOBILE TABLE POLISH */

@media (max-width: 767px) {
  .service-reminder-page .recommended-services-panel {
  padding: 16px;
  }


  .service-reminder-page .service-reminder-table {
  min-width: 700px !important;
  }


  .service-reminder-page .service-reminder-table > :not(caption) > * > * {
  padding: 12px 13px !important;
  }
}

/* SERVICE REMINDER TABLE - BOOTSTRAP STUDIO FIX
  In Bootstrap Studio, .service-reminder-table is on the
  responsive wrapper, so the real <table> is INSIDE it. */

.service-reminder-page .service-reminder-table {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
}

/* REAL TABLE INSIDE THE RESPONSIVE WRAPPER */

.service-reminder-page .service-reminder-table table, .service-reminder-page .service-reminder-table .table {
  --bs-table-bg: rgb(12, 25, 33) !important;
  --bs-table-color: rgb(220, 227, 232) !important;
  --bs-table-border-color: rgba(255, 255, 255, 0.08) !important;
  --bs-table-striped-bg: rgb(14, 29, 38) !important;
  --bs-table-striped-color: rgb(220, 227, 232) !important;
  --bs-table-hover-bg: rgba(35, 126, 240, 0.08) !important;
  --bs-table-hover-color: white !important;
  width: 100%;
  margin: 0 !important;
  background: rgb(12, 25, 33) !important;
  color: rgb(220, 227, 232) !important;
  border-collapse: separate;
  border-spacing: 0;
}

/* FORCE ALL TABLE CELLS DARK */

.service-reminder-page .service-reminder-table table > :not(caption) > * > *, .service-reminder-page .service-reminder-table .table > :not(caption) > * > * {
  padding: 14px 16px !important;
  background-color: rgb(12, 25, 33) !important;
  background-image: none !important;
  color: rgb(220, 227, 232) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  vertical-align: middle !important;
}

/* HEADER */

.service-reminder-page .service-reminder-table thead th {
  background: linear-gradient( 180deg, rgb(18, 43, 57), rgb(15, 34, 45) ) !important;
  color: white !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-bottom: 1px solid rgba(83, 168, 255, 0.42) !important;
  box-shadow: none !important;
}

.service-reminder-page .service-reminder-table thead th:first-child {
  border-top-left-radius: 8px;
}

.service-reminder-page .service-reminder-table thead th:last-child {
  border-top-right-radius: 8px;
}

/* BODY ROWS */

.service-reminder-page .service-reminder-table tbody tr td {
  background: rgb(12, 25, 33) !important;
}

.service-reminder-page .service-reminder-table tbody tr:nth-child(even) td {
  background: rgb(14, 29, 38) !important;
}

.service-reminder-page .service-reminder-table tbody tr:hover td {
  background: rgb(17, 38, 50) !important;
}

.service-reminder-page .service-reminder-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* FIRST COLUMN SLIGHTLY STRONGER */

.service-reminder-page .service-reminder-table tbody td:first-child {
  color: white !important;
  font-weight: 600;
}

/* NEXT DUE COLUMN */

.service-reminder-page .service-reminder-table tbody td:nth-child(4) {
  color: rgb(234, 240, 244) !important;
  font-weight: 600;
}

/* STATUS SELECT */

.service-reminder-page .service-reminder-table .service-status-select {
  width: 145px !important;
  min-height: 38px !important;
  padding: 6px 34px 6px 11px !important;
  background-color: rgb(8, 21, 28) !important;
  border: 1px solid rgb(50, 72, 85) !important;
  border-radius: 6px !important;
  color: white !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.service-reminder-page .service-reminder-table .service-status-select:hover {
  border-color: rgb(83, 168, 255) !important;
}

.service-reminder-page .service-reminder-table .service-status-select:focus {
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
  outline: none !important;
}

/* COLUMN WIDTHS */

.service-reminder-page .service-reminder-table th:nth-child(1), .service-reminder-page .service-reminder-table td:nth-child(1) {
  width: 31%;
}

.service-reminder-page .service-reminder-table th:nth-child(2), .service-reminder-page .service-reminder-table td:nth-child(2) {
  width: 25%;
}

.service-reminder-page .service-reminder-table th:nth-child(3), .service-reminder-page .service-reminder-table td:nth-child(3) {
  width: 22%;
}

.service-reminder-page .service-reminder-table th:nth-child(4), .service-reminder-page .service-reminder-table td:nth-child(4) {
  width: 22%;
}

@media (max-width: 767px) {
  .service-reminder-page .service-reminder-table table, .service-reminder-page .service-reminder-table .table {
  min-width: 700px;
  }
}

/* ACCOUNT SETTINGS PAGE */

body.account-settings-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.account-settings-page .account-settings-section {
  flex: 1;
  padding: 42px 0 50px;
  background: radial-gradient(circle at 72% 8%, rgba(35, 126, 240, 0.08), transparent 34%), rgb(7, 16, 22);
}

.account-settings-page .account-settings-container {
  width: 86%;
  max-width: 1160px;
  margin: 0 auto;
}

/* PAGE HEADING */

.account-settings-page .account-settings-heading {
  margin-bottom: 30px;
  text-align: center;
}

.account-settings-page .account-settings-heading h1, .account-settings-page .account-settings-heading h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
}

.account-settings-page .account-settings-heading p {
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 17px;
  line-height: 1.5;
}

/* SHARED SETTINGS PANELS */

.account-settings-page .settings-panel {
  width: 100%;
  margin-bottom: 22px;
  padding: 25px 28px;
  background: linear-gradient(180deg, rgba(17, 34, 44, 0.58), rgba(15, 27, 34, 0.98));
  border: 1px solid rgba(35, 126, 240, 0.42);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  color: white;
}

.account-settings-page .settings-panel:last-child {
  margin-bottom: 0;
}

/* PANEL HEADER */

.account-settings-page .settings-panel-header {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.account-settings-page .settings-panel-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(35, 126, 240, 0.13);
  border: 1px solid rgba(83, 168, 255, 0.30);
  border-radius: 10px;
  color: rgb(83, 168, 255) !important;
  font-size: 21px !important;
}

.account-settings-page .settings-panel-title {
  flex: 1;
  min-width: 0;
}

.account-settings-page .settings-panel-title h1, .account-settings-page .settings-panel-title h2, .account-settings-page .settings-panel-title h3 {
  margin: 0 0 5px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.account-settings-page .settings-panel-title p {
  margin: 0;
  color: rgb(158, 173, 182);
  font-size: 14px;
  line-height: 1.5;
}

/* FORM ROWS + LABELS */

.account-settings-page .settings-form-row {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 16px;
  margin-bottom: 0;
}

.account-settings-page .settings-form-row > [class*="col"] {
  display: flex;
  flex-direction: column;
}

/* Bootstrap Studio currently has the input nested inside its label.
  These rules intentionally support that structure. */

.account-settings-page .settings-form-row .col-form-label, .account-settings-page .settings-form-row .form-label, .account-settings-page .settings-form-row label {
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgb(224, 230, 234);
  font-size: 14px;
  font-weight: 600;
}

.account-settings-page .settings-form-row .settings-input {
  display: block;
  width: 100%;
  min-height: 49px;
  margin-top: 8px;
  padding: 10px 14px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 15px;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.account-settings-page .settings-input::placeholder {
  color: rgb(119, 136, 146);
}

.account-settings-page .settings-input:hover {
  border-color: rgba(83, 168, 255, 0.38) !important;
}

.account-settings-page .settings-input:focus {
  background: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
  color: white !important;
}

/* PRIMARY SETTINGS BUTTONS */

.account-settings-page .settings-primary-btn {
  min-width: 150px;
  min-height: 44px;
  margin-top: 20px;
  margin-left: auto;
  padding: 9px 19px;
  display: block;
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(35, 126, 240, 0.13);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.account-settings-page .settings-primary-btn:hover {
  background: rgb(47, 143, 247) !important;
  border-color: rgb(47, 143, 247) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* SUBSCRIPTION */

.account-settings-page .subscription-placeholder {
  width: 100%;
  min-height: 64px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgb(12, 23, 30);
  border: 1px solid rgba(83, 168, 255, 0.18);
  border-radius: 8px;
}

.account-settings-page .subscription-placeholder > .bi, .account-settings-page .subscription-placeholder > i, .account-settings-page .subscription-placeholder > svg {
  flex: 0 0 auto;
  color: rgb(83, 168, 255) !important;
  font-size: 20px !important;
}

.account-settings-page .subscription-placeholder p {
  margin: 0;
  color: rgb(190, 201, 208);
  font-size: 14px;
  line-height: 1.5;
}

.account-settings-page .subscription-status {
  width: fit-content;
  margin: 14px 0 0;
  padding: 6px 10px;
  background: rgba(38, 160, 104, 0.12);
  border: 1px solid rgba(65, 197, 131, 0.28);
  border-radius: 999px;
  color: rgb(89, 214, 154);
  font-size: 13px;
  font-weight: 700;
}

/* ACCOUNT ACTIONS / DANGER ZONE */

.account-settings-page .account-actions-panel {
  border-color: rgba(195, 63, 75, 0.42);
}

.account-settings-page .account-actions-panel .settings-panel-icon {
  background: rgba(180, 45, 58, 0.12);
  border-color: rgba(221, 74, 87, 0.28);
  color: rgb(237, 99, 111) !important;
}

.account-settings-page .delete-account-btn {
  min-width: 145px;
  min-height: 43px;
  margin-top: 2px;
  padding: 9px 18px;
  background: rgb(157, 35, 47) !important;
  border: 1px solid rgb(184, 47, 60) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.account-settings-page .delete-account-btn:hover {
  background: rgb(184, 47, 60) !important;
  border-color: rgb(205, 60, 73) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* FOOTER */

.account-settings-page footer {
  margin-top: auto !important;
}

/* ACCOUNT SETTINGS - TABLET */

@media (max-width: 991px) {
  .account-settings-page .account-settings-container {
  width: calc(100% - 32px);
  }


  .account-settings-page .settings-panel {
  padding: 23px;
  }
}

/* ACCOUNT SETTINGS - MOBILE */

@media (max-width: 767px) {
  .account-settings-page .account-settings-section {
  padding: 28px 0 36px;
  }


  .account-settings-page .account-settings-container {
  width: calc(100% - 24px);
  }


  .account-settings-page .account-settings-heading {
  margin-bottom: 22px;
  }


  .account-settings-page .account-settings-heading h1, .account-settings-page .account-settings-heading h2 {
  font-size: 34px;
  }


  .account-settings-page .account-settings-heading p {
  padding: 0 8px;
  font-size: 15px;
  }


  .account-settings-page .settings-panel {
  margin-bottom: 16px;
  padding: 19px;
  }


  .account-settings-page .settings-panel-header {
  gap: 12px;
  margin-bottom: 19px;
  }


  .account-settings-page .settings-panel-icon {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  font-size: 19px !important;
  }


  .account-settings-page .settings-panel-title h1, .account-settings-page .settings-panel-title h2, .account-settings-page .settings-panel-title h3 {
  font-size: 20px;
  }


  .account-settings-page .settings-primary-btn, .account-settings-page .delete-account-btn {
  width: 100%;
  min-width: 0;
  }


  .account-settings-page .subscription-placeholder {
  align-items: flex-start;
  }
}

/* FORGOT PASSWORD PAGE */

body.forgot-password-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgb(7, 16, 22);
  color: rgb(245, 247, 249);
}

.forgot-password-page .forgot-password-section {
  flex: 1;
  padding: 72px 0 58px;
  background: radial-gradient(circle at 67% 18%, rgba(35, 126, 240, 0.10), transparent 34%), rgb(7, 16, 22);
}

.forgot-password-page .forgot-password-container {
  width: calc(100% - 32px);
  max-width: 760px;
  margin: 0 auto;
}

/* PAGE HEADING */

.forgot-password-page .forgot-password-heading {
  margin-bottom: 34px;
  text-align: center;
}

.forgot-password-page .forgot-password-heading h1, .forgot-password-page .forgot-password-heading h2 {
  margin: 0 0 12px;
  color: white;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.15;
}

.forgot-password-page .forgot-password-heading p {
  margin: 0;
  color: rgb(168, 181, 189);
  font-size: 17px;
  line-height: 1.5;
}

/* RESET CARD */

.forgot-password-page .forgot-password-card {
  width: 100%;
  padding: 34px 38px;
  background: linear-gradient(180deg, rgba(17, 34, 44, 0.68), rgba(15, 27, 34, 0.98));
  border: 1px solid rgba(35, 126, 240, 0.58);
  border-radius: 12px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

/* FORM */

.forgot-password-page .reset-form-group {
  width: 100%;
  margin-bottom: 24px;
}

/* In the current Bootstrap Studio page, the email input is nested
  inside its label. These rules intentionally support that layout. */

.forgot-password-page .reset-label {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.forgot-password-page .reset-input {
  display: block;
  width: 100%;
  min-height: 58px;
  margin-top: 10px;
  padding: 0 17px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 16px;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.forgot-password-page .reset-input::placeholder {
  color: rgb(128, 143, 153);
}

.forgot-password-page .reset-input:hover {
  border-color: rgba(83, 168, 255, 0.42) !important;
}

.forgot-password-page .reset-input:focus {
  background: rgb(12, 23, 30) !important;
  border-color: rgb(35, 126, 240) !important;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15) !important;
  color: white !important;
}

/* SEND RESET LINK BUTTON */

.forgot-password-page .reset-submit-btn {
  width: 100%;
  min-height: 58px;
  padding: 13px 22px;
  background: rgb(35, 126, 240) !important;
  border: 1px solid rgb(35, 126, 240) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(35, 126, 240, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.forgot-password-page .reset-submit-btn:hover {
  background: rgb(47, 143, 247) !important;
  border-color: rgb(47, 143, 247) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(35, 126, 240, 0.20);
}

/* RESET CONFIRMATION MESSAGE */

.forgot-password-page .reset-message {
  width: 100%;
  min-height: 78px;
  margin-top: 26px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(12, 23, 30, 0.58);
  border: 1px dashed rgba(83, 168, 255, 0.70);
  border-radius: 8px;
}

.forgot-password-page .reset-message-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: rgb(83, 168, 255) !important;
  font-size: 25px !important;
}

.forgot-password-page .reset-message-icon svg {
  width: 25px !important;
  height: 25px !important;
  fill: currentColor;
}

.forgot-password-page .reset-message-text {
  flex: 1;
  margin: 0;
  color: rgb(184, 196, 203);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

/* RETURN TO LOGIN */

.forgot-password-page .return-login {
  margin-top: 30px;
  text-align: center;
}

.forgot-password-page .return-login-link {
  color: rgb(83, 168, 255) !important;
  font-size: 17px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.forgot-password-page .return-login-link:hover {
  color: rgb(112, 187, 255) !important;
}

/* Keep the footer at the bottom */

.forgot-password-page footer {
  margin-top: auto !important;
}

/* FORGOT PASSWORD - TABLET */

@media (max-width: 991px) {
  .forgot-password-page .forgot-password-section {
  padding: 58px 0 50px;
  }
}

/* FORGOT PASSWORD - MOBILE */

@media (max-width: 767px) {
  .forgot-password-page .forgot-password-section {
  padding: 40px 0 38px;
  }


  .forgot-password-page .forgot-password-container {
  width: calc(100% - 24px);
  }


  .forgot-password-page .forgot-password-heading {
  margin-bottom: 26px;
  }


  .forgot-password-page .forgot-password-heading h1, .forgot-password-page .forgot-password-heading h2 {
  font-size: 34px;
  }


  .forgot-password-page .forgot-password-heading p {
  padding: 0 8px;
  font-size: 15px;
  }


  .forgot-password-page .forgot-password-card {
  padding: 24px 20px;
  }


  .forgot-password-page .reset-label {
  font-size: 15px;
  }


  .forgot-password-page .reset-input {
  min-height: 54px;
  font-size: 15px;
  }


  .forgot-password-page .reset-submit-btn {
  min-height: 54px;
  font-size: 16px;
  }


  .forgot-password-page .reset-message {
  min-height: auto;
  padding: 15px 16px;
  gap: 12px;
  }


  .forgot-password-page .reset-message-text {
  text-align: left;
  font-size: 14px;
  }


  .forgot-password-page .return-login {
  margin-top: 24px;
  }


  .forgot-password-page .return-login-link {
  font-size: 16px;
  }
}

/* AUTHENTICATED NAVBAR
  Dashboard | Settings | Logout */

/* Slightly tighter spacing for signed-in navigation */

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav {
  gap: 22px !important;
}

/* Keep Dashboard + Settings as normal navigation links */

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:not(:last-child) .nav-link {
  padding: 0 !important;
  color: white !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 18px !important;
  font-weight: 400;
}

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:not(:last-child) .nav-link:hover {
  color: rgb(83, 168, 255) !important;
}

/* Treat the final nav item as the Logout action button */

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:last-child .nav-link {
  min-width: 92px;
  min-height: 40px;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:last-child .nav-link:hover {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* Mobile: keep Logout as a compact action instead of a full-width row */

@media (max-width: 767px) {
  :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav {
  gap: 0 !important;
  }


  :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:not(:last-child) .nav-link {
  width: 100% !important;
  padding: 12px 0 !important;
  font-size: 17px !important;
  }


  :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:last-child {
  width: 100% !important;
  margin-top: 8px;
  }


  :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .navbar-nav .nav-item:last-child .nav-link {
  width: fit-content !important;
  min-width: 96px;
  padding: 9px 16px !important;
  }
}

/* LOGOUT BUTTON FIX - BOOTSTRAP STUDIO BUTTON COMPONENT
  The dashboard uses a real Button with class .logout-btn
  instead of an Anchor with .nav-link. */

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .logout-btn {
  min-width: 92px;
  min-height: 40px;
  padding: 8px 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 7px !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1;
  box-shadow: none !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

:is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .logout-btn:hover, :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .logout-btn:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: white !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  :is( body.dashboard-page, body.add-vehicle-page, body.manage-vehicle-page, body.upload-invoice-page, body.invoice-viewer-page, body.service-reminder-page, body.account-settings-page ) .nav-login .logout-btn {
  width: auto !important;
  min-width: 96px;
  margin-top: 8px;
  padding: 9px 16px !important;
  }
}

/* UPLOAD INVOICE - BACK TO MANAGE VEHICLE
  Supports the current Bootstrap Studio structure:
  <h1 class="back-manage-link"><a ...>...</a></h1>
  Also supports the current typo class: back-manage-lin */

.upload-invoice-page .upload-invoice-heading > .back-manage-link, .upload-invoice-page .upload-invoice-heading > .back-manage-lin {
  width: 100% !important;
  display: block !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: rgb(83, 168, 255) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.upload-invoice-page .upload-invoice-heading > .back-manage-link > a, .upload-invoice-page .upload-invoice-heading > .back-manage-lin > a {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: rgb(83, 168, 255) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  text-align: left !important;
  text-decoration: none !important;
}

.upload-invoice-page .upload-invoice-heading > .back-manage-link > a:hover, .upload-invoice-page .upload-invoice-heading > .back-manage-lin > a:hover {
  color: rgb(112, 187, 255) !important;
}

/* Keep the actual Upload Invoice title and subtitle centred */

.upload-invoice-page .upload-invoice-heading > h1:not(.back-manage-link):not(.back-manage-lin), .upload-invoice-page .upload-invoice-heading > h2 {
  text-align: center !important;
}

.upload-invoice-page .upload-invoice-heading > p {
  text-align: center !important;
}

@media (max-width: 767px) {
  .upload-invoice-page .upload-invoice-heading > .back-manage-link, .upload-invoice-page .upload-invoice-heading > .back-manage-lin, .upload-invoice-page .upload-invoice-heading > .back-manage-link > a, .upload-invoice-page .upload-invoice-heading > .back-manage-lin > a {
  font-size: 14px !important;
  }
}


/* General service reminder progress bar */

.service-progress {
  height: 10px;
  background-color: #292929;
  border-radius: 999px;
  overflow: hidden;
}

.service-progress .progress-bar {
  background-color: #e5a13b !important;
}

/* General Service Reminder - Status Badges */

.service-status-badge {
  border-radius: 20px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
}

.service-status-badge.status-good {
  background-color: #163d28 !important;
  color: #60d394 !important;
}

.service-status-badge.status-soon {
  background-color: #493015 !important;
  color: #f2a53b !important;
}

.service-status-badge.status-due {
  background-color: #593516 !important;
  color: #ffb45d !important;
}

.service-status-badge.status-overdue {
  background-color: #4a1b21 !important;
  color: #ff6474 !important;
}

/* Service details have not been entered */
.service-status-badge.status-not-set {
  background-color: #303740 !important;
  color: #bfc5cc !important;
}

/* SERVICE HISTORY & REMINDERS - FINAL STYLING */

/* Space between the three main panels */

.service-reminder-page .recommended-services-panel {
  margin-bottom: 24px;
}

/* Service History table */

.service-reminder-page .service-history-table {
  width: 100%;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  --bs-table-bg: transparent;
  --bs-table-color: #dce3e8;
  --bs-table-border-color: rgba(255,255,255,0.08);
}

.service-reminder-page .service-history-table th {
  background: #122b39 !important;
  color: #ffffff !important;
  padding: 15px 18px;
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(83,168,255,0.4);
}

.service-reminder-page .service-history-table td {
  background: #0c1921 !important;
  color: #dce3e8 !important;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}

.service-reminder-page .service-history-table tbody tr:nth-child(even) td {
  background: #0e1d26 !important;
}

.service-reminder-page .service-history-table tbody tr:hover td {
  background: #112632 !important;
}

.service-reminder-page .service-history-table tbody tr:last-child td {
  border-bottom: none;
}

/* Invoice links */

.service-reminder-page .service-history-table a {
  color: #53a8ff !important;
  font-weight: 600;
  text-decoration: none;
}

.service-reminder-page .service-history-table a:hover {
  color: #8ac4ff !important;
  text-decoration: underline;
}

/* Update Service Details button */

.service-reminder-page .update-service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 11px 20px;
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid #237ef0 !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.2s ease;
}

.service-reminder-page .update-service-btn:hover {
  background: rgba(35,126,240,0.15) !important;
  border-color: #53a8ff !important;
}

/* Maintenance checkbox spacing */

.service-reminder-page .maintenance-checks-panel .form-check {
  margin-bottom: 14px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.service-reminder-page .maintenance-checks-panel .form-check-label {
  color: #dce3e8;
  font-size: 15px;
  cursor: pointer;
}

.service-reminder-page .maintenance-checks-panel .form-check-input {
  background-color: #0c171e;
  border-color: #607483;
  cursor: pointer;
}

.service-reminder-page .maintenance-checks-panel .form-check-input:checked {
  background-color: #237ef0;
  border-color: #237ef0;
}

/* Keep invoice category checkboxes at their normal size */
.upload-invoice-page .ocr-field input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 8px 0 0 !important;
  padding: 0 !important;
  appearance: auto;
  vertical-align: middle;
  cursor: pointer;
}

/* ADD VEHICLE AND EDIT VEHICLE - VIN AND NOTES */

.add-vehicle-page input[name="vin"],
.add-vehicle-page textarea[name="notes"],
.edit-vehicle-page input[name="vin"],
.edit-vehicle-page textarea[name="notes"] {
  width: 100%;
  padding: 12px 14px;
  background: rgb(12, 23, 30) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 6px;
  color: white !important;
  font-size: 15px;
}

/* Placeholder text */
.add-vehicle-page input[name="vin"]::placeholder,
.add-vehicle-page textarea[name="notes"]::placeholder,
.edit-vehicle-page input[name="vin"]::placeholder,
.edit-vehicle-page textarea[name="notes"]::placeholder {
  color: rgb(145, 160, 169);
}

/* Highlight the selected field */
.add-vehicle-page input[name="vin"]:focus,
.add-vehicle-page textarea[name="notes"]:focus,
.edit-vehicle-page input[name="vin"]:focus,
.edit-vehicle-page textarea[name="notes"]:focus {
  border-color: rgb(35, 126, 240) !important;
  outline: none;
  box-shadow: 0 0 0 2px rgba(35, 126, 240, 0.15);
}

/* OCR Loading Popup */
#ocr_loading[hidden] {
  display: none !important;
}

#ocr_loading {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ocr-loading-box {
  background: #101116;
  color: white;
  border: 1px solid #333;
  border-radius: 15px;
  padding: 45px 35px;
  text-align: center;
  width: 90%;
  max-width: 360px;
}

.ocr-loading-box h3 {
  margin-bottom: 35px;
}

.ocr-loading-box h5 {
  margin-top: 35px;
}

.ocr-loading-box p {
  color: #999;
  font-size: 13px;
}

/* Uiverse loader */
#ocr_loading .loader {
  display: flex;
  justify-content: center;
  align-items: center;
  --color: hsl(0, 0%, 87%);
  --animation: 2s ease-in-out infinite;
}

#ocr_loading .loader .circle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 20px;
  height: 20px;
  border: solid 2px var(--color);
  border-radius: 50%;
  margin: 0 10px;
  background-color: transparent;
  animation: circle-keys var(--animation);
}

#ocr_loading .loader .circle .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color);
  animation: dot-keys var(--animation);
}

#ocr_loading .loader .circle .outline {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: outline-keys var(--animation);
}

#ocr_loading .circle:nth-child(2),
#ocr_loading .circle:nth-child(2) .dot {
  animation-delay: 0.3s;
}

#ocr_loading .circle:nth-child(3),
#ocr_loading .circle:nth-child(3) .dot {
  animation-delay: 0.6s;
}

#ocr_loading .circle:nth-child(4),
#ocr_loading .circle:nth-child(4) .dot {
  animation-delay: 0.9s;
}

#ocr_loading .circle:nth-child(1) .outline {
  animation-delay: 0.9s;
}

#ocr_loading .circle:nth-child(2) .outline {
  animation-delay: 1.2s;
}

#ocr_loading .circle:nth-child(3) .outline {
  animation-delay: 1.5s;
}

#ocr_loading .circle:nth-child(4) .outline {
  animation-delay: 1.8s;
}

@keyframes circle-keys {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

@keyframes dot-keys {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0);
  }
}

@keyframes outline-keys {
  0% {
    transform: scale(0);
    outline: solid 20px var(--color);
    outline-offset: 0;
    opacity: 1;
  }
  100% {
    transform: scale(1);
    outline: solid 0 transparent;
    outline-offset: 20px;
    opacity: 0;
  }
}


/* Edit Vehicle image preview */
.add-vehicle-page #vehicle-image-preview {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

.add-vehicle-page #vehicle-image-preview[hidden] {
    display: none !important;
}



/* Mobile */

@media (max-width: 767px) {
  .service-reminder-page .service-history-table th, .service-reminder-page .service-history-table td {
  padding: 12px 10px;
  font-size: 13px;
  }


  .service-reminder-page .update-service-btn {
  width: 100%;
  }
}

