/* --- GLOBAL & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.auction-auth-page {
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #f5f5f5;
  min-height: 100vh;
  height: auto !important;
  overflow-y: auto !important;
  position: relative !important;
}

html:has(body.auction-auth-page) {
    overflow-y: auto !important;
    height: auto !important;
}

input,
button,
textarea,
select {
  font-family: inherit;
}

.auction-auth-page .tm-header,
.auction-auth-page .tm-header-mobile {
    position: sticky !important;
    top: 0;
    z-index: 300 !important;
    width: 100%;
    background-color: #fff;
}

.auction-auth-page h1,
.auction-auth-page h2,
.auction-auth-page h3,
.auction-auth-page h4,
.auction-auth-page h5,
.auction-auth-page h6,
.auction-auth-page p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* --- LOGIN PAGE STYLES --- */

.signIn-modal-overlay {
  position: relative;
  width: 100%;
  min-height: 90vh;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signIn-modal {
  width: 100%;
  max-width: 1244px;
  background-color: #ffffff;
  display: flex;
  border-radius: 24px;
  margin: auto;
  overflow: hidden;
}

@media (max-width: 750px) {
  .signIn-modal {
    max-width: 343px;
  }
}

.signIn-modal__main {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: clamp(20px, 2vw, 24px);
  flex: 1 1 450px;
  padding: clamp(52px, 5.6vw + 31px, 112px) clamp(28px, 4vw, 82px)
    clamp(28px, 7.8vw, 112px) clamp(28px, 6vw, 84px);
}

@media (max-width: 750px) {
  .signIn-modal__main {
    padding: 52px 28px 28px 28px;
  }
}

.signIn-modal__close--mobile, .signIn-modal__close {
  display: none;
}

.signIn-modal__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 750px) {
  .signIn-modal__header {
    align-items: center;
    gap: 6px;
  }
}

.signIn-modal__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 1.9vw + 17px, 44px);
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.02em;
  color: #262628;
}

@media (max-width: 750px) {
  .signIn-modal__title {
    letter-spacing: -0.01em;
    line-height: 28px;
    font-size: 24px;
  }
}

.desktop-break {
  display: none;
}

@media (min-width: 750px) {
  .desktop-break {
    display: inline;
  }
}

.signIn-modal__body {
  display: flex;
  gap: 25px;
  flex-direction: column;
}

@media (max-width: 750px) {
  .signIn-modal__body {
    gap: 20px;
  }
}

.signIn-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  align-items: flex-start;
}

@media (max-width: 750px) {
  .signIn-modal__form {
    align-items: center;
  }
}

/* Styling Ultimate Member fields to match */
.um-form input[type=text],
.um-form input[type=password],
.um-form input[type=email],
.um-form input[type=tel] {
  width: 100% !important;
  height: 56px !important;
  background: #f3f3f3 !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 16px 16px 16px 20px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #666b6d !important;
}

.um-form input:focus {
  background: #fff !important;
  outline: 2px solid #262628 !important;
}

.um-form .um-field {
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.um-field-area-password {
    position: relative !important;
}

.um-field-area-password input[type=password] {
    padding-right: 50px !important;
}

.um-toggle-password {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666b6d;
    font-size: 18px;
    z-index: 10;
    width: 24px;
    height: 24px;
}

.um-toggle-password i {
    display: block !important;
    line-height: 1 !important;
}



.um-col-alt, 
.um-left, 
.um-right, 
.um-center {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin: 0 !important;
}

.um-col-alt .um-button,
.um-form .um-button,
#um-submit-btn {
    font-family: "Manrope", sans-serif !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: #262628 !important;
    border-radius: 20px !important;
    border: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    color: #ffffff !important;
    height: 56px !important;
    padding: 0 !important;
    transition: opacity 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.um-col-alt .um-button:hover,
#um-submit-btn:hover {
    opacity: 0.9 !important;
}


.signIn-modal__btn--google {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-family: "Manrope", sans-serif;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  color: #262628;
  height: 56px;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}


.signIn-modal__input-group {
  position: relative;
  width: 100%;
  max-width: 466px;
}

.signIn-modal__input-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 2;
}

.signIn-modal__input {
  width: 100%;
  height: 56px;
  background: #f3f3f3;
  border: none;
  border-radius: 20px;
  padding: 16px 16px 16px 52px;
  font-weight: 600;
  font-size: 14px;
  color: #666b6d;
}

