/* ==========================================================
   WAHID AUTH LAYOUT
========================================================== */

.auth-wrapper {
  position: relative;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--gradient-primary);

  overflow: hidden;
}

/*==========================================================*/

.auth-wrapper::before {
  content: "";

  position: absolute;

  inset: 0;

  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.15), transparent 40%), radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.1), transparent 45%);

  z-index: 1;
}

/*==========================================================*/

.auth-container {
  width: 100%;

  max-width: 1450px;

  min-height: 88vh;

  border-radius: 28px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.18);
}

/*==========================================================*/

.auth-left {
  position: relative;

  width: 100%;
  height: 100%;

  min-height: 88vh;

  padding: 80px;

  display: flex;

  align-items: center;

  color: #fff;
}

/*==========================================================*/

.auth-left::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
}

/*==========================================================*/

.auth-content {
  position: relative;

  z-index: 5;

  max-width: 620px;
}

/*==========================================================*/

.auth-logo {
  width: 120px;

  margin-bottom: 30px;
}

/*==========================================================*/

.auth-title {
  font-size: 56px;

  font-weight: 700;

  letter-spacing: 1px;

  margin-bottom: 10px;
}

/*==========================================================*/

.auth-subtitle {
  font-size: 22px;

  font-weight: 300;

  opacity: 0.95;

  margin-bottom: 35px;
}

/*==========================================================*/

.auth-description {
  line-height: 1.9;

  opacity: 0.9;

  max-width: 650px;
}

/*==========================================================*/

.auth-feature {
  margin-top: 45px;
}

.auth-feature-item {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 20px;

  font-size: 18px;
}

.auth-feature-item i {
  width: 46px;

  height: 46px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.18);

  color: #ffd54f;
}

/*==========================================================*/

.auth-stat {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

/*==========================================================*/

.stat-card {
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 20px;

  padding: 20px;

  text-align: center;

  backdrop-filter: blur(10px);
}

/*==========================================================*/

.stat-number {
  font-size: 34px;

  font-weight: 700;

  color: #ffd54f;
}

/*==========================================================*/

.stat-label {
  font-size: 14px;

  opacity: 0.9;
}

/*==========================================================*/

.auth-right {
  width: 100%;
  height: 100%;
  min-height: 88vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 60px;

  background: rgba(245, 248, 252, 0.92);
}

/*==========================================================*/

.auth-card {
  width: 100%;

  max-width: 470px;

  background: #fff;

  border-radius: 25px;

  padding: 45px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.auth-content {
  max-width: 620px;

  position: relative;

  z-index: 5;
}

/*==========================================================*/

.login-title {
  text-align: center;

  margin-bottom: 8px;

  font-size: 34px;

  font-weight: 700;

  color: var(--primary);
}

/*==========================================================*/

.login-subtitle {
  text-align: center;

  margin-bottom: 35px;

  color: var(--gray-500);
}

/*==========================================================*/

.form-label {
  font-weight: 600;

  color: var(--gray-700);
}

/*==========================================================*/

.input-group {
  margin-bottom: 20px;
}

.input-group-text {
  border-radius: 14px 0 0 14px;

  background: #fff;
}

.form-control {
  height: 55px;

  border-left: none;
}

/*==========================================================*/

.btn-login {
  width: 100%;

  height: 55px;

  border: none;

  border-radius: 14px;

  background: var(--gradient-primary);

  color: #fff;

  font-weight: 600;

  letter-spacing: 0.5px;
}

/*==========================================================*/

.btn-login:hover {
  color: #fff;
}

/*==========================================================*/

.auth-footer {
  margin-top: 35px;

  text-align: center;

  color: var(--gray-500);

  font-size: 13px;
}

/*==========================================================*/

.divider {
  display: flex;

  align-items: center;

  margin: 25px 0;
}

.divider::before,
.divider::after {
  content: "";

  flex: 1;

  height: 1px;

  background: #ddd;
}

.divider span {
  padding: 0 15px;

  color: #999;

  font-size: 13px;
}

/*==========================================================*/

.auth-link {
  color: var(--primary);

  font-weight: 600;
}

.auth-link:hover {
  color: var(--secondary);
}

/*==========================================================*/

.bg-pattern {
  position: absolute;

  inset: 0;

  opacity: 0.05;

  background-image: linear-gradient(90deg, #fff 1px, transparent 1px), linear-gradient(#fff 1px, transparent 1px);

  background-size: 35px 35px;
}

/*==========================================================*/

@media (max-width: 991.98px) {
  .auth-container {
    border-radius: 0;

    min-height: 100vh;
  }

  .auth-right {
    min-height: 100vh;

    padding: 25px;
  }

  .auth-card {
    max-width: 100%;

    padding: 30px;
  }
}

/* Fix click blocking layer */

.auth-right,
.auth-card,
.auth-card form,
.auth-card input,
.auth-card button,
.auth-card a {
  position: relative;

  z-index: 20;
}

.auth-background {
  position: relative;

  min-height: 100vh;

  width: 100%;

  overflow: hidden;

  background: var(--gradient-primary);
}

#particles,
.gradient-circle {
  pointer-events: none;
}

.auth-wrapper {
  position: relative;

  z-index: 20;

  min-height: 100vh;
}

.auth-container {
  position: relative;
  z-index: 50;
}

.auth-card {
  position: relative;
  z-index: 100;
}

/* lingkaran animasi */

.gradient-circle {
  position: absolute;

  z-index: 1;

  pointer-events: none;
}

/* semua isi halaman di atas particle */

.auth-container {
  position: relative;

  z-index: 10;
}

.particles-js-canvas-el {
  position: absolute !important;

  inset: 0;

  z-index: 2;
}

/* ==========================================================
   LOGIN CARD CENTER FIX
========================================================== */

.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  margin-left: auto;
  margin-right: auto;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  margin: auto;
}

/* ==========================================================
   WAHID FINAL AUTH LAYER
========================================================== */

.auth-background {
  position: relative;

  min-height: 100vh;

  width: 100%;

  overflow: hidden;

  background: var(--gradient-primary);
}

#particles {
  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  z-index: 2;

  pointer-events: none;
}

.particle {
  position: absolute;

  display: block;

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.85);

  box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);

  opacity: 0.8;
}

.gradient-circle {
  position: absolute;

  z-index: 3;

  pointer-events: none;
}

.auth-wrapper {
  position: relative;

  z-index: 10;

  min-height: 100vh;
}

.auth-container {
  position: relative;

  z-index: 20;
}

.auth-card {
  position: relative;

  z-index: 30;
}
