:root {
  --green-primary: #3b7d23;
  --green-hover: rgba(59, 125, 35, 0.8);
  --green-focus-ring: rgba(59, 125, 35, 0.12);
  --green-badge: rgba(91, 168, 58, 0.82);
  --orange-badge: rgba(224, 123, 0, 0.82);
  --text-muted: #717182;
  --text-dark: #16161f;
  --border-color: #e3e3ee;
  --input-bg: #f9f9fc;
  --slide-ms: 4000;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "DM Sans", sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.auth-container {
  display: flex;
  height: 100vh;
}

.auth-sidebar {
  flex: 0 0 56%;
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14, 44, 5, 0.6);
}

.slide-1 {
  background-image: url("../images/carousel_1.png");
}

.slide-2 {
  background-image: url("../images/carousel_2.png");
}

.slide-3 {
  background-image: url("../images/carousel_3.png");
}

.carousel-logo {
  position: absolute;
  top: 28px;
  left: 36px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.carousel-logo-img {
  width: 10rem;
  object-fit: contain;
  border: transparent;
}

.carousel-logo-wordmark {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.2px;
}

.slide-content {
  position: absolute;
  bottom: 108px;
  left: 36px;
  right: 48px;
  z-index: 20;
  color: #fff;
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
  letter-spacing: 0.1px;
}

.slide-badge .badge-dot {
  font-size: 10px;
  opacity: 0.9;
}

.badge-green {
  background: var(--green-badge);
}

.badge-orange {
  background: var(--orange-badge);
}

.slide-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 12px;
  max-width: 400px;
  letter-spacing: -0.5px;
}

.slide-subtitle {
  font-size: 13.5px;
  line-height: 1.65;
  opacity: 0.82;
  max-width: 360px;
  margin-bottom: 22px;
}

.slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.slide-cta:hover {
  border-color: rgba(255, 255, 255, 0.75);
}

.carousel-nav {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-arrows {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.nav-arrow {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: background 0.2s;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
}

.progress-bars {
  display: flex;
  gap: 6px;
  align-items: center;
}

.progress-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
  cursor: pointer;
  transition: width 0.3s ease;
  position: relative;
}

.progress-bar.inactive {
  width: 22px;
}

.progress-bar.active {
  width: 56px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
}

@keyframes fillProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.progress-bar.active .progress-fill {
  animation: fillProgress calc(var(--slide-ms) * 1ms) linear forwards;
}

.auth-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group>label {
  font-size: 13px;
  font-weight: 500;
  color: #2c2c3a;
}

@media (max-width: 920px) {
  .auth-sidebar {
    flex: 0 0 48%;
  }

  .auth-panel {
    padding: 48px 40px;
  }
}

@media (max-width: 680px) {
  .auth-container {
    flex-direction: column;
    overflow-y: auto;
  }

  body {
    overflow: auto;
  }

  .auth-sidebar {
    flex: 0 0 48vh;
    min-height: 320px;
  }

  .auth-panel {
    flex: 1;
    padding: 36px 24px;
    overflow-y: visible;
  }
}