:root {
  --background: #ffffff;
  --foreground: #000000;
  --muted: #f4f4f5;
  --muted-foreground: #71717a;
  --border: #e4e4e7;
  --accent: #f4f4f5;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
}

.sauth-root {
  display: grid;
  grid-template-columns: 1fr;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--background);
}

@media (min-width: 1024px) {
  .sauth-root {
    grid-template-columns: 42% 58%;
  }
}

.sauth-left {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--background);
  border-right: 1px solid var(--border);
  height: 100%;
  overflow-y: auto;
  padding: 2rem 1.5rem;
}

@media (min-width: 1280px) {
  .sauth-left {
    padding: 2.5rem 3.5rem;
  }
}

.sauth-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-bottom: 2.5rem;
}

.sauth-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.125rem;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.sauth-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sauth-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--foreground);
  margin: 0;
}

@media (min-width: 1280px) {
  .sauth-title {
    font-size: 2rem;
  }
}

.sauth-subtitle {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}

.sauth-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sauth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sauth-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.sauth-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.sauth-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.sauth-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  background-color: #fafafa;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.sauth-input:focus {
  outline: none;
  border-color: #000;
}

.sauth-forgot {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
  letter-spacing: 0.005em;
  align-self: flex-end;
  margin-top: 4px;
}

.sauth-forgot:hover {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  background-color: var(--foreground);
  color: var(--background);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.sauth-btn:hover {
  opacity: 0.88;
}

.sauth-btn:active {
  transform: scale(0.985);
}

.sauth-invite {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.sauth-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

@media (min-width: 400px) {
  .sauth-footer {
    gap: 0.5rem;
    font-size: 0.65rem;
  }
}

.sauth-footer a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.15s ease;
}

.sauth-footer a:hover {
  color: var(--foreground);
}

.sauth-footer-dot {
  color: var(--border);
  user-select: none;
}

.sauth-right {
  display: none;
  background-color: #f7f7f6;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .sauth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
  }
}

.sauth-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 580px;
}

.sauth-carousel-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  overflow: visible;
}

.sauth-carousel-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.sauth-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sauth-carousel-slide--active {
  opacity: 1;
}

.sauth-carousel-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  color: #F2F4F8;
}

.sauth-carousel-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  z-index: 1;
  transform: scale(0.75);
}

.sauth-carousel-caption {
  position: relative;
  width: 100%;
  text-align: left;
  min-height: 72px;
}

.sauth-carousel-caption-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.sauth-carousel-caption-item--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sauth-carousel-headline {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.sauth-carousel-subheadline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

.sauth-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
}

.sauth-carousel-dot {
  height: 7px;
  width: 7px;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.sauth-carousel-dot--active {
  width: 22px;
  background-color: var(--foreground);
}

.sauth-error-msg {
  color: #dc2626;
  font-size: 0.875rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.75rem;
  border-radius: 8px;
  display: none;
}
