/* app/login/login.module.css */

.login_container__dKYZP {
  min-height: 100vh;
  background: #0A0A0F;
  color: white;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.login_header__5TWRo {
  padding: 1.5rem 1.25rem;
}

.login_logoWrapper__O1niw {
  display: flex;
  align-items: center;
}

.login_logo__GW03_ {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ===== HERO SECTION ===== */
.login_hero__dPCiD {
  position: relative;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
  overflow: hidden;
}

.login_heroGlow__Qz02m {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.12) 0%,
    rgba(245, 158, 11, 0.05) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.login_heroTitle__rvstn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.login_titleLine1__7gcu1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: white;
}

.login_titleLine2__nLmYd {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== FORM WRAPPER ===== */
.login_formWrapper__3xQJV {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.login_form__Ij6Df {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login_formTitle__3Sf7f {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

/* ===== INPUT STYLES ===== */
.login_inputGroup__luK6L {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login_inputWrapper__RMjyy {
  position: relative;
  display: flex;
  align-items: center;
}

.login_inputIcon__3RwXh {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transition: fill 0.2s ease;
}

.login_inputWrapper__RMjyy:focus-within .login_inputIcon__3RwXh {
  fill: #F59E0B;
}

.login_input__Y4JR4 {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: white;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.login_input__Y4JR4:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.login_input__Y4JR4::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.login_input__Y4JR4:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ===== ERROR MESSAGE ===== */
.login_errorMessage__xlB3R {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #EF4444;
  animation: login_shake__z7mQs 0.4s ease;
}

.login_errorIcon__39osW {
  width: 16px;
  height: 16px;
  fill: #EF4444;
  flex-shrink: 0;
}

@keyframes login_shake__z7mQs {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ===== SUBMIT BUTTON ===== */
.login_submitButton__e8r5k {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
  margin-top: 0.5rem;
}

.login_submitButton__e8r5k:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.4);
}

.login_submitButton__e8r5k:active:not(:disabled) {
  transform: translateY(0);
}

.login_submitButton__e8r5k:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.login_buttonLoader__9A_i_ {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.login_spinner__W0_61 {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: login_spin__pBhqS 0.8s linear infinite;
}

@keyframes login_spin__pBhqS {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== SIGNUP LINK ===== */
.login_signupLink__nY9bU {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.login_signupLink__nY9bU span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.login_link__xjylW {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #F59E0B;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login_link__xjylW:hover {
  color: #FBBF24;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
.login_footer__Xh0OZ {
  margin-top: auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.login_legalText__D2o_V {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.5;
}

.login_legalLink__OW4b5 {
  background: none;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s ease;
}

.login_legalLink__OW4b5:hover {
  color: white;
}

.login_downloadSection__y2IPT {
  display: flex;
  justify-content: center;
}

.login_downloadButton__Ub8Ax {
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.login_downloadButton__Ub8Ax:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.login_footerBottom__VeoYr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 400px;
}

.login_footerBrand__mF_PC {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login_brandName__ucqAZ {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
}

.login_copyright__CGNlF {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.login_footerLinks__1At_W {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
}

.login_footerLinks__1At_W button {
  background: none;
  border: none;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}

.login_footerLinks__1At_W button:hover {
  color: white;
}

/* ===== LOADING SCREEN ===== */
.login_loadingScreen__1Feyw {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 100vh;
}

.login_loadingScreen__1Feyw p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.login_loadingSpinner__w5NpX {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #F59E0B;
  border-radius: 50%;
  animation: login_spin__pBhqS 0.8s linear infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 360px) {
  .login_titleLine1__7gcu1,
  .login_titleLine2__nLmYd {
    font-size: 2.25rem;
  }

  .login_formTitle__3Sf7f {
    font-size: 1.125rem;
  }

  .login_input__Y4JR4 {
    padding: 0.875rem 0.875rem 0.875rem 2.75rem;
  }

  .login_submitButton__e8r5k {
    padding: 0.875rem;
  }
}

@media (min-width: 768px) {
  .login_hero__dPCiD {
    padding: 3rem 1.25rem 4rem;
  }

  .login_titleLine1__7gcu1,
  .login_titleLine2__nLmYd {
    font-size: 3.5rem;
  }

  .login_formWrapper__3xQJV {
    max-width: 420px;
  }
}

