/* ==========================
   GLOBAL
========================== */

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #eef4ff 0%, #f8fafc 55%, #ffffff 100%);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}

body::before {
  width: 260px;
  height: 260px;
  background: rgba(37, 99, 235, 0.15);
  top: -80px;
  left: -80px;
}

body::after {
  width: 320px;
  height: 320px;
  background: rgba(59, 130, 246, 0.08);
  right: -100px;
  bottom: -100px;
}
#togglePassword {
  background: #fff;

  border-left: none;

  border-radius: 0 14px 14px 0;

  width: 58px;
}
/* ==========================
   WRAPPER
========================== */

.login-wrapper {
  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 40px;
}

.login-card {
  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(12px);
  width: 100%;

  max-width: 1020px;

  min-height: 650px;

  display: flex;

  overflow: hidden;

  border-radius: 28px;

  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.12),
    0 10px 25px rgba(15, 23, 42, 0.06);
  animation: fadeUp 0.5s ease;
}

/* ==========================
   SIDEBAR
========================== */

.login-sidebar {
  width: 320px;

  padding: 50px 35px;

  background: linear-gradient(180deg, #2563eb, #1d4ed8);

  color: white;

  display: flex;

  flex-direction: column;
}

.logo-title {
  font-size: 2rem;

  font-weight: 800;

  line-height: 1.2;

  margin-bottom: 10px;
}

.logo-subtitle {
  opacity: 0.85;

  line-height: 1.7;
}

.feature-list {
  margin-top: 60px;
}

.feature-item {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 18px;

  font-size: 15px;

  font-weight: 500;
}

.feature-item i {
  color: #bbf7d0;
}

.sidebar-image {
  margin-top: auto;

  text-align: center;

  opacity: 0.28;
}

.sidebar-image i {
  font-size: 95px;
}

/* ==========================
   CONTENT
========================== */
/* ==========================
   CONTENT
========================== */

.login-content {
  flex: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  padding: 60px;
}

.page-title {
  width: 100%;

  max-width: 480px;

  margin-bottom: 42px;
}

.page-title h2 {
  font-size: 2.7rem;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 12px;

  line-height: 1.1;
}

.page-title p {
  color: #64748b;

  font-size: 1.05rem;

  line-height: 1.8;

  margin: 0;
}

.login-form {
  width: 100%;

  max-width: 480px;
}
/* ==========================
   INPUT
========================== */

.input-group {
  margin-bottom: 20px;
}

.input-group-text {
  width: 58px;

  justify-content: center;

  border-radius: 16px 0 0 16px;

  border-color: #dbe4ee;

  background: #f8fafc;
}

.form-control {
  height: 58px;

  font-size: 15px;

  padding-left: 16px;

  border-radius: 0 16px 16px 0;

  transition: 0.25s;
}
.form-control:hover {
  border-color: #93c5fd;
}
.form-control:focus {
  border-color: #2563eb;

  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

/* ==========================
   CHECKBOX
========================== */

.form-check {
  margin-top: 10px;

  margin-bottom: 25px;
}
.form-check-label {
  margin-left: 6px;

  cursor: pointer;
}

.form-check-input {
  width: 18px;

  height: 18px;

  cursor: pointer;
}

/* ==========================
   BUTTON
========================== */

.btn-primary {
  height: 54px;

  border: none;
  font-size: 16px;

  letter-spacing: 0.3px;

  border-radius: 14px;
  display: flex;

  justify-content: center;

  align-items: center;

  gap: 8px;

  font-weight: 700;

  transition: 0.25s;
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.05);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* ==========================
   LINK
========================== */

.login-form a {
  color: #2563eb;
}

.login-form a:hover {
  text-decoration: underline;
}

/* ==========================
   FOOTER
========================== */

.login-footer {
  margin-top: 40px;

  color: #94a3b8;

  font-size: 0.9rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.login-form {
  animation: fadeUp 0.45s ease;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 991px) {
  .login-card {
    flex-direction: column;

    min-height: auto;
  }

  .login-sidebar {
    width: 100%;

    padding: 35px 30px;
  }

  .login-content {
    display: block;

    padding: 35px 30px;
  }

  .page-title {
    max-width: 100%;

    text-align: center;

    margin-bottom: 30px;
  }

  .login-form {
    max-width: 100%;

    width: 100%;

    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .login-content {
    padding: 30px;
  }

  .page-title h2 {
    font-size: 2rem;
  }

  .logo-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .login-wrapper {
    padding: 15px;
  }

  .login-card {
    border-radius: 20px;
  }

  .login-sidebar {
    padding: 24px;
  }

  .logo-title {
    display: block;
    font-size: 1.7rem;
  }

  .logo-subtitle {
    display: block;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .feature-list {
    margin-top: 20px;
  }

  .feature-item {
    font-size: 0.95rem;

    margin-bottom: 10px;
  }

  .sidebar-image {
    display: none;
  }
  .page-title {
    text-align: center;
  }

  .page-title h2 {
    font-size: 2rem;
  }

  .page-title p {
    font-size: 0.95rem;
  }

  .form-control {
    height: 54px;
  }

  .input-group-text {
    width: 54px;
  }

  .btn-primary {
    height: 54px;
  }
}
