/* ======================================================
   GLOBAL
====================================================== */
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f9;
}

* {
  box-sizing: border-box;
}

/* ======================================================
   WRAPPER
====================================================== */
.auth-wrapper {
  height: 100vh;
  width: 100%;
}

/* ======================================================
   LEFT SLIDER
====================================================== */
.auth-slider {
  background: linear-gradient(135deg, #0d6efd 0%, #003f88 100%);
  color: #ffffff;

  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */

  position: relative;
  overflow: hidden;
}

/* container slide */
.slider-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/* single slide */
.slide {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 4rem;

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

/* active slide */
.slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* background decorative circle */
.slide::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  z-index: -1;
}

/* slide image */
.slide img {
  width: 100%;
  max-width: 440px;
  /* BIG & PRESISI */
  height: auto;
  margin-bottom: 2.2rem;

  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.35));
}

/* slide title */
.slide h4 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* slide description */
.slide p {
  font-size: 1.05rem;
  max-width: 480px;
  opacity: 0.9;
  line-height: 1.6;
}

/* ======================================================
   RIGHT PANEL
====================================================== */
.auth-panel {
  background: #f8f9fa;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* login card */
.auth-card {
  width: 100%;
  max-width: 400px;

  background: #ffffff;
  padding: 2.8rem 2.6rem;

  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* input */
.auth-card .form-control {
  height: 44px;
  border-radius: 0.6rem;
  margin-bottom: 1.1rem;
}

/* button */
.auth-card button {
  height: 44px;
  border-radius: 0.6rem;
  font-weight: 500;
}

/* links */
.auth-links {
  margin-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.auth-links a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ======================================================
   WHATSAPP FLOATING
====================================================== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;

  width: 56px;
  height: 56px;

  background: #25D366;
  color: #ffffff;

  border-radius: 50%;
  font-size: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ======================================================
   SPINNER OVERLAY
====================================================== */
.spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 991px) {
  .auth-slider {
    display: none;
  }

  .auth-card {
    margin: 2rem;
  }
}

/* ======================================================
   AUTH LINK BUTTONS
====================================================== */
.auth-links {
  margin-top: 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  flex-wrap: nowrap;
  /* ⬅️ PENTING: paksa 1 baris */
  gap: .4rem;
}

/* tombol lebih ramping supaya muat 4 */
.auth-link-btn {
  flex: 1 1 auto;
  /* semua tombol sama lebar */
  justify-content: center;
  /* icon + teks di tengah */

  padding: .4rem .6rem;
  /* lebih kecil */
  font-size: .78rem;
  /* teks diperkecil */
  white-space: nowrap;
  /* cegah text turun */

  text-align: center;
}


/* hover effect */
.auth-link-btn:hover {
  background: #0d6efd;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(13, 110, 253, 0.35);
}

/* icon size */
.auth-link-btn i {
  font-size: .9rem;
}