.signIn-modal__input:focus {
  background: #fff;
  outline: 2px solid #262628;
}

.signIn-modal__input--btn {
  background: transparent;
  border: none;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 24px;
  font-size: 16px;
  color: #262628;
  cursor: pointer;
}

.signIn-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 750px) {
  .signIn-modal__buttons {
    gap: 16px;
  }
}

.signIn-modal__btn {
  font-family: "Manrope", sans-serif;
  width: 100%;
  background-color: #262628;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  padding: 18px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signIn-modal__btn:hover {
  opacity: 0.9;
}

.signIn-modal__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: -2%;
  font-weight: 600;
  color: #545859;
  gap: 8px;
}

.signIn-modal__divider::before,
.signIn-modal__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #f3f3f3;
}

.signIn-modal__btn--google {
  display: flex;
  flex-direction: row;
  gap: 12px;
  justify-content: center;
  align-items: center;
  font-family: "Manrope", sans-serif;
  width: 100%;
  background-color: #f3f3f3;
  border-radius: 20px;
  border: none;
  font-weight: 600;
  font-size: 16px;
  color: #262628;
  padding: 16px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.signIn-modal__btn--google p {
    margin: 0;
    line-height: normal;
    padding: 0;
}

.signIn-modal__google-icon {
    width: 24px;
    height: 24px;
    display: block;
}

.signIn-modal__btn--google:hover {
  opacity: 0.9;
}

.signIn-modal--footer {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: center;
}

.signIn-modal--footer-text {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: #545859;
}

.signIn-modal--footer-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #262628;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

.signIn-modal__footer--mobile {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: auto;
}

@media (max-width: 750px) {
  .signIn-modal__footer--mobile {
    display: flex;
  }
}

.signIn-modal__support {
  font-family: "Manrope", sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 24px;
  gap: 8px;
  color: #545859;
  display: flex;
  flex-direction: column;
}

@media (max-width: 750px) {
  .signIn-modal__support {
    align-items: center;
    line-height: 18px;
  }
}

.signIn-modal__support a {
  font-family: "Manrope", sans-serif;
  color: #262628;
  font-weight: 700;
  text-decoration: none;
}

.signIn-modal__sidebar {
  flex: 1 1 445px;
  background: linear-gradient(180deg, #f3f3f3 0%, #ffe269 100%);
  position: relative;
  margin: clamp(10px, 1.5vw, 12px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 750px) {
  .signIn-modal__sidebar {
    display: none;
  }
}

.signIn-modal__sidebar--content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: clamp(30px, 8.5vw, 120px) clamp(20px, 9vw, 145.5px) 24px
    clamp(20px, 9vw, 145.5px);
}

.signIn-modal__sidebar-logo {
  width: clamp(40px, 5vw, 60px);
}

.signIn-modal__sidebar-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 1.9vw + 15px, 44px);
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.02em;
  color: #262628;
}

.signIn-modal__sidebar--image {
  width: 100%;
  background-image: url("../auth/login-hero.png");
  aspect-ratio: 500 / 300;
  background-repeat: no-repeat;
  background-position: center top, center center;
  background-size: 100% auto;
  max-height: 303px;
}

