/* Login UI – ShopSphere-style: light header, curved divider, feature footer */
.login-ui {
  min-height: 100vh;
  background: #f0f0f0;
  color: #000;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-ui__card {
  width: 100%;
  max-width: 440px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #fff;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header: light background, logo left, hero right, curved white shape with orange accent */
.login-ui__header {
  position: relative;
  background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 60%, #e8e8e8 100%);
  padding: 24px 20px 48px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.login-ui__header-dots {
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: radial-gradient(circle, rgba(0,0,0,0.2) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
}

.login-ui__header-dots--left {
  top: 16px;
  left: 16px;
}

.login-ui__header-dots--right {
  top: 16px;
  right: 100px;
}

.login-ui__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.login-ui__logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.login-ui__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.login-ui__brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.02em;
}

.login-ui__brand-tagline {
  font-size: 13px;
  color: #666;
  font-weight: 400;
}

.login-ui__hero {
  flex-shrink: 0;
  text-align: right;
}

.login-ui__hero-img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.login-ui__header {
  background-image: url('/public/images/login-banner-image-2.png');
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}
/* Curved white shape at bottom of header with orange brush accent on right */
.login-ui__header-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform: scaleX(1.02);
}

/* Body: pure white form section */
.login-ui__body {
  background: #fff;
  padding: 28px 24px 32px;
}

.login-ui__welcome {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.login-ui__subline {
  font-size: 14px;
  color: #333;
  margin: 0 0 24px;
}

.login-ui__subline-accent {
  color: #e85d04;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-ui__message {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.login-ui__message--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.login-ui__message--info {
  background: #e3f2fd;
  color: #1565c0;
}

.login-ui__message--error {
  background: #ffebee;
  color: #c62828;
}

/* Form */
.login-ui__form {
  margin-bottom: 20px;
}

.login-ui__phone-wrap {
  display: flex;
  align-items: center;
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 16px;
}

.login-ui__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  color: #888;
}

.login-ui__country {
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  border-right: 1px solid #e0e0e0;
  line-height: 52px;
}

.login-ui__phone-sep {
  width: 1px;
  height: 28px;
  background: #e0e0e0;
  flex-shrink: 0;
}

.login-ui__phone-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  padding: 0 16px;
  font-size: 15px;
  color: #000;
  background: transparent;
}

.login-ui__phone-input::placeholder {
  color: #999;
}

.login-ui__phone-input:focus {
  outline: none;
}

/* OTP verification (same UI as login) */
.login-ui__otp-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.login-ui__otp-box {
  width: 56px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  color: #000;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-ui__otp-box:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.login-ui__otp-box--filled {
  border-color: #333;
}

.login-ui__otp-resend {
  text-align: center;
  margin-bottom: 20px;
  min-height: 24px;
}

.login-ui__otp-resend-timer {
  font-size: 13px;
  color: #666;
}

.login-ui__otp-resend-btn {
  background: none;
  border: none;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
}

.login-ui__otp-resend-btn:hover {
  color: #333;
}

.login-ui__btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Buttons */
.login-ui__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s, box-shadow 0.2s;
}

.login-ui__btn--primary {
  background: #000;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-right: 56px;
}

.login-ui__btn--primary:hover {
  opacity: 0.92;
}

.login-ui__btn-arrow {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e85d04;
  color: #fff;
}

.login-ui__btn-arrow--dark {
  position: static;
  transform: none;
  margin-left: auto;
  padding-right: 4px;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
}

/* OR */
.login-ui__or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 20px;
}

.login-ui__or-line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.login-ui__or-text {
  font-size: 12px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.05em;
}

/* Social */
.login-ui__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-ui__btn--google {
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
}

.login-ui__btn--google:hover {
  background: #f9f9f9;
  border-color: #ccc;
}

.login-ui__btn--apple {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.login-ui__btn--apple:hover {
  opacity: 0.92;
}

.login-ui__google-icon,
.login-ui__apple-icon {
  flex-shrink: 0;
}

.login-ui__apple-icon {
  color: #fff;
}

/* Privacy – grey padlock, darker grey underlined link (per reference) */
.login-ui__privacy {
  margin: 24px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}

.login-ui__privacy-icon {
  color: #b85c38;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.login-ui__privacy-link {
  color: #555;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.login-ui__privacy-link:hover {
  color: #000;
}

/* Footer: Secure Login, Fast Access, 24/7 Support */
.login-ui__footer {
  background: #fff;
  padding: 20px 24px 24px;
  border-top: 1px solid #eee;
}

.login-ui__footer-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.login-ui__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.login-ui__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.login-ui__feature-icon svg {
  stroke: #333;
}

.login-ui__feature-icon [stroke="#e85d04"],
.login-ui__feature-icon .accent {
  stroke: #e85d04;
}

.login-ui__feature-label {
  font-size: 11px;
  font-weight: 600;
  color: #555;
  text-transform: none;
  letter-spacing: 0.02em;
}

.login-ui__feature-sep {
  width: 1px;
  height: 32px;
  background: #e0e0e0;
  flex-shrink: 0;
}

@media (min-width: 380px) {
  .login-ui__header {
    padding: 30% 3%;
  }
  .login-ui__body {
    padding: 32px 28px 36px;
  }
  .login-ui__welcome {
    font-size: 26px;
  }
  .login-ui__hero-img {
    width: 140px;
    height: 115px;
    box-shadow: none;
    border-radius: 0;
  }
}
