 /* AudiType Font Declarations */
   @font-face {
     font-family: 'AudiType-Normal';
     src: local("AudiType-Normal"), url('./fonts/AudiType-Normal.ttf') format("ttf");
     font-weight: 400;
     font-style: normal;
     font-display: swap;
   }

   @font-face {
     font-family: 'AudiType-Bold';
     src: local("AudiType-Bold"), url('./fonts/AudiType-Bold.ttf') format("ttf");
     font-weight: 400;
     font-style: normal;
     font-display: swap;
   }

   @font-face {
     font-family: 'AudiType-ExtendedBold';
     src: local("AudiType-ExtendedBold"), url('./fonts/AudiType-ExtendedBold.ttf') format("ttf");
     font-weight: 700;
     font-style: normal;
     font-display: swap;
   }

   @font-face {
     font-family: 'AudiType-ExtendedNormal';
      src: local("AudiType-ExtendedNormal"), url('./fonts/AudiType-ExtendedNormal.ttf') format("ttf");
     font-weight: 400;
     font-style: normal;
     font-display: swap;
   }


.login-unpopulated-1920,
.login-unpopulated-1920 * {
  box-sizing: border-box;
}
.login-unpopulated-1920 {
  background: var(--surface-primary, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.page-header {
  padding: 5px 0px 0px 0px;
  align-self: stretch;
  flex-shrink: 0;
  height: 85px;
  position: relative;
  width: 100%;
}
.audi-now-lockup {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  left: 60px;
  top: 37px;
  overflow: hidden;
}
form{
  width: 100%;
}

.error{
  color: red;
  font-family: "Audi Type";
  font-size: 13px;
  padding: 10px 50px;
  word-wrap: break-word;
  max-width: -webkit-fill-available;
}
.warn{
  color: rgb(255, 255, 0);
  font-size: 12px;
  padding: 10px 0px;
  background: var(--text-primary, #000000);
  word-wrap: break-word;
  max-width: -webkit-fill-available;
  border-radius: 5px;
  text-align: center;
  font-family: "AudiType-Normal", sans-serif;
}
/* Mobile first adjustments */
@media (max-width: 768px) {
  .page-header {
    height: auto;
    padding: 10px 0;
  }

  .audi-now-lockup {
    position: relative;
    left: auto;
    top: auto;
    margin: 0 20px;
    justify-content: center;
  }
}

.audi-logo {
  flex-shrink: 0;
  width: 65.09px;
  height: 22.6px;
  position: relative;
  overflow: visible;
}
.audi-now {
  text-align: left;
  font-family: "AudiType-ExtendedBold", sans-serif;
  font-size: 23px;
  line-height: 26px;
  letter-spacing: -0.13px;
  font-weight: 400;
  position: relative;
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .audi-now {
    font-size: 18px;
    line-height: 22px;
  }
}

.audi-now-span {
  color: var(--Text-Brand, #F50537);
  font-family: "Audi Type";
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px; /* 113.043% */
  letter-spacing: -0.133px;
}
.audi-now-span2 {
  color: var(--text-primary, #000000);
  display: none;
}
.body {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  min-height: calc(100vh - 85px);
  position: relative;
  width: 100%;
}

/* Hide background image for screens less than 1260px */
@media (max-width: 1259px) {
  .body {
    flex-direction: column;
  }

  .bg-01 {
    display: none !important;
  }
}

.content {
  padding: 0px var(--spacing-communications-edges, 30px) 0px
    var(--spacing-communications-edges, 30px);
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  width: 700px;
  max-width: 100%;
  position: relative;
}

/* Responsive content width */
@media (max-width: 1259px) {
  .content {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .content {
    padding: 0px 20px;
  }
}

.text {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  max-width: 570px;
  position: relative;
  width: 100%;
}

.error_page_text{
  padding: 30px;
  display: flex;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  max-width: 570px;
  position: relative;
  width: 100%;
}

.back-btn {
  background: var(--brand-black, #000000);
  padding: 10px 15px 10px 15px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}


/* Responsive text container */
@media (max-width: 768px) {
  .text {
    padding: 20px;
    max-width: 100%;
    flex-direction: column;

  }
  .error_page_text {
    padding: 20px;
    max-width: 100%;
    flex-direction: column;
  }
  .back-btn{
    padding: 5px 10px 5px 10px;
  }
}

@media (max-width: 480px) {
  .text {
    padding: 15px;
  }
  .error_page_text {
    padding: 15px;
  }
  .back-btn{
    padding: 5px 10px 5px 10px;
  }
}
.languages {
  padding: 0px 0px 60px 0px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.link {
  border-style: solid;
  border-color: var(--border-secondary, #cccccc);
  border-width: 0px 1px 0px 0px;
  padding: 0px 20px 0px 0px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.selectedLanguage {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  cursor: pointer;
}
.hiddenLanguage {
  color: var(--text-secondary, #999999);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  position: relative;
    cursor: pointer;
}
.thank-you {
  padding: 0px 0px 60px 0px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.access-audi {
  color: var(--Text-Header, #333);
  font-family: "Audi Type";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.welcome {
  color: var(--Text-Header, #333);
  font-family: "Audi Type";
  font-size: 60px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -2px;
}

/* Responsive welcome text */
@media (max-width: 768px) {
  .welcome {
    font-size: 40px;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .welcome {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
}
.form {
  padding: 0px 0px 30px 0px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.text-input-lg {
  padding: 0px 0px 25px 0px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.label {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.field {
  border-style: solid;
  border-color: var(--border-primary, #000000);
  border-width: 0px 0px 1px 0px;
  padding: 15px 2px 15px 2px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.input-text {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  position: relative;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
}

.input-text::placeholder {
  color: var(--text-secondary, #999999);
}

.input-text:focus {
  color: var(--text-primary, #000000);
}

/* .field:focus-within {
  border-color: var(--border-brand, #f50537);
} */
.forgot-password {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 20px;
  cursor: pointer;
}
.log-in {
  border-style: solid;
  border-color: var(--border-secondary, #cccccc);
  border-width: 0px 0px 1px 0px;
  padding: 30px 0px 30px 0px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}
.button-lg {
  background: var(--brand-black, #000000);
  padding: 15px 20px 15px 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-lg:hover {
  background: var(--grey-90, #1a1a1a);
  transform: translateY(-1px);
}

.button-lg:active {
  transform: translateY(0);
}
.button {
  color: var(--brand-white, #ffffff);
  text-align: center;
  font-family: "AudiType-WideNormal", sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  position: relative;
}
.create-account {
  padding: 30px 0px 30px 0px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

/* Responsive account buttons */
@media (max-width: 767px) {
  .create-account {
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    align-items: stretch;
  }

  .button2 {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
  }

  .button3 {
    font-size: 16px;
    line-height: 22px;
  }
}
.button2 {
  border-style: solid;
  border-color: var(--border-primary, #000000);
  border-width: 1px;
  padding: 13px 20px 13px 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex: 1;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button2:hover {
  background-color: var(--surface-tertiary, #f2f2f2);
}

/* Responsive button text */
@media (max-width: 480px) {
  .button2 {
    padding: 12px 15px;
  }
}
.button3 {
  color: var(--text-primary, #000000);
  text-align: center;
  font-family: "AudiType-WideNormal", sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  position: relative;
}

/* Responsive button text for very small screens */
@media (max-width: 480px) {
  .button3 {
    font-size: 15px;
    line-height: 21px;
  }
}
.links {
  padding: 30px 0px 30px 0px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  row-gap: 10px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  align-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

/* Responsive links */
@media (max-width: 768px) {
  .links {
    /*flex-direction: column;*/
    gap: 15px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .links {
    gap: 12px;
    padding: 20px 0;
  }
}
.www-audi-usa-com {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.www-audi-usa-com:hover {
  color: var(--text-brand, #f50537);
}

.www-audi-canada-ca {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.www-audi-canada-ca:hover {
  color: var(--text-brand, #f50537);
}

.privacy-policy {
  color: var(--text-primary, #000000);
  text-align: left;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}

.privacy-policy:hover {
  color: var(--text-brand, #f50537);
}

.forgot-password:hover {
  color: var(--text-brand, #f50537);
  transition: color 0.3s ease;
}
._1997-2024-audi-of-america-inc-all-rights-reserved {
  color: var(--text-secondary, #999999);
  text-align: center;
  font-family: "AudiType-Normal", sans-serif;
  font-size: 12px;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}
.bg-01 {
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex: 1;
  min-height: 150px;
  position: relative;
  object-fit: cover;
    width: 50%;

}

/* ==========================================================================
   RESPONSIVE DESIGN ADDITIONS
   ========================================================================== */

/* Tablet and larger mobile devices */
@media (max-width: 1024px) {
  .audi-now-lockup {
    /*left: 30px;*/
  }
   .error_page_text {
      flex-direction: column;
  }
  .back-btn{
    padding: 5px 10px 5px 10px;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  .languages {
    padding: 0px 0px 40px 0px;
  }

  .thank-you {
    padding: 0px 0px 40px 0px;
  }

  .form {
    padding: 0px 0px 20px 0px;
  }

  .log-in {
    padding: 20px 0px 20px 0px;
  }

  .create-account {
    padding: 20px 0px 20px 0px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .languages {
    padding: 0px 0px 30px 0px;
    /*flex-direction: column;*/
    gap: 10px;
    align-items: center;
  }

  .link {
    border: none;
    padding: 0;
  }

  .thank-you {
    padding: 0px 0px 30px 0px;
  }

  .access-audi {
    color: var(--Text-Header, #333);
    font-family: "Audi Type";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
  }

  /* .welcome {
    text-align: center;
  } */

  .text-input-lg {
    padding: 0px 0px 20px 0px;
  }

  .log-in {
    padding: 15px 0px 15px 0px;
  }

  .create-account {
    padding: 15px 0px 15px 0px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .content {
    padding: 0px 15px;
  }

  .text {
    padding: 10px;
  }

  .welcome {
    font-size: 28px;
  }

  .audi-now {
    font-size: 16px;
    line-height: 20px;
  }
}

/* ==========================================================================
   ACCESSIBILITY AND TOUCH IMPROVEMENTS
   ========================================================================== */

/* Improved touch targets for mobile */
.button-lg,
.button2,
.www-audi-usa-com,
.www-audi-canada-ca,
.privacy-policy {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.forgot-password {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Focus states for accessibility */
.input-text:focus,
.button-lg:focus,
.button2:focus {
  /* outline: 2px solid var(--border-brand, #f50537); */
  outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .input-text {
    border: 1px solid var(--border-primary, #000000);
  }

  .button-lg {
    border: 2px solid var(--border-primary, #000000);
  }
}

/* Dark mode support */
/* @media (prefers-color-scheme: dark) {
  .login-unpopulated-1920 {
    background: var(--brand-black, #000000);
  }
} */

/* ==========================================================================
   ADDITIONAL OPTIMIZATIONS
   ========================================================================== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Large screen optimizations */
@media (min-width: 1920px) {
  .login-unpopulated-1920 {
    max-width: 1920px;
    margin: 0 auto;
  }
}

/* Ensure content doesn't get too wide on very large screens */
@media (min-width: 1600px) {
  .content {
    max-width: 800px;
  }
}

/* Print styles */
@media print {
  .bg-01 {
    display: none !important;
  }

  .login-unpopulated-1920 {
    background: white !important;
    color: black !important;
  }

  .button-lg,
  .button2 {
    border: 1px solid black !important;
    background: white !important;
    color: black !important;
  }
}