.signIn-modal__sidebar--footer {
  padding: 10px clamp(20px, 10vw, 145.5px) 24px clamp(20px, 10vw, 145.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}


/* --- REGISTER PAGE STYLES --- */

.reg-modal-overlay {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background-color: #ffffff; 
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reg-modal {
  width: 100%;
  max-width: 1244px;
  background-color: #ffffff;
  display: flex;
  border-radius: 24px;
  margin: auto;
  overflow: hidden;
}

@media (max-width: 750px) {
  .reg-modal {
    max-width: 343px;
  }
}

.reg-modal__main {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: clamp(20px, 2vw, 24px);
  flex: 1 1 450px;
  padding: 52px clamp(28px, 4vw, 82px) clamp(28px, 4vw, 52px)
    clamp(28px, 6vw, 84px);
}

.reg-modal__close--mobile, .reg-modal__close {
  display: none;
}

.reg-modal__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 750px) {
  .reg-modal__header {
    align-items: center;
    gap: 6px;
  }
}

.reg-modal__title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(24px, 1.9vw + 17px, 44px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #262628;
}

@media (max-width: 750px) {
  .reg-modal__title {
    letter-spacing: -0.01em;
  }
}

.reg-modal__subtitle {
  font-family: "Manrope", sans-serif;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: #262628;
}

@media (max-width: 750px) {
  .reg-modal__subtitle {
    text-align: center;
    letter-spacing: 0;
    line-height: 18px;
  }
}

.reg-modal__body {
  display: flex;
  gap: 25px;
  flex-direction: column;
}

@media (max-width: 750px) {
  .reg-modal__body {
    gap: 20px;
  }
}

.reg-modal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.reg-modal__input-group {
  position: relative;
  width: 100%;
  max-width: 466px;
}

.reg-modal__input-icon {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 2;
}

.reg-modal__input {
  width: 100%;
  height: 56px;
  background: #f3f3f3;
  border: none;
  border-radius: 20px;
  padding: 16px 16px 16px 52px;
  font-weight: 600;
  font-size: 14px;
  color: #666b6d;
}

.reg-modal__input:focus {
  background: #fff;
  outline: 2px solid #262628;
}

.reg-modal__recaptcha {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-left: 12px;
}

@media (max-width: 750px) {
  .reg-modal__recaptcha {
    display: none;
  }
}

.reg-modal__recaptcha-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.reg-modal__recaptcha-check {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.reg-modal__recaptcha-box {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 1px;
  position: relative;
  transition: all 0.2s;
}
.reg-modal__recaptcha-check:checked ~ .reg-modal__recaptcha-box {
  border-color: #ffca1b;
}

.reg-modal__recaptcha-check:checked ~ .reg-modal__recaptcha-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #ffca1b;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.reg-modal__recaptcha-text {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
}

.reg-modal__recaptcha-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.93px;
}

.reg-modal__recaptcha-icon {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.reg-modal__recaptcha-terms {
  font-size: 5.87px;
  color: #a6a6a6;
  text-align: center;
}

.reg-modal__recaptcha-terms a {
  color: #a6a6a6;
  text-decoration: none;
}

.reg-modal__btn {
  font-family: "Manrope", sans-serif;
  width: 100%;
  background-color: #262628;
  border-radius: 20px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  padding: 18px 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.reg-modal__btn:hover {
  opacity: 0.9;
}

.reg-modal__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.reg-modal__footer-text {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #545859;
  margin: 0;
  line-height: 1;
}

.reg-modal__footer-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #262628;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
}

.reg-modal__footer--mobile {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  margin-top: auto;
}

@media (max-width: 750px) {
  .reg-modal__footer--mobile {
    display: flex;
  }
}

.reg-modal__sidebar {
  flex: 1 1 445px;
  background: linear-gradient(180deg, #f3f3f3 0%, #ffe269 100%);
  position: relative;
  margin: clamp(10px, 1.5vw, 12px);
  border-radius: 16px;
  padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 72px) 0
    clamp(20px, 4vw, 72px);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 750px) {
  .reg-modal__sidebar {
    display: none;
  }
}

.reg-modal__close {
  display: none;
}

.reg-modal__sidebar--content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.reg-modal__sidebar__header {
  display: flex;
  flex-direction: column;
  gap: 31px;
  align-items: center;
}

.reg-modal__sidebar-logo {
  width: clamp(40px, 5vw, 60px);
}

.reg-modal__sidebar-title {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 28px;
  color: #262628;
}

.reg-modal__benefits {
  background: rgba(255, 255, 255, 0.7);
  border-radius: clamp(20px, 2vw, 32px);
  padding: clamp(20px, 2vw, 28px) clamp(20px, 3vw, 32px);
  max-width: 466px;
  text-align: left;
}

.reg-modal__benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.5vw, 20px);
}

.reg-modal__benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reg-modal__benefit-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.reg-modal__benefit-item p {
  font-family: "Manrope", sans-serif;
  font-size: clamp(13px, 2vw, 16px);
  line-height: 24px;
  color: #262628;
  font-weight: 600;
}

.reg-modal__sidebar--footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  margin-top: auto;
}

.reg-modal__support {
  font-family: "Manrope", sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 24px;
  gap: 8px;
  color: #545859;
  display: flex;
  flex-direction: column;
}

@media (max-width: 750px) {
  .reg-modal__support {
    align-items: center;
    line-height: 18px;
  }
}

.reg-modal__support a {
  font-family: "Manrope", sans-serif;
  color: #262628;
  font-weight: 700;
  text-decoration: none;
}

.reg-modal__cars {
  max-width: 130%;
  margin-bottom: -5px;
}
