:root {
  --color-primary: #153373;
  --color-primary-dark: #102756;
  --color-accent: #e22937;
  --color-white: #ffffff;
  --color-text-light: #1D1C1A;
  --color-text-placeholder: rgba(112, 112, 112, 0.5);
  --color-background-light: #ecf0f3;
  --color-background-overlay: rgba(16, 39, 86, 0.85);
  --color-hover: #25BC9D;
}

/* Font faces for Henderson Sans */
@font-face {
  font-family: 'Henderson Sans';
  src: url('../fonts/fonnts.com-Henderson_Sans_Basic_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Henderson Sans';
  src: url('../fonts/fonnts.com-Henderson_Sans_Basic_Regular_Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Henderson Sans';
  src: url('../fonts/fonnts.com-Henderson_Sans_Basic_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Henderson Sans';
  src: url('../fonts/fonnts.com-Henderson_Sans_Basic_Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Henderson Sans';
  src: url('../fonts/fonnts.com-Henderson_Sans_Basic_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --font-primary: 'Henderson Sans', sans-serif;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-white);
  color: var(--color-text-light);
}
/* Highlight when image is uploaded */
.dropbox.has-image {
    border-color: #22c55e;           /* green highlight */
    background-color: #f0fdf4;
}

/* Optional: stronger visual */
.dropbox.has-image::after {
    content: "✔ Uploaded";
    display: block;
    margin-top: 8px;
    font-weight: bold;
    font-size: 18px;
    color: #000;
}
.scan-btn{
      color: #fff;
    border: 1px solid;
    padding: 15px;
    border-radius: 40px;
}
input {
  font-family: 'Henderson Sans';
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section-title-underline {
  width: 134px;
  height: 5px;
  background-color: var(--color-accent);
}

.logo img {
  width: 400px;
}

.main-header {
  background-color: var(--color-primary);
  padding: 22px 80px;
}

@media (max-width: 480px) {
  .form-card {
    padding: 15px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 28px;
  }

  .cta-item h3 {
    font-size: 28px;
    line-height: 38px;
  }

  .footer-logo {
    max-width: 250px;
  }
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

.top-bar {
  background-color: var(--color-primary-dark);
  padding: 12px 0;
}

.top-bar-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-left: 90px;
  padding-right: 90px;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--color-white);
  font-size: 16px;
}

.email-icon {
  width: 24px;
  height: 16px;
}

.main-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav {
  display: flex;
  gap: 40px;
  color: var(--color-white);
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  padding: 11px 39px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
}

.btn-light {
  background-color: var(--color-white);
  color: #000000;
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
}

@media (max-width: 1200px) {
  .main-header-container {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }

  .main-header {
    padding: 15px;
  }
}

@media (max-width: 760px) {
  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .header-actions {
    flex-direction: row;
    width: 100%;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .logo img {
    width: 100%;
    max-width: 400px;
  }
}

/* CSS for section section:hero */
.hero-section {
  position: relative;
  height: 1469px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-background-overlay);
  top: 130px;
  /* Matches Figma's Rectangle 1 position */
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
}

.form-wrapper {
  margin-top: 221px;
  width: 1340px;
  max-width: 75%;
  background-color: var(--color-white);
  border-radius: 48px;
  padding: 10px;
  box-shadow: 0px 10px 99px 0px rgba(0, 0, 0, 0.16);
}

.form-card {
  padding: 53px 99px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-title {
  color: var(--color-primary);
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 13px;
}

.steps {
  display: flex;
  align-items: center;
  gap: 63px;
  margin-bottom: 56px;
  box-shadow: 2px 2px 2px 2px #e7e7e7;
  padding: 15px 30px;
  border-radius: 50px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
}

.step-item.active .step-icon-wrapper {
  background-color: var(--color-hover);
  border: 4px solid #2dbc9e;
}

.step-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.step-icon {
  width: 36px;
  height: 59px;
}

.step-icon-inactive {
  width: 30px;
  height: 30px;
}

.sell-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 25px;
  width: 100%;
  margin-bottom: 66px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.form-group label {
  color: var(--color-text-light);
  font-size: 16px;
}

.form-group input {
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 15px 27px;
  font-size: 16px;
  width: 100%;
}

.form-group input::placeholder {
  color: var(--color-text-placeholder);
}

.btn-submit {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  padding: 23px 107px;
  border-radius: 41px;
  margin-bottom: -40px;
}

.hero-cta {
  text-align: center;
  margin-top: 107px;
}

.hero-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 57px;
  margin-bottom: 48px;
}

.hero-subtitle {
  font-size: 21px;
  font-weight: 400;
  line-height: 57px;
}

.hero-car {
  position: relative;
  top: -210px;
  width: 905px;
  z-index: 5;
  left: 20%;
}

@media (max-width: 1400px) {
  .form-wrapper {
    width: 95%;
    max-width: 100%;
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding-bottom: 150px;
    /* space for the car */
  }

  .form-wrapper {
    margin-top: 200px;
  }

  .form-card {
    padding: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-car {
    width: 80%;
    bottom: -50px;
  }

  .hero-cta {
    margin-top: 50px;
  }
}

/* CSS for section section:services */
.services-section {
  padding-top: 0px;
  /* y:1683 - y:1469 (hero height) */
  padding-bottom: 90px;
  background-color: var(--color-white);
  margin-top: -150px;
}

.services-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 61px;
}

.section-title {
  color: var(--color-primary);
  font-size: 37px;
  font-weight: 600;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  width: 100%;
  max-width: 1306px;
  margin-top: 6px;
  /* 1810 - 1744 - 61 = 5 */
}

.service-item {
  position: relative;
  padding-left: 35px;
}

.service-number {
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 72px;
  font-weight: 700;
  color: #e2e2e3;
  z-index: 1;
  line-height: 1;
}

.service-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.service-content h3 {
  color: var(--color-primary);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}

.service-content p {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.disclaimer {
  max-width: 1025px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  color: var(--color-text-light);
  margin-top: 29px;
  /* 2152 - 1810 - 252 = 90 */
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .service-item {
    text-align: center;
    padding-left: 0;
  }

  .service-number {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* CSS for section section:testimonials */
.testimonials-section {
  position: relative;
  padding: 115px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 781px;
}

.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.testimonial-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  max-width: 720px;
  text-align: center;
}

.testimonial-title {
  color: var(--color-primary);
  font-size: 37px;
  font-weight: 600;
}

.quote-icon {
  width: 101.56px;
  margin-top: 11px;
  /* 2619 - 2588 - 21 = 10 */
}

blockquote {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: var(--color-text-light);
  max-width: 700px;
  margin-top: 31px;
  /* 2718 - 2619 - 68 = 31 */
}

cite {
  font-style: normal;
  color: var(--color-primary);
  font-size: 26px;
  font-weight: 600;
  line-height: 57px;
  margin-top: 15px;
  /* 2814 - 2718 - 60 = 36 */
}

.pagination-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 20px;
  /* 2892 - 2814 - 57 = 21 */
}

.pagination-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D9D9D9;
  /* From SVG Ellipse color */
}

.pagination-dots .dot.active {
  width: 32px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 5px;
}

/* CSS for section section:cta */
.cta-section {
  position: relative;
  padding: 75px 0;
  display: flex;
  align-items: center;
  min-height: 562px;
  z-index: 999;
  width: 80%;
  margin: -100px auto 100px;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-container {
  color: var(--color-white);
  text-align: center;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 154px;
  max-width: 1131px;
  margin: 0 auto;
}

.cta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-icon {
  height: 94px;
  margin-bottom: 30px;
}

.cta-item h3 {
  font-size: 37px;
  font-weight: 600;
  line-height: 57px;
}

.cta-item p {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  max-width: 441px;
  margin-bottom: 56px;
  /* (3469 - 3323 - 60) / 2 */
}

.btn-cta {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  padding: 15px 0;
  width: 216px;
  border-radius: 26px;
}

@media (max-width: 992px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
}

/* CSS for section section:subscribe */
.subscribe-section {
  background-color: var(--color-background-light);
  padding: 109px 0;
}

.subscribe-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  max-width: 1106px;
}

.subscribe-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  text-align: center;
  margin-bottom: 22px;
  /* 3908 - 3869 - 21 = 18 */
}

.subscribe-header h2 {
  color: var(--color-primary);
  font-size: 37px;
  font-weight: 600;
  line-height: 50px;
}

.subscribe-header p {
  color: var(--color-primary);
  font-size: 23px;
  font-weight: 600;
  margin-top: 18px;
  /* 3908 - 3869 - 21 = 18 */
}

.subscribe-form {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.subscribe-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.subscribe-form .form-group label {
  font-size: 16px;
  line-height: 26px;
}

.subscribe-form .form-group input {
  background-color: var(--color-white);
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 15px 27px;
  font-size: 16px;
  width: 100%;
}

.subscribe-form .form-group input::placeholder {
  color: var(--color-text-placeholder);
}

.btn-submit-subscribe {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 16px;
  padding: 15px;
  border-radius: 26px;
  width: 352px;
  max-width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 88px;
  /* 4221 - 4065 - 52 - 17 = 87 */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item:first-child {
  color: white;
  font-size: 20px;
}

.contact-item:last-child {
  color: white;
  font-size: 16px;
}

.contact-item img {
  width: 24px;
  height: auto;
}

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

/* CSS for section section:footer */
.site-footer {
  background-color: var(--color-primary-dark);
  padding: 69px 0;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-white);
}

.footer-logo {
  width: 548px;
  max-width: 80%;
  margin-bottom: 55px;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 17px;
  margin-bottom: 70px;
  /* 4763 - 4654 - 26 = 83 */
}

.social-links span {
  font-size: 15px;
  font-weight: 600;
  margin-right: 3px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  font-size: 16px;
  margin-bottom: 49px;
}

.copyright {
  font-size: 13px;
}

/* -----------------------------
   MOBILE HAMBURGER MENU
----------------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menu open animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobile menu styles */
@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions {
    flex-direction: row;
    width: 100%;
    align-items: center;
    margin-top: 10px;
  }

  .main-header-container {
    position: relative;
  }
}

.step-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ----------- Step indicator styling ----------- */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  background: #ffffff;
  border-radius: 40px;
  padding: 10px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.step-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* ✅ Completed step (filled green) */
.step-item.completed .step-icon-wrapper {
  background-color: var(--color-hover);
  border: 2px solid var(--color-hover);
}

.step-item.completed .step-icon-wrapper img {
  filter: brightness(0) invert(1);
}

/* ✅ Active step (outlined green) */
.step-item.active .step-icon-wrapper {
  background-color: transparent;
  border: 2px solid var(--color-hover);
}

.step-item.active .step-icon-wrapper img {
  filter: invert(46%) sepia(71%) saturate(477%) hue-rotate(117deg) brightness(91%) contrast(88%);
}

/* STEP INDICATOR USING FONT AWESOME */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: #fff;
  padding: 10px 20px;
  border-radius: 40px;
  box-shadow: 0 6px 22px rgba(5, 25, 60, 0.08);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

/* icon wrapper */
.step-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  font-size: 18px;
}

/* Completed (filled green with white check) */
.step-item.completed .step-icon-wrapper {
  background-color: var(--color-hover);
  border: 2px solid var(--color-hover);
  color: #ffffff;
  /* icon color */
  box-shadow: 0 4px 18px rgba(37, 188, 157, 0.18);
}

/* Active (outlined green) - outlined circle with green check */
.step-item.active .step-icon-wrapper {
  background-color: transparent;
  border: 2px solid var(--color-hover);
  color: var(--color-hover);
  /* icon color */
  box-shadow: none;
}

/* default (neutral) */
.step-item:not(.active):not(.completed) .step-icon-wrapper {
  background-color: #f5f7fa;
  border: 2px solid #f5f7fa;
  color: #9aa1ad;
}

/* Slightly reduce gap on smaller screens */
@media (max-width: 480px) {
  .steps {
    gap: 18px;
    padding: 8px 14px;
  }

  .step-icon-wrapper {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.sell-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0px 60px;
}

.sell-page-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 40px;
}

/* Step Progress Bar */
.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  padding: 15px 40px;
  gap: 50px;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

.progress-step .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d9d9d9;
  background-color: #ffffff;
  color: #b0b0b0;
  transition: 0.3s;
}

.progress-step.active .icon {
  border: 2px solid var(--color-hover);
  color: var(--color-hover);
  background: #fff;
}

.progress-step.completed .icon {
  background: var(--color-hover);
  color: #fff;
  border-color: var(--color-hover);
}

/* Main Card */
.vin-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 75%;
  padding: 40px 60px 0px;
  text-align: center;
}

.vin-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  margin-bottom: 40px;
  width: 100%;
}

