/* Login/register split-panel screen — components/auth/AuthSplitLayout.tsx,
   features/auth/components/{LoginForm,RegisterForm}.tsx. No Header/Footer:
   a focused auth screen, not a regular storefront page. */
.sw-auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f5;
  padding: 32px 16px;
  font-family: 'Poppins', sans-serif;
}

.sw-auth-card {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.1);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  overflow: hidden;
  min-height: 620px;
}
@media (max-width: 860px) {
  .sw-auth-card {
    grid-template-columns: 1fr;
  }
}

.sw-auth-panel {
  background: linear-gradient(160deg, var(--sw-primary-light), var(--sw-primary-hover));
  color: #fff;
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (max-width: 860px) {
  .sw-auth-panel {
    display: none;
  }
}
.sw-auth-panel h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 12px;
}
.sw-auth-panel p {
  font-size: 14.5px;
  opacity: 0.92;
  line-height: 1.6;
  max-width: 380px;
  margin: 0 0 28px;
}
.sw-auth-panel-image {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 12px;
}
.sw-auth-panel-image svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.25));
}

.sw-auth-form-side {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 500px) {
  .sw-auth-form-side {
    padding: 36px 24px;
  }
}
.sw-auth-brand {
  margin-bottom: 24px;
}
.sw-auth-brand img {
  height: 34px;
}

.sw-auth-form h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: #171717;
}
.sw-auth-subtitle {
  margin: 0 0 24px;
  color: #888;
  font-size: 13.5px;
}
.sw-auth-notice {
  background: rgba(30, 158, 92, 0.1);
  color: var(--sw-success);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin: 0 0 18px;
}
.sw-auth-error {
  background: rgba(192, 57, 43, 0.08);
  color: var(--sw-error);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin: 0 0 16px;
}

.sw-auth-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sw-auth-field {
  display: block;
  margin-bottom: 16px;
}
.sw-auth-field span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}
.sw-auth-field input {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #f9f9fa;
  padding: 0 16px;
  font-size: 14px;
  color: #222;
}
.sw-auth-field input:focus {
  outline: none;
  border-color: var(--sw-primary);
  background: #fff;
}
.sw-auth-password-wrap {
  position: relative;
}
.sw-auth-password-wrap input {
  padding-right: 44px;
}
.sw-auth-password-wrap button {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}

.sw-auth-forgot {
  text-align: right;
  margin-bottom: 20px;
}
.sw-auth-forgot a {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-primary);
}

.sw-auth-submit {
  width: 100%;
  height: 50px;
  border: none;
  border-radius: 10px;
  background: var(--sw-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sw-auth-submit:hover:not(:disabled) {
  background: var(--sw-primary-hover);
}
.sw-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sw-auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 18px;
  color: #999;
  font-size: 12.5px;
}
.sw-auth-divider::before,
.sw-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}

.sw-auth-social-btn {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
}
.sw-auth-social-btn-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.sw-auth-google-slot-disabled {
  pointer-events: none;
  opacity: 0.55;
}

.sw-auth-switch {
  text-align: center;
  margin-top: 22px;
  font-size: 13.5px;
  color: #777;
}
.sw-auth-switch a {
  color: var(--sw-primary);
  font-weight: 700;
}
