/* #region ===== Layout */

#auth-screen {
  display: none;
}

.landing-page {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  align-items: center;
  width: 100%;
}

.landing-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 25px 0;
}

.big-wrap {
  display: flex;
  flex-direction: row;
  gap: 25px;
  margin-top: clamp(15px, 12.14px + 0.893vw, 25px);
}

@media (max-width: 615px) {
  .big-wrap {
    flex-direction: column;
    gap: 10px;
  }
}

/* #endregion */

/* #region ===== Titles */

.landing-title-hor {
  display: flex;
  justify-content: start;
  margin-top: -10px;
}

.landing-title-vert {
  display: flex;
  flex-direction: column;
}

.landing-title-white {
  font-size: clamp(42px, 33.43px + 2.679vw, 72px);
  color: var(--white);
}

.landing-title-orange {
  font-size: clamp(42px, 33.43px + 2.679vw, 72px);
  color: var(--orange);
}

.landing-subtitle {
  font-size: clamp(14px, 12.29px + 0.536vw, 20px);
  color: var(--light-gray);
  width: clamp(250px, 80vw, 600px);
  text-align: left;
}

/* #endregion */

/* #region ===== Input Form */

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

.input-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  width: fit-content;
  margin-top: 15px;
}

.pin-input {
  font-size: var(--text-base);
  padding: 5px 10px;
  background: var(--dark-blue);
  border: 3px solid transparent;
  border-radius: 8px;
  color: var(--white);
  font-family: "Cal Sans";
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  width: clamp(260px, 248.57px + 3.571vw, 300px);
  letter-spacing: 1px;
}

.pin-input:focus {
  border: 3px solid var(--orange);
}

.password-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.eye-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  width: var(--svg);
  height: var(--svg);
}

.eye-svg {
  color: var(--light-gray);
}

.forgot-pass {
  display: flex;
  color: var(--light-gray);
  margin-top: 8px;
  font-size: var(--text-base);
  justify-content: end;
  cursor: pointer;
  width: clamp(260px, 248.57px + 3.571vw, 300px);
}

.error-caption {
  display: flex;
  color: var(--red);
  margin-top: 8px;
  font-size: var(--text-base);
  text-wrap: wrap;
  width: clamp(260px, 248.57px + 3.571vw, 300px);
}

.sign-button {
  all: unset;
  cursor: pointer;
  background: var(--orange);
  color: var(--white);
  box-sizing: border-box;
  text-align: center;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: var(--text-base);
  margin-top: clamp(20px, 17.14px + 0.893vw, 30px);
  transition: transform 0.2s ease;
  width: clamp(260px, 248.57px + 3.571vw, 300px);
}

.sign-button:active {
  transform: scale(0.95);
}

.signinup-wrap {
  display: flex;
  gap: 3px;
  margin-top: 10px;
}

.signinup-link {
  font-size: var(--text-base);
  color: var(--orange);
  cursor: pointer;
}

.signinup-link-text {
  font-size: var(--text-base);
  color: var(--light-gray);
}

/* #endregion */

/* #region ===== Guest */

.guest-caption {
  font-size: var(--text-base);
  color: var(--orange);
}

.guest-button {
  all: unset;
  display: flex;
  flex-direction: row;
  gap: 2px;
  border: 2px solid rgba(255, 166, 0, 0.25);
  text-align: center;
  padding: 5px 10px;
  margin-top: 15px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--orange);
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  width: clamp(260px, 248.57px + 3.571vw, 300px);
  height: fit-content;
  transition: all 0.2s ease;
}

.guest-button:active {
  transform: scale(0.95);
}

.guest-svg {
  width: var(--svg);
  height: var(--svg);
  color: var(--orange);
  flex-shrink: 0;
}

.guest-wrap-page {
  display: flex;
  cursor: pointer;
  margin-top: 5px;
}

.guest-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.guest-banner-text {
  font-size: var(--text-base);
  color: var(--light-gray);
  font-style: italic;
}

/* #endregion */

/* #region ===== Loading Spinner */

#pin-loading {
  display: flex;
  width: clamp(260px, 248.57px + 3.571vw, 300px);
  height: clamp(203px, 195.86px + 2.232vw, 228px);
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border: 8px solid var(--dark-blue);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* #endregion */

/* #region ===== Loading Screen */

#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--bg);
  color: white;
  transition: opacity 0.2s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-hourglass {
  width: 32px;
  height: 32px;
  color: var(--orange);
  animation: hourglass-flip 2.5s ease-in-out infinite;
}

@keyframes hourglass-flip {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  75% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: var(--text-l);
  color: var(--light-gray);
}

/* #endregion */
