/* ========= Log!t Design System - Auth Styling ========= */

.welcomePage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--bg);
}

.welcomeContainer {
  width: 100%;
  max-width: 360px;
}

.welcomeContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.welcomeLogo {
  text-align: center;
}

.welcomeLogo h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: var(--text);
  margin: 0;
}

.logo-accent {
  color: var(--text);
}

.welcomeTagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 6px 0 0 0;
}

.welcomeMessage {
  text-align: center;
}

.welcomeMessage p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* ========= AUTH FORM ========= */
.authCard {
  width: 100%;
}

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

.authInput {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 15px;
}

.authInput::placeholder {
  color: var(--muted);
}

.authInput:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
}

.forgotLink {
  text-align: center;
  margin-top: -4px;
}

.authActions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.btnPrimary {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btnPrimary:active {
  opacity: 0.85;
}

.authDivider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.authDivider::before,
.authDivider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--border);
}

.btnSecondary {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btnSecondary:active {
  opacity: 0.85;
}

.authLink {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.authLink:active {
  opacity: 0.7;
}

.authMessage {
  font-size: 12px;
  color: var(--red);
  text-align: center;
  min-height: 16px;
  line-height: 1.4;
}

/* ========= BACK BUTTON ========= */
.backBtn {
  display: none;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 4px;
}

.backBtn:active {
  opacity: 0.7;
}

/* ========= PASSWORD TOGGLE ========= */
.passwordWrap {
  position: relative;
}

.passwordWrap .authInput {
  padding-right: 48px;
}

.passwordToggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

/* ========= RESPONSIVE ========= */
@media (min-width: 1024px) {
  .welcomeContainer {
    max-width: 380px;
  }

  .welcomeLogo h1 {
    font-size: 44px;
  }

  .authInput {
    height: 50px;
  }

  .btnPrimary,
  .btnSecondary {
    height: 50px;
  }
}