.vin-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.vin-scan {
  background-color: var(--color-primary);
  border-radius: 14px;
  padding: 40px;
  flex: 1 1 300px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
}

.vin-scan i {
  font-size: 50px;
}

.vin-scan span {
  font-weight: 600;
  font-size: 16px;
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #707070;
  font-weight: 600;
}

.or-divider span {
  background: #fff;
  padding: 0 15px;
}

.vin-manual {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.vin-manual label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 14px;
}

.vin-manual input {
  border: 1px solid #eee;
  border-radius: 26px;
  padding: 14px 20px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.vin-manual input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(21, 51, 115, 0.1);
}

.continue-btn {
  margin-top: 50px !important;
  background-color: var(--color-accent);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px auto;
  color: var(--color-white);
  font-size: 14px;
  padding: 23px 95px;
  border-radius: 41px;
  margin-bottom: -40px;
}

.continue-btn:hover {
  transform: translateY(-2px);
  background-color: #c51f2d;
}

@media (max-width: 768px) {
  .vin-card {
    padding: 30px 25px;
    width: 100%;
    min-width: 100%;
  }

  .vin-content {
    flex-direction: column;
    gap: 25px;
  }

  .progress-steps {
    gap: 25px;
    padding: 15px 20px;
  }
}

/* ================= HEADER ================= */

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.notification-icon {
  font-size: 20px;
  cursor: pointer;
  position: relative;
  color: white;
}

.notification-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.user-profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.user-name {
  font-weight: 600;
  color: white;
}

.menu-dots {
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  padding: 5px;
}

/* Dropdown */
.profile-menu {
  position: absolute;
  top: 50px;
  right: 0;
  background-color: #fff;
  color: var(--color-primary);
  border-radius: 8px;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.profile-menu a {
  padding: 10px 15px;
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.profile-menu a:hover {
  background-color: rgba(21, 51, 115, 0.1);
}

.user-profile:hover .profile-menu {
  display: flex;
}

/* ================= SELL CAR PAGE ================= */

.sell-page-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 40px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border-radius: 40px;
  padding: 15px 40px;
  gap: 50px;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

.progress-step .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d9d9d9;
  background-color: #ffffff;
  color: #b0b0b0;
  transition: 0.3s;
}

.progress-step.active .icon {
  border: 2px solid var(--color-hover);
  color: var(--color-hover);
  background: #fff;
}

.progress-step.completed .icon {
  background: var(--color-hover);
  color: #fff;
  border-color: var(--color-hover);
}

/* VIN Card */
.vin-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 75%;
  padding: 40px 60px 0px;
  text-align: center;
}

.vin-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.vin-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.vin-scan {
  background-color: var(--color-primary);
  border-radius: 14px;
  padding: 40px;
  flex: 1 1 300px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
}

.vin-scan i {
  font-size: 50px;
}

.vin-scan span {
  font-weight: 600;
  font-size: 16px;
}

.or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #707070;
  font-weight: 600;
}

.or-divider span {
  background: #fff;
  padding: 0 15px;
}

