/* Login Hero Page - Based on Figma Designs */

/* Root variables for the login page */
:root {
  --login-primary: #4d00ff;
  --login-bg: #fef5ed;
  --login-text-light: #fef5ed;
}

/* Body setup */
body.login-hero {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: Onest, Urbanist, sans-serif;
}

/* Hero background layers */
.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Logo */
.hero-logo {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.hero-logo img {
  height: 55px;
  width: auto;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 140px 20px 20px;
  color: var(--login-text-light);
}

/* Hero text */
.hero-text {
  text-align: left;
}

.hero-intro {
  font-family: Onest, sans-serif;
  font-size: 24.72px;
  font-weight: 400;
  margin: 0 0 8px -4px;
  color: var(--login-text-light);
}

.hero-title {
  font-family: 'EB Garamond', serif;
  font-size: 88.27px;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  color: var(--login-text-light);
}

.hero-description {
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 24px 0 0 0;
  max-width: 798px;
  color: white;
}

.hero-description p {
  margin: 0 0 12px 0;
}

.hero-description p:last-child {
  margin-bottom: 0;
}

.welcome-heading {
  font-family: Onest, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: white;
}

/* Mobile CTA */
.hero-cta {
  margin-top: auto;
}

.cta-heading {
  font-family: Onest, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 32px 0;
  color: var(--login-text-light);
}

.cta-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: 100px;
  border: none;
  font-family: Onest, sans-serif;
  font-size: 15.4px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
  transform: rotate(-90deg);
}

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

.btn-primary:hover {
  background-color: #3d00cc;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-tertiary {
  background-color: transparent;
  color: white;
  border: none;
}

.btn-tertiary:hover {
  color: var(--login-text-light);
  text-decoration: underline;
}

/* Desktop login form */
.login-form-container {
  margin-top: auto;
}

.form-heading {
  font-family: Onest, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 16px 0;
  color: var(--login-text-light);
}

.form-subheading {
  font-family: Onest, sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 24px 0;
  color: var(--login-text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-family: Onest, sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--login-text-light);
  margin-bottom: 8px;
}

body.login-hero .form-field input,
body.login-hero .form-field select {
  padding: 14px 18px;
  border-radius: 100px;
  border: none;
  font-family: Onest, sans-serif;
  font-size: 16px;
  background-color: white;
  color: #353631;
}

body.login-hero .form-field input::placeholder {
  color: #999;
  opacity: 1;
}

body.login-hero .form-field input:focus,
body.login-hero .form-field select:focus {
  outline: 2px solid var(--login-primary);
  outline-offset: 2px;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23353631' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.form-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.terms-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-family: Onest, sans-serif;
  font-size: 14px;
  color: var(--login-text-light);
}

.terms-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.terms-checkbox label {
  cursor: pointer;
  margin: 0;
}

.terms-checkbox a {
  color: var(--login-text-light);
  text-decoration: underline;
}

.form-footer {
  text-align: center;
  margin-top: 16px;
  font-family: Onest, sans-serif;
  font-size: 14px;
  color: var(--login-text-light);
}

.form-footer a {
  color: var(--login-text-light);
  text-decoration: underline;
}

/* Utility classes */
.hidden {
  display: none !important;
}

.mobile-only {
  display: block;
}

.desktop-only {
  display: none;
}

/* Messages */
#login-message,
#registration-message {
  margin-top: 16px;
  font-family: Onest, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12px;
  color: #ff3838;
  text-align: left;
}

#resend-verify-btn,
#reset-password-btn {
  width: 100%;
  margin-top: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: Onest, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

#resend-verify-btn:hover,
#reset-password-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

#resend-message,
#reset-password-message {
  margin-top: 12px;
  font-family: Onest, sans-serif;
  font-size: 14px;
  color: var(--login-text-light);
  text-align: center;
}

/* Mobile breakpoint */
@media (max-width: 1023px) {
  .hero-content {
    box-sizing: border-box;
    min-height: 100vh;
    height: auto;
    padding: 0 20px 40px;
    overflow-x: hidden;
  }

  .hero-text {
    margin-top: 140px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* Tablet breakpoint */
/* @media (min-width: 768px) and (max-width: 1023px) {
  .hero-content {
    box-sizing: border-box;
    height: 100vh;
    min-height: auto;
    overflow: hidden;
  }

  .hero-intro {
    font-size: 32px;
  }

  .hero-title {
    font-size: 120px;
  }
  .hero-text {
    margin-top: 35vh;
  }

  .hero-description {
    font-size: 20px;
  }
} */

/* Desktop breakpoint */
@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  .hero-logo {
    left: 180px;
    transform: none;
    top: 54px;
  }

  .hero-content {
    padding: 200px 180px 100px;
    justify-content: flex-start;
    box-sizing: border-box;
    min-height: 100vh;
    height: auto;
  }

  .hero-text {
    margin-bottom: 48px;
  }

  .hero-intro {
    font-size: 56px;
    margin-left: 0;
  }

  .hero-title {
    font-size: 152.31px;
    margin-left: -8px;
  }

  .hero-description {
    font-size: 18px;
    margin-top: 32px;
  }

  .welcome-heading {
    font-size: 28px;
  }

  .login-form-container {
    max-width: 540px;
    margin-top: 0;
  }

  .form-heading {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .form-row {
    margin-bottom: 16px;
  }

  .form-actions {
    margin-top: 24px;
  }

  .btn {
    min-width: 124px;
    justify-content: center;
  }
}

/* Large desktop */
@media (min-width: 1440px) {
  .hero-content {
    padding: 200px 240px 120px;
  }
}