/* ========== Mobile (max-width: 768px) ========== */
@media (max-width: 768px) {
  .logo img {
    width: 200px;
  }

  .user-name {
    display: none;
    /* Hide name on small screens */
  }

  .user-profile {
    gap: 6px;
  }

  .profile-menu {
    right: -20px;
    min-width: 140px;
  }

  .sell-page-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .progress-steps {
    gap: 18px;
    padding: 10px;
  }

  .progress-step span {
    display: none;
    /* Hide text labels, keep circles only */
  }

  .progress-step .icon {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .vin-manual {
    flex: 1 1 100px;
    ;
  }

  .vin-card {
    border-radius: 15px;
  }

  .vin-scan {
    padding: 30px;
  }

  .vin-scan i {
    font-size: 36px;
  }

  .continue-btn {
    margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .header-right {
    gap: 15px;
  }

  .vin-card {
    padding: 20px;
  }

  .vin-card h3 {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .vin-manual input {
    font-size: 13px;
    padding: 12px 15px;
  }

  .progress-step .icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .sell-page-title {
    font-size: 20px;
  }
}

.hidden {
  display: none;
}

.form-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  margin-bottom: 40px;
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 30px;
  text-align: left;
}

.form-grid label {
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  display: block;
  margin-bottom: 8px;
}

.form-grid input,
.form-grid select {
  height: 50px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border 0.2s ease;
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 15px 27px;
  font-size: 16px;
  width: 100%;
}

.form-grid input:focus,
.form-grid select:focus {
  border-color: var(--color-hover);
  box-shadow: 0 0 6px rgba(37, 188, 157, 0.3);
}

.continue-btn:hover {
  background-color: #cf2f3b;
}

@media (max-width: 1024px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* =============================
   STEP 3 – Upload Vehicle Pictures
============================= */
.vehicle-upload-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 75%;
  padding: 40px 60px 10px;
  text-align: center;
}

.vehicle-upload-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  margin-bottom: 40px;
}

/* Upload Grid */
.upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.upload-item label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Dropbox */
.dropbox {
  background: #ffffff;
  border: 1px dashed #707070;
  border-radius: 20px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropbox i {
  font-size: 28px;
  color: var(--color-hover);
}

.dropbox span {
  text-align: center;
  color: var(--color-hover);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.dropbox small {
  display: block;
  font-size: 12px;
  color: #a0a0a0;
  margin-top: 4px;
}

.dropbox:hover {
  border-color: var(--color-hover);
  box-shadow: 0 0 12px rgba(37, 188, 157, 0.2);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .upload-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vehicle-upload-card {
    max-width: 100%;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .dropbox {
    padding: 25px 10px;
  }

  .dropbox i {
    font-size: 22px;
  }

  .dropbox span {
    font-size: 13px;
  }
}

/* =============================
   STEP 4 – Vehicle Condition
============================= */
.vehicle-condition-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 75%;
  padding: 40px 100px 15px;
  text-align: left;
}

.vehicle-condition-card h3 {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

/* Tabs */
.condition-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 10px;
  justify-content: space-between;
  width: 100%;
}

.condition-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #153373;
  padding: 10px 0px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.condition-tab img {
  width: 50px;
}

/* Questions */
.condition-questions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.question {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.question label {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
}

.question .options {
  margin-top: 8px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.question input[type="radio"] {
  accent-color: var(--color-hover);
  transform: scale(1.1);
}

/* Save & Next button */
.vehicle-condition-card .continue-btn {
  margin-top: 50px !important;
  background-color: var(--color-accent);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px auto;
  color: var(--color-white);
  font-size: 14px;
  padding: 23px 107px;
  border-radius: 41px;
  margin-bottom: -40px;
}

.vehicle-condition-card .continue-btn:hover {
  background-color: #cf2f3b;
}

/* Responsive */
@media (max-width: 768px) {
  .condition-tabs {
    gap: 15px;
  }

  .question label {
    font-size: 14px;
  }

  .vehicle-condition-card {
    padding: 25px;
    max-width: 100%;
  }
}

.sell-card {
  padding: 53px 99px 66px;
  display: flex;
  flex-direction: column;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-menu {
  display: flex;
  gap: 30px;
  color: #abb4cd;
}

.top-footer {
  background-color: #153373;
  color: white;
  padding-top: 40px;
  padding-bottom: 40px;
}

.condition-tab {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.condition-tab img .active {
  border: 2px solid #153373;
  background: rgba(21, 51, 115, 0.05);
}

.condition-tab img {
  transition: filter 0.2s ease;
}

.condition-tab.completed img {
  filter: grayscale(0);
}

.hidden {
  display: none;
}

.condition-questions {
  margin-top: 25px;
  width: 100%;
}

.question {
  margin-bottom: 18px;
}

.options {
  display: flex;
  gap: 25px;
  margin-top: 8px;
}

.condition-tabs {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
}

.condition-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #707070;
  cursor: pointer;
  transition: 0.3s ease;
}

.condition-tab.active img {
  border: 2px solid #153373;
  border-radius: 50%;
}

textarea {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #EEEEEE;
  border-radius: 5px;
  height: 200px;
}

/* ===== SCORE SCREEN ===== */
.score-screen h3 {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 40px;
  width: 100%;
}

.score-highlight {
  color: var(--color-primary);
}

.score-value {
  color: #25bc9d;
  font-weight: 700;
}

.score-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 80px;
  margin-bottom: 40px;
}

.score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
}

.score-item img {
  width: 115px;
  margin-bottom: 10px;
}

.subscription-form {
  width: 75%;
  margin: 0px auto;
}

@media (max-width: 768px) {
  .score-stars {
    gap: 25px;
  }

  .subscription-form {
    width: 100%;
  }

  .score-item img {
    width: 60px;
  }
}

/* Score screen within step 4 */
.score-screen {
  background: transparent;
  padding: 20px 0 30px;
  text-align: center;
}

.score-value {
  color: #25bc9d;
  font-weight: 700;
}

/* Payment modal overlay */
.payment-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
}

.payment-modal-inner {
  background: #fff;
  padding: 36px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25);
  width: 420px;
  max-width: 90%;
}

.payment-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #25bc9d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
  font-size: 36px;
}

.payment-modal .modal-close {
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #153373;
  color: #fff;
  border: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.plan-toggle {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 10px 0 25px;
}

.plan-toggle label {
  font-weight: 600;
  color: #153373;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-toggle input[type=radio] {
  accent-color: #153373;
  width: 18px;
  height: 18px;
}

.plan-content {
  transition: all .3s ease;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

.input-group {
  margin-bottom: 15px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon input {
  width: 100%;
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 15px 27px;
  font-size: 16px;
  width: 100%;
  margin-top: 5px;
}

.input-with-icon img {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
}

.two-cols {
  display: flex;
  gap: 15px;
}

.two-cols .input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.two-cols .input-group input {
  border: 1px solid #eeeeee;
  border-radius: 26px;
  padding: 15px 27px;
  font-size: 16px;
  width: 100%;
  margin-top: 5px;
}

.report-options {
  margin-top: 15px;
}

.report-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.auto-renew {
  margin: 20px 0;
}

.auto-renew label {
  font-size: 16px;
  color: #2a2a2a;
  font-weight: 600;
  margin: 5px 0 10px;
}

.switch-box {
  display: flex;
  justify-content: space-between;
}

.auto-renew p {
  font-size: 16px;
  color: #666;
  margin: 5px 0 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 34px;
  width: 70px;
  height: 35px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 30px;
  width: 30px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.switch input:checked+.slider {
  background-color: #153373;
}

.switch input:checked+.slider:before {
  transform: translateX(35px);
}

.btn-pay {
  width: 100%;
  background: #c62828;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 19px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: -30px;
  margin-top: 40px;
}

.terms {
  text-align: center;
}

.report-options {
  margin-top: 20px;
}

.report-heading {
  display: block;
  font-weight: 600;
  color: #153373;
  margin-bottom: 10px;
}

.report-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.report-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.report-item input {
  margin-right: 6px;
  transform: scale(1.1);
  margin-top: 5px;
}

.report-item span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 16px;
  color: #252525;
}

.report-item i {
  color: #7083A2;
  font-size: 13px;
  cursor: pointer;
}

.report-item small {
  font-size: 13px;
  color: #666;
  font-weight: 500;
  margin-left: 0px;
}

/* Footer text */
.footer {
  display: flex;
  justify-content: space-around;
  font-size: 15px;
  color: #abb4cd;
  text-align: center;
  letter-spacing: 1.2px;
  background: #142846 0% 0% no-repeat padding-box;
  padding: 10px;
  width: 100%;
  margin-top: 50px;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer-menu {
  display: flex;
  gap: 30px;
  color: #abb4cd;
}

@media (max-width: 768px) {
  .footer {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 30px;
  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-overlay.hidden {
  display: none;
}

.popup-box {
  background: #fff;
  border-radius: 12px;
  width: fit-content;
  max-width: 90%;
  padding: 25px 60px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-box h4 {
  color: #153373;
  font-size: 20px;
  margin-bottom: 10px;
}

.popup-box p {
  color: #333;
  font-size: 15px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  font-weight: bold;
}

.resources-tabs {
  display: flex;
  justify-content: center;
  background: #f5f7fa;
  border-radius: 50px;
  margin: 20px auto;
  padding: 10px;
  width: fit-content;
}

.res-tab {
  border: none;
  background: transparent;
  padding: 20px 40px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  color: #153373;
}

.res-tab.active {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resources-content {
  margin: 10px auto;
  width: 75%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resources-content h3 {
  text-align: center;
}

.value-details {
  display: flex;
  justify-content: space-between;
  margin: 25px 0;
  width: 100%;
}

.value-details h5 {
  font-weight: 700;
  color: #153373;
  margin-bottom: 8px;
}

.offer-input {
  margin-top: 25px;
  text-align: center;
}

.offer-input input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
}

.add-request {
  background-color: #E53935;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  margin-right: auto;
  margin-left: auto;
}

/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-overlay.hidden {
  display: none;
}

.offer-popup {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.popup-actions button {
  border: none;
  border-radius: 30px;
  padding: 20px 45px;
  cursor: pointer;
  font-weight: 600;
}

.popup-cancel {
  background: #fff;
  border: 2px solid #33C27E;
  color: #33C27E;
}

.popup-confirm {
  background: #33C27E;
  color: #fff;
}

/* =============================
   STEP 6 – Supplemental Resources Responsive
============================= */

@media (max-width: 1024px) {
  .resources-content {
    width: 90%;
  }
}

@media (max-width: 768px) {

  /* Tabs become stacked */
  .resources-tabs {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .res-tab {
    flex: 1 1 45%;
    text-align: center;
    font-size: 14px;
    padding: 8px 10px;
  }

  /* Content area */
  .resources-content {
    width: 100%;
    padding: 0 15px;
  }

  /* Value details stack vertically */
  .value-details {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .value-details .col {
    width: 100%;
  }

  .value-details h5 {
    font-size: 15px;
  }

  .value-details p {
    font-size: 14px;
  }

  /* Offer input full width */
  .offer-input input {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    padding: 12px 14px;
  }

  .add-request {
    width: 100%;
    max-width: 100%;
    border-radius: 25px;
    font-size: 14px;
  }

  /* Popup scaling */
  .offer-popup {
    width: 90%;
    padding: 25px 20px;
    border-radius: 12px;
  }

  .popup-actions {
    flex-direction: column;
    gap: 10px;
  }

  .popup-actions button {
    width: 100%;
    padding: 12px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .res-tab {
    flex: 1 1 100%;
    font-size: 13px;
    padding: 8px;
  }

  .offer-popup h3 {
    font-size: 18px;
  }

  .offer-popup p {
    font-size: 14px;
  }

  .add-request {
    font-size: 13px;
  }

  .switch-box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-direction: column;
  }
}

.my-requests-section {
  padding: 50px 50px 6px;
  background: #fff;
}

.requests-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.requests-header h2 {
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 600;
}

.add-listing-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-listing-btn:hover {
  background: #c62828;
}

.requests-table {
  background: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  overflow-x: auto;
  margin-bottom: 60px;
  margin-top: 20px;
}

.requests-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.requests-table th,
.requests-table td {
  text-align: left;
  padding: 15px 25px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 14px;
  vertical-align: middle;
}

.requests-table th {
  background: #f9f9f9;
  font-weight: 600;
  color: var(--color-primary);
}

.listing-id {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-id img {
  width: 50px;
  height: 35px;
  border-radius: 6px;
  object-fit: cover;
}

.listing-id a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

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

.status.incomplete {
  color: #e53935;
  background: rgba(229, 57, 53, 0.1);
}

.status.quoted {
  color: #ff9800;
  background: rgba(255, 152, 0, 0.15);
}

.status.approve {
  color: #25bc9d;
  background: rgba(37, 188, 157, 0.15);
}

.count-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

/* ✅ Responsive Tables */
@media (max-width: 768px) {
  .requests-table {
    border-radius: 10px;
  }

  .requests-table th,
  .requests-table td {
    padding: 10px;
    font-size: 13px;
  }

  .listing-id img {
    width: 40px;
    height: 30px;
  }

  .add-listing-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

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

  .my-requests-section {
    padding: 50px 10px 6px;
    background: #fff;
  }
}

.used-cars-container {
  background: #f9fafc;
  padding-bottom: 120px;
}

/* === BANNER === */
.used-cars-banner {
  background: linear-gradient(rgba(21, 51, 115, 0.85), rgba(21, 51, 115, 0.85)),
    url("images/bg.png") center/cover no-repeat;
  color: #fff;
  padding: 180px 60px 75px;
}

.used-cars-banner h1 {
  font-size: 36px;
  font-weight: 700;
}

/* === SEARCH BAR === */
.used-cars-search {
  padding: 30px 60px 0;
}

.search-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.search-controls {
  display: flex;
     align-items: baseline;
  gap: 10px;
}

.search-box {
  position: relative;
  width: 280px;
}

.search-box input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 25px;
  border: 1px solid #ddd;
  font-size: 15px;
  outline: none;
}

.search-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #153373;
}

.filter-icon-btn {
  background: #153373;
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

/* === GRID === */
.used-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 60px;
}

.car-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.car-card:hover {
  transform: translateY(-5px);
}

.points-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.points-badge img {
  width: 16px;
  height: 16px;
}

.car-image {
  position: relative;
}

.car-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.fav-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  font-size: 15px;
  color: #153373;
  cursor: pointer;
}

.car-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 15px 15px 5px;
}

.car-card .car-year {
  font-size: 14px;
  color: #555;
  margin-left: 15px;
}

.car-details {
  padding: 10px 15px;
}

.car-details .price span {
  color: #e33c3c;
  font-size: 18px;
  font-weight: 700;
}

.car-details strong {
  color: #555;
  font-size: 13px;
  margin-right: 5px;
}

.car-details span {
  color: #222;
  font-size: 13px;
}

.view-details {
  display: block;
  width: calc(100% - 30px);
  margin: 10px auto 20px;
  background: #153373;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.view-details:hover {
  background: #0f2964;
}

/* === FIXED FILTER (DESKTOP) === */
.used-cars-filter {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 60px;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.filter-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  width: 23%;
}

.filter-group label {
  font-size: 12px;
  color: #555;
  margin-bottom: 5px;
}

.filter-group select {
  border: 1px solid #ddd;
  padding: 10px 15px;
  border-radius: 25px;
  font-size: 14px;
  color: #333;
  outline: none;
  min-width: 150px;
}

.apply-filter {
  background: #153373;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  cursor: pointer;
  height: 40px;
  width: 23%;
}

.apply-filter:hover {
  background: #0f2964;
}

/* === MOBILE FILTER MODAL === */
.mobile-filter-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.filter-modal-content {
  background: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: 25px;
  text-align: center;
  position: relative;
  margin: 0 auto;
}

.filter-modal-content h3 {
  color: #153373;
  margin-bottom: 15px;
}

.filter-modal-content .filter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-modal-content select {
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 10px;
  font-size: 14px;
}

.close-filter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.apply-filter.full {
  width: 100%;
  border-radius: 25px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .used-cars-filter.desktop-filter {
    display: none;
  }
}

@media (max-width: 768px) {
  .used-cars-banner {
    padding: 60px 20px;
    text-align: center;
  }

  .used-cars-search {
    padding: 20px;
  }

  .used-cars-grid {
    padding: 20px;
  }
}

/* ---------------------------------------------
   HERO BANNER (TOP SECTION)
---------------------------------------------- */
.car-details-banner {
  background: linear-gradient(#153373, #15337390), url(../images/bg.png) center / cover no-repeat;
  color: #fff;
  padding: 180px 5% 75px;
}

.car-details-title {
  max-width: 1400px;
  margin: 0 auto;
}

.car-details-title h1 {
  font-size: 46px;
  margin-bottom: 30px;
  font-weight: 700;
}

/* GRID for Vehicle Info */
.car-meta-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.meta-item label {
  opacity: 0.75;
  font-size: 13px;
}

.meta-item span {
  font-weight: 600;
  font-size: 14px;
  margin-top: 5px;
}

/* Buttons */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
}

.action-buttons button {
  padding: 11px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.make-offer-btn {
  background: #e73333;
  color: white;
}

.request-trade-btn {
  background: white;
  border: 1px solid #153373;
  color: #153373;
}

.car-loan-btn {
  background: #153373;
  color: white;
}

/* ---------------------------------------------
   VEHICLE SPECS
---------------------------------------------- */
.vehicle-spec-section {
  padding: 40px 5%;
}

.vehicle-spec-section h2 {
  margin-bottom: 20px;
}

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

.specs-grid label {
  font-weight: 600;
  font-size: 14px;
}

.specs-grid p {
  font-size: 14px;
}

/* ---------------------------------------------
    IMAGES GRID
---------------------------------------------- */
.vehicle-images-section {
  padding: 20px 5%;
}

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

.vehicle-image-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* --------------------------------------------
    VEHICLE RECORDS
--------------------------------------------- */
.vehicle-records {
  background: white;
  border-radius: 0px;
  padding: 25px 30px;
  width: 100%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  position: fixed;
  bottom: 0px;
}

.records-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.records-header h2 {
  font-size: 24px;
}

.records-header .price {
  color: #e73333;
  font-weight: 700;
  margin-left: 10px;
}

.points {
  display: flex;
  gap: 8px;
  align-items: center;
}

.records-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.records-actions button {
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

/* RECORD BOXES */
.records-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.record-box h4 {
  font-weight: 700;
  margin-bottom: 5px;
}

.record-box p {
  font-size: 13px;
}

/* --------------------------------------------
        MOBILE RESPONSIVE FIXES
--------------------------------------------- */

@media (max-width: 1100px) {
  .car-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .car-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .records-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .car-details-banner {
    padding: 200px 20px !important;
    text-align: center;
  }

  .car-details-title h1 {
    font-size: 34px;
  }

  .action-buttons {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .vehicle-records {
    background: white;
    border-radius: 0px;
    padding: 25px 30px;
    width: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    bottom: 0px;
  }

  .vehicle-image-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .records-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .records-actions {
    justify-content: center;
    width: 100%;
  }

  .records-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .record-box {
    display: flex;
    flex-direction: column;
    gap: 10px !important
  }

  .records-actions button {
    width: 100%;
  }
}

.points h2 {
  color: #153373;
}

.vehicle-image-grid img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.record-box h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.record-box p {
  font-size: 13px;
  line-height: 1.4;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 30px;
  align-items: start;
}

.records-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.vehicle-records {
  padding: 25px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.car-meta-grid input[type="radio"] {
  display: none !important;
}

.car-meta-grid label {
  margin-right: 8px;
}

.car-meta-grid span {
  color: #fff !important;
  font-weight: 600;
}

.car-details-title h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Banner */

/* Title */
.car-details-title h1 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Meta Row (same line as screenshot) */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
  justify-content: space-between;
}

.meta-block label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 5px;
}

.meta-block {
  display: flex;
  gap: 30px;
}

.meta-block span {
  font-size: 14px;
  font-weight: 600;
}

/* Color Dots */
.color-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.color-dot.grey {
  background: #cfcfcf;
}

.color-dot.green {
  background: #00c14d;
}

.divider {
  width: 20px;
}

/* Buttons */
.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 20px;
  width: 30%;
}

.action-buttons button {
  padding: 11px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  width: 100%;
}

.make-offer-btn {
  background: #e73333;
  color: white;
}

.request-trade-btn {
  background: white;
  color: #153373;
  border: 1px solid #153373;
}

.car-loan-btn {
  background: #153373;
  color: #fff;
}

.terms-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

input#terms-checkbox {
  width: 12px;
  height: 12px;
}

.heading {
  color: #1D1C1A;
}

.submit-btn {
  background-color: #25BC9D;
  padding: 10px 30px;
  border-radius: 20px;
  color: white;
}

/* HERO SECTION */
.sell-hero {
  background: linear-gradient(rgba(21, 51, 115, 0.85), rgba(21, 51, 115, 0.85)),
    url("images/bg.png") center/cover no-repeat;
  padding: 50px 5%;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.back-btn {
  background: #ececec;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.sell-title {
  font-size: 40px;
  font-weight: 700;
}

.more-car-details {
  position: relative;
  color: #153373;
  font-weight: 600;
}

/* SPECS */
.vehicle-specs-block {
  padding: 40px 5%;
}

.vehicle-spec-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* SELL REQUESTS */
.sell-requests-block {
  padding: 40px 5%;
}

.sell-req-table {
  margin-top: 20px;
  width: 100%;
}

.req-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1.8fr;
  padding: 16px 10px;
  align-items: center;
  background: #fff;
  margin-bottom: 10px;
  border-radius: 10px;
}

.req-head {
  font-weight: bold;
  background: transparent !important;
}

/* ACTION BUTTONS */
.req-actions button {
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
}

.req-actions {
  display: flex;
  gap: 10px;
}

.btn-accept {
  background: #33C27E;
  color: #fff;
  border: none;
}

table {
  background-color: #FBFBFB;
  margin-top: 10px;
}

.btn-counter {
  border: 1px solid #153373;
  background: transparent;
  color: #153373;
}

.btn-reject {
  background: #E53935;
  color: #fff;
  border: none;
}

/* POPUP BASE */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.hidden {
  display: none !important;
}

.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  width: 420px;
}

/* SIDEBAR */
.sidebar-overlay {
  justify-content: flex-end;
}

.sidebar-popup {
  width: 360px;
  height: 100%;
  background: #fff;
  padding: 25px;
}

.close-sidebar {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.container-vehicle {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

table a {
  color: #06A7E2;
}

a {
  color: white;
}

/* Mobile adjustments */
@media (max-width: 700px) {
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .listing-id {
    width: 130px;
  }

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

/* HEADER */
.sidebar-popup {
  padding: 0px;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
  background: #153373;
  color: white;
  padding: 20px;
}

.sidebar-header h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.sidebar-header .popup-cancel {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* HISTORY */
.counter-history {
  margin-bottom: 25px;
  padding: 25px;
}

.counter-history p {
  margin: 6px 0;
  font-size: 15px;
}

.counter-history strong {
  font-weight: 700;
}

hr {
  margin: 14px 0;
  border: 0;
  border-bottom: 1px solid #ddd;
}

/* INPUT SECTION FIXED AT BOTTOM */
.counter-bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ddd;
  padding: 25px;
}

.counter-bottom label {
  font-size: 14px;
}

.counter-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #bfbfbf;
  margin: 10px 0 15px 0;
}

/* BUTTON */
.submit-counter {
  width: 100%;
  padding: 12px;
  background: #153373;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 600;
}

.user-details-main {
  background: linear-gradient(rgba(21, 51, 115, 0.85), rgba(21, 51, 115, 0.85)),
    url("images/bg.png") center/cover no-repeat;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

.user-details-container {
  background: #fff;
  width: 80%;
  max-width: 1100px;
  padding: 60px;
  border-radius: 35px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.info-block {
  margin-bottom: 40px;
}

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

.info-header i {
  font-size: 20px;
  color: #153373;
}

.info-header h2 {
  font-size: 20px;
  font-weight: 600;
}

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

.car-info-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  width: 100%;
}

.car-info-grid label {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.car-info-grid p {
  font-size: 16px;
  margin-top: 4px;
  font-weight: 700;
}

.info-grid label {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.info-grid p {
  font-size: 16px;
  margin-top: 4px;
  font-weight: 500;
}

.car-details-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.car-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

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

  .car-details-wrapper {
    flex-direction: column;
  }

  .car-image img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .user-details-container {
    width: 92%;
    padding: 30px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .car-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
  }

  .footer-menu {
    display: flex;
    gap: 10px;
    color: #abb4cd;
    flex-direction: column;
    margin-top: 20px;
  }

  .footer {
    flex-direction: column;
  }
}

.back-container {
  width: 90%;
  margin-bottom: 20px;
}

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.success-popup.hidden {
  display: none;
}

.success-box {
  width: 420px;
  padding: 45px 30px;
  background: #fff;
  text-align: center;
  border-radius: 22px;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease-out;
}

.success-icon {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: #e9f8ef;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon i {
  color: #28c76f;
  font-size: 42px;
}

#successTitle {
  font-size: 24px;
  margin-top: 25px;
  font-weight: 700;
  color: #153373;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.request-trade-btn a {
  color: #153373;
}

.submit-btn a {
  color: white;
}

/* ========== REPORT POPUP ========== */
#popup-report-points {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.report-popup-box {
  background: #fff;
  width: 60%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 25px 35px;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  position: relative;
}

.report-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.report-popup-header button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.report-section {
  margin-top: 20px;
}

.report-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.report-section ul {
  padding-left: 20px;
}

.report-section li {
  margin-bottom: 6px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.yes {
  color: #0AAF60;
  font-weight: 700;
}

.no {
  color: #E13A3A;
  font-weight: 700;
}

/* Popup base */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.hidden {
  display: none;
}

.multistep-box {
  background: white;
  width: 700px;
  max-width: 90%;
  padding: 40px 50px;
  border-radius: 22px;
  position: relative;
  animation: fadeIn .3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Close button */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Steps */
.step {
  display: none;
}

.step.active {
  display: block;
}

/* Titles */
.step h3 {
  font-size: 22px;
  font-weight: 700;
  color: #153373;
  margin-bottom: 25px;
}

/* Report options */
.report-options {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 35px;
}

@media (max-width:768px) {
  .report-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
  }
}

.report-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}

/* Payment form layout */
.payment-row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 20px;
  font-size: 15px;
  border: 1px solid #eee;
  border-radius: 26px;
}

/* Terms checkbox */
.tc-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 30px;
}

/* Buttons */
.btn-pay {
  background: #E53935;
  color: #fff;
  padding: 14px 45px;
  border-radius: 30px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: .2s;
}

.step h3 {
  text-align: left;
}

/* MAIN CONTAINER */
.faq-main {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.bg-img {
  background: linear-gradient(rgb(255 255 255 / 68%), rgb(218 218 218 / 90%)), url(../images/bg.png) center / cover no-repeat;
  padding: 150px 20px 80px;
}

/* BACK BUTTON */
.faq-back-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  color: #000;
}

/* SMALL TOP TITLE */
.faq-top-title {
  color: #E53935;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* MAIN HEADING */
.faq-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 42px;
  margin-bottom: 15px;
  font-family: var(--font-primary);
}

/* SUBTEXT */
.faq-subtitle {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 14px;
  line-height: 22px;
  font-family: var(--font-primary);
}

/* ACCORDION LIST */
.faq-list {
  text-align: left;
}

/* EACH QUESTION BLOCK */
.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 18px 0;
  font-family: var(--font-primary);
}

/* QUESTION BUTTON */
.faq-question {
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  border: none;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-primary);
}

/* ANSWER TEXT */
.faq-answer {
  display: none;
  margin-top: 12px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: #555;
  line-height: 22px;
}

/* SHOW ACTIVE ANSWER */
.faq-item.active .faq-answer {
  display: block;
}

/* SUGGESTION BOX */
.faq-suggestion {
  margin-top: 40px;
  text-align: left;
  font-family: var(--font-primary);
}

.faq-suggestion textarea {
  width: 100%;
  font-family: var(--font-primary);
  height: 150px;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #ccc;
  resize: none;
  font-size: 14px;
}

/* SUBMIT BUTTON */
.faq-submit-btn {
  display: block;
  font-family: var(--font-primary);
  margin: 25px auto 0;
  background: #E53935;
  color: white;
  padding: 12px 40px;
  font-size: 16px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}

.fa-minus,
.fa-plus {
  border: 1px solid grey;
  border-radius: 50px;
  padding: 4px;
}

.notification-dropdown {
  position: absolute;
  top: 70px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding-bottom: 10px;
}

.notification-dropdown.hidden {
  display: none;
}

.notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  color: #153373;
  font-weight: 600;
}

.notif-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.notif-list {
  max-height: 350px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
}

.notif-item img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.notif-item p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #555;
}

.manage-profile-section {
  margin: 30px auto;
  padding: 120px 20px 80px;
}

/* Section Box */
.section-box {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 35px;
}

/* Form Grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 30px;
}

.profile-grid input {
  width: 100%;
  border: 1px solid #eee;
  padding: 12px 16px;
  border-radius: 25px;
}

/* Saved Cars */
.saved-cars-section {
  display: flex;
  gap: 25px;
}

.car-card {
 
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.car-card img {
  width: 100%;
  border-radius: 10px;
}

.points-badge {
  background: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

/* Buttons */
.update-btn {
  margin-top: 20px;
  padding: 12px 28px;
  background: #E53935;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}

.notify-btn {
  padding: 8px;
  width: 100%;
  background: #153373;
  color: white;
  border-radius: 20px;
  border: none;
}

.stop-notify-btn {
  padding: 8px;
  width: 100%;
  border: 1px solid #153373;
  background: transparent;
  color: #153373;
  border-radius: 20px;
}

/* Saved Cards */
.saved-card-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: #fff;
  margin-bottom: 15px;
}

.card-actions a {
  margin-left: 12px;
  cursor: pointer;
  color: #E53935;
}

/* Change Password Section */
.change-pass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.change-pass-grid input {
  border: 1px solid #eee;
  border-radius: 25px;
  padding: 12px 14px;
}

/*******************************************
        UNIQUE NAMESPACE — ZERO CONFLICT
        ********************************************/
.manage-profile-page * {
  box-sizing: border-box;
}

.manage-profile-page .mp-container {
  margin: auto;
  padding: 30px;
}

/*******************************************
        PAGE TITLE
        ********************************************/
.manage-profile-page .mp-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 25px;
}

.manage-profile-page .mp-back {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.manage-profile-page .mp-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #0e2540;
  margin: 0;
}

/*******************************************
        CARD WRAPPER
        ********************************************/
.manage-profile-page .mp-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.manage-profile-page .mp-card h3 {
  font-size: 18px;
  color: #153373;
  margin-bottom: 20px;
}

/*******************************************
        GENERAL INFO GRID
        ********************************************/
.manage-profile-page .mp-info-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
  align-items: start;
}

.manage-profile-page .mp-row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.manage-profile-page .mp-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manage-profile-page .mp-field label {
  font-size: 12px;
  font-weight: 600;
  color: #697586;
}

.manage-profile-page .mp-field input {
  height: 42px;
  border-radius: 20px;
  border: 1px solid #e4e7ec;
  padding: 0 14px;
  font-size: 14px;
}

/*******************************************
        PROFILE PHOTO
        ********************************************/
.manage-profile-page .mp-profile-photo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manage-profile-page .mp-profile-photo img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.manage-profile-page .mp-upload {
  font-size: 14px;
  background: none;
  border: none;
  color: #153373;
  cursor: pointer;
  margin-bottom: 10px;
}

.manage-profile-page .mp-btn-primary {
  background: #E53935;
  border: none;
  padding: 10px 28px;
  border-radius: 26px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

/*******************************************
        SAVED CARS
        ********************************************/
.manage-profile-page .mp-car-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.manage-profile-page .mp-car-card {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9edf3;
  position: relative;
  padding-bottom: 18px;
}

.manage-profile-page .mp-car-badge {
  position: absolute;
  top: 8px;
  left: 10px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.manage-profile-page .mp-car-badge i {
  color: #ffb400;
}

.manage-profile-page .mp-car-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.manage-profile-page .mp-car-card h4 {
  padding: 10px 12px 0;
  font-size: 16px;
  margin: 0;
}

.manage-profile-page .mp-car-meta {
  padding: 0 12px;
  color: #6b7280;
  font-size: 13px;
}

.manage-profile-page .mp-car-price {
  padding: 0 12px;
  color: #E53935;
  font-weight: 700;
  margin-top: 5px;
}

.manage-profile-page .mp-btn-dark,
.manage-profile-page .mp-btn-outline {
  margin: 10px 12px;
  padding: 10px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.manage-profile-page .mp-btn-dark {
  background: #13306b;
  border: none;
  color: #fff;
}

.manage-profile-page .mp-btn-outline {
  background: transparent;
  border: 1px solid #cfd6e2;
  color: #153373;
}

/*******************************************
        SUBSCRIPTION PLAN
        ********************************************/
.manage-profile-page .mp-sub-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.manage-profile-page .mp-sub-info {
  display: flex;
  gap: 50px;
}

.manage-profile-page .mp-sub-info label {
  display: block;
  color: #697586;
  font-size: 12px;
  margin-bottom: 3px;
}

.manage-profile-page .mp-sub-action {
  text-align: right;
}

.manage-profile-page .mp-toggle {
  width: 54px;
  height: 28px;
  border-radius: 20px;
  background: #cad3e1;
  cursor: pointer;
  position: relative;
  margin-bottom: 12px;
}

.manage-profile-page .mp-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.manage-profile-page .mp-toggle.active {
  background: #163a8b;
}

.manage-profile-page .mp-toggle.active span {
  left: 29px;
}

/*******************************************
        SAVED CARDS
        ********************************************/
.manage-profile-page .mp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.manage-profile-page .mp-saved-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}

.manage-profile-page .mp-saved-card img {
  width: 55px;
}

.manage-profile-page .mp-card-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.manage-profile-page .mp-card-actions .delete {
  color: #E53935;
  cursor: pointer;
}

/*******************************************
        CHANGE PASSWORD
        ********************************************/
.manage-profile-page .pw {
  margin-bottom: 20px;
}

/*******************************************
        POPUP (USES GLOBAL POPUP LOGIC)
        ********************************************/
.manage-profile-page .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 70px;
  z-index: 9999;
}

.manage-profile-page .popup-overlay.hidden {
  display: none !important;
}

.manage-profile-page .popup-box {
  width: 95%;
  max-width: 575px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  position: relative;
}

.manage-profile-page .popup-close,
.manage-profile-page .popup-cancel {
  background: none;
  border: none;
  font-size: 26px;
  position: absolute;
  right: 18px;
  top: 10px;
  cursor: pointer;
}

.manage-profile-page .popup-box h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #153373;
}

/****************************************************
 MOBILE RESPONSIVENESS
****************************************************/

/* --- Tablets & Medium Screens (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .manage-profile-page .mp-container {
    padding: 20px;
  }

  .manage-profile-page .mp-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .manage-profile-page .mp-profile-photo {
    justify-self: center;
  }

  .manage-profile-page .mp-sub-info {
    flex-wrap: wrap;
    gap: 25px;
  }
}

/* --- Large Phones / Small Tablets (max-width: 768px) --- */
@media (max-width: 768px) {

  .manage-profile-page .mp-title h1 {
    font-size: 22px;
  }

  .manage-profile-page .mp-back {
    width: 40px;
    height: 40px;
  }

  /* Car cards go 2 per row */
  .manage-profile-page .mp-car-card {
    width: calc(50% - 12px);
  }

  /* Saved cards better spacing */
  .manage-profile-page .mp-saved-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .manage-profile-page .mp-card-actions {
    margin-left: 0;
  }

  /* Subscription layout */
  .manage-profile-page .mp-sub-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .manage-profile-page .mp-sub-action {
    width: 100%;
    text-align: left;
  }

  /* Change password: stack fields */
  .manage-profile-page .mp-row.pw {
    flex-direction: column;
  }
}

/* --- Small Phones (max-width: 600px) --- */
@media (max-width: 600px) {

  /* Full width car cards */
  .manage-profile-page .mp-car-card {
    width: 100%;
  }

  .manage-profile-page .mp-row {
    flex-direction: column;
  }

  /* Saved cards fix */
  .manage-profile-page .mp-saved-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .manage-profile-page .mp-saved-card img {
    width: 50px;
  }

  .manage-profile-page .mp-card-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Subscription info readability */
  .manage-profile-page .mp-sub-info {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons full width */
  .manage-profile-page .mp-btn-primary,
  .manage-profile-page .mp-btn-outline {
    width: 100%;
    text-align: center;
  }

  /* Popup width */
  .manage-profile-page .popup-box {
    width: 95%;
    padding: 25px;
  }

  .manage-profile-page .popup-box h4 {
    font-size: 18px;
  }
}

/* --- Very small phones (max-width: 430px) --- */
@media (max-width: 430px) {

  .manage-profile-page .mp-title {
    gap: 12px;
  }

  .manage-profile-page .mp-title h1 {
    font-size: 20px;
  }

  .manage-profile-page .mp-row {
    gap: 12px;
  }

  .manage-profile-page .mp-field{
    align-items: flex-start;
  }
  
  .manage-profile-page .mp-field input {
    height: 38px;
    font-size: 13px;
  }

  .manage-profile-page .mp-profile-photo img {
    width: 110px;
    height: 110px;
  }

  .manage-profile-page .mp-card {
    padding: 18px;
  }

  /* Car card compact */
  .manage-profile-page .mp-car-card h4 {
    font-size: 15px;
  }

  .manage-profile-page .mp-car-meta,
  .manage-profile-page .mp-car-price {
    font-size: 13px;
  }

  .manage-profile-page .mp-car-card button {
    font-size: 13px;
    padding: 9px;
  }
}

/* --- Ultra Small Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .manage-profile-page .mp-profile-photo img {
    width: 95px;
    height: 95px;
  }

  .manage-profile-page .mp-btn-primary {
    padding: 9px 22px;
  }

  .manage-profile-page .mp-saved-card img {
    width: 45px;
  }

  .manage-profile-page .mp-car-card {
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
    .main-header-container {
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
    }
}
.manage-profile-page .mp-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.manage-profile-page .mp-card h3 {
  font-size: 18px;
  color: #153373;
  margin-bottom: 20px;
}

/*******************************************
        GENERAL INFO GRID
        ********************************************/
.manage-profile-page .mp-info-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 25px;
  align-items: start;
}

.manage-profile-page .mp-row {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}

.manage-profile-page .mp-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.manage-profile-page .mp-field label {
  font-size: 12px;
  font-weight: 600;
  color: #697586;
}

.manage-profile-page .mp-field input {
  height: 42px;
  border-radius: 20px;
  border: 1px solid #e4e7ec;
  padding: 0 14px;
  font-size: 14px;
}

/*******************************************
        PROFILE PHOTO
        ********************************************/
.manage-profile-page .mp-profile-photo {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.manage-profile-page .mp-profile-photo img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.manage-profile-page .mp-upload {
  font-size: 14px;
  background: none;
  border: none;
  color: #153373;
  cursor: pointer;
  margin-bottom: 10px;
}

.manage-profile-page .mp-btn-primary {
  background: #E53935;
  border: none;
  padding: 10px 28px;
  border-radius: 26px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

/*******************************************
        SAVED CARS
        ********************************************/
.manage-profile-page .mp-car-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.manage-profile-page .mp-car-card {
  width: 260px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9edf3;
  position: relative;
  padding-bottom: 18px;
}

.manage-profile-page .mp-car-badge {
  position: absolute;
  top: 8px;
  left: 10px;
  background: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.manage-profile-page .mp-car-badge i {
  color: #ffb400;
}

.manage-profile-page .mp-car-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.manage-profile-page .mp-car-card h4 {
  padding: 10px 12px 0;
  font-size: 16px;
  margin: 0;
}

.manage-profile-page .mp-car-meta {
  padding: 0 12px;
  color: #6b7280;
  font-size: 13px;
}

.manage-profile-page .mp-car-price {
  padding: 0 12px;
  color: #E53935;
  font-weight: 700;
  margin-top: 5px;
}

.manage-profile-page .mp-btn-dark,
.manage-profile-page .mp-btn-outline {
  margin: 10px 12px;
  padding: 10px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}

.manage-profile-page .mp-btn-dark {
  background: #13306b;
  border: none;
  color: #fff;
}

.manage-profile-page .mp-btn-outline {
  background: transparent;
  border: 1px solid #cfd6e2;
  color: #153373;
}

/*******************************************
        SUBSCRIPTION PLAN
        ********************************************/
.manage-profile-page .mp-sub-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.manage-profile-page .mp-sub-info {
  display: flex;
  gap: 50px;
}

.manage-profile-page .mp-sub-info label {
  display: block;
  color: #697586;
  font-size: 12px;
  margin-bottom: 3px;
}

.manage-profile-page .mp-sub-action {
  text-align: right;
}

.manage-profile-page .mp-toggle {
  width: 54px;
  height: 28px;
  border-radius: 20px;
  background: #cad3e1;
  cursor: pointer;
  position: relative;
  margin-bottom: 12px;
}

.manage-profile-page .mp-toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.manage-profile-page .mp-toggle.active {
  background: #163a8b;
}

.manage-profile-page .mp-toggle.active span {
  left: 29px;
}

/*******************************************
        SAVED CARDS
        ********************************************/
.manage-profile-page .mp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.manage-profile-page .mp-saved-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eef2f6;
  border-radius: 12px;
}

.manage-profile-page .mp-saved-card img {
  width: 55px;
}

.manage-profile-page .mp-card-actions {
  margin-left: auto;
  display: flex;
  gap: 16px;
}

.manage-profile-page .mp-card-actions .delete {
  color: #E53935;
  cursor: pointer;
}

/*******************************************
        CHANGE PASSWORD
        ********************************************/
.manage-profile-page .pw {
  margin-bottom: 20px;
}

/*******************************************
        POPUP (USES GLOBAL POPUP LOGIC)
        ********************************************/
.manage-profile-page .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: start;
  padding-top: 70px;
  z-index: 9999;
}

.manage-profile-page .popup-overlay.hidden {
  display: none !important;
}

.manage-profile-page .popup-box {
  width: 95%;
  max-width: 575px;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  position: relative;
}

.manage-profile-page .popup-close,
.manage-profile-page .popup-cancel {
  background: none;
  border: none;
  font-size: 26px;
  position: absolute;
  right: 18px;
  top: 10px;
  cursor: pointer;
}

.manage-profile-page .popup-box h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #153373;
}

/****************************************************
 MOBILE RESPONSIVENESS
****************************************************/

/* --- Tablets & Medium Screens (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .manage-profile-page .mp-container {
    padding: 20px;
  }

  .manage-profile-page .mp-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .manage-profile-page .mp-profile-photo {
    justify-self: center;
  }

  .manage-profile-page .mp-sub-info {
    flex-wrap: wrap;
    gap: 25px;
  }
}

/* --- Large Phones / Small Tablets (max-width: 768px) --- */
@media (max-width: 768px) {

  .manage-profile-page .mp-title h1 {
    font-size: 22px;
  }

  .manage-profile-page .mp-back {
    width: 40px;
    height: 40px;
  }

  /* Car cards go 2 per row */
  .manage-profile-page .mp-car-card {
    width: calc(50% - 12px);
  }

  /* Saved cards better spacing */
  .manage-profile-page .mp-saved-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .manage-profile-page .mp-card-actions {
    margin-left: 0;
  }

  /* Subscription layout */
  .manage-profile-page .mp-sub-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .manage-profile-page .mp-sub-action {
    width: 100%;
    text-align: left;
  }

  /* Change password: stack fields */
  .manage-profile-page .mp-row.pw {
    flex-direction: column;
  }
}

/* --- Small Phones (max-width: 600px) --- */
@media (max-width: 600px) {

  /* Full width car cards */
  .manage-profile-page .mp-car-card {
    width: 100%;
  }

  .manage-profile-page .mp-row {
    flex-direction: column;
  }

  /* Saved cards fix */
  .manage-profile-page .mp-saved-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .manage-profile-page .mp-saved-card img {
    width: 50px;
  }

  .manage-profile-page .mp-card-actions {
    width: 100%;
    justify-content: flex-end;
  }

  /* Subscription info readability */
  .manage-profile-page .mp-sub-info {
    flex-direction: column;
    gap: 15px;
  }

  /* Buttons full width */
  .manage-profile-page .mp-btn-primary,
  .manage-profile-page .mp-btn-outline {
    width: 100%;
    text-align: center;
  }

  /* Popup width */
  .manage-profile-page .popup-box {
    width: 95%;
    padding: 25px;
  }

  .manage-profile-page .popup-box h4 {
    font-size: 18px;
  }
}

/* --- Very small phones (max-width: 430px) --- */
@media (max-width: 430px) {

  .manage-profile-page .mp-title {
    gap: 12px;
  }

  .manage-profile-page .mp-title h1 {
    font-size: 20px;
  }

  .manage-profile-page .mp-row {
    gap: 12px;
  }

  .manage-profile-page .mp-field{
    align-items: flex-start;
  }
  
  .manage-profile-page .mp-field input {
    height: 38px;
    font-size: 13px;
  }

  .manage-profile-page .mp-profile-photo img {
    width: 110px;
    height: 110px;
  }

  .manage-profile-page .mp-card {
    padding: 18px;
  }

  /* Car card compact */
  .manage-profile-page .mp-car-card h4 {
    font-size: 15px;
  }

  .manage-profile-page .mp-car-meta,
  .manage-profile-page .mp-car-price {
    font-size: 13px;
  }

  .manage-profile-page .mp-car-card button {
    font-size: 13px;
    padding: 9px;
  }
}

/* --- Ultra Small Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .manage-profile-page .mp-profile-photo img {
    width: 95px;
    height: 95px;
  }

  .manage-profile-page .mp-btn-primary {
    padding: 9px 22px;
  }

  .manage-profile-page .mp-saved-card img {
    width: 45px;
  }

  .manage-profile-page .mp-car-card {
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
    .main-header-container {
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
    }
}
@media (min-width: 1024px) {
    .sidebar-car-swiper .car-card{
        width: 33%;
    }
}