/* BACKGROUND */
body {
  background: linear-gradient(135deg, #0d6efd, #6ea8fe);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARD */
.login-card {
  width: 380px;
  border-radius: 20px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  animation: fadeIn 0.6s ease;
}

/* ANIMASI */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(20px);}
  to {opacity:1; transform:translateY(0);}
}

/* LOGO */
.login-logo {
  font-size: 40px;
  color: #0d6efd;
}

/* INPUT */
.form-control {
  border-radius: 10px;
  padding-left: 35px;
}

/* ICON INPUT */
.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #6c757d;
}

/* BUTTON */
.btn-login {
  background: linear-gradient(135deg, #0d6efd, #4dabf7);
  border: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13,110,253,0.4);
}


/* INPUT GROUP */
.input-group-custom {
  position: relative;
}

/* INPUT */
.input-custom {
  padding-left: 40px;
  padding-right: 40px;
  border-radius: 12px;
  height: 45px;
}

/* ICON KIRI */
.icon-left {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #6c757d;
}

/* TOGGLE PASSWORD */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
}

/* HOVER */
.toggle-password:hover {
  color: #0d6efd;
}

/* FOCUS EFFECT */
.input-custom:focus {
  box-shadow: 0 0 0 3px rgba(13,110,253,0.2);
  border-color: #0d6efd;
}


/* BUTTON KEMBALI DALAM CARD */
.btn-back-inside {
  color: #0d6efd;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: 0.3s;
}

/* HOVER */
.btn-back-inside:hover {
  color: #0a58ca;
  transform: translateX(-3px);
}

/* MODAL OVERLAY (BACKGROUND) */
.modal-backdrop.show {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
}

/* MODAL BOX */
.modal-content {
  border: none;
  border-radius: 24px;
  padding: 25px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: smoothZoom 0.35s ease;
}

/* ANIMASI */
@keyframes smoothZoom {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* HEADER CENTER */
.modal-header {
  border: none;
  flex-direction: column;
  text-align: center;
  gap: 5px;
}

/* ICON ATAS */
.modal-header::before {
  content: "\F5A3"; /* bootstrap icon key */
  font-family: "bootstrap-icons";
  font-size: 30px;
  color: #0d6efd;
  background: #e9f2ff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

/* TITLE */
.modal-title {
  font-size: 18px;
  font-weight: 600;
}

/* BODY TEXT */
.modal-body p {
  text-align: center;
  font-size: 13px;
  margin-bottom: 20px;
}

/* INPUT */
.modal-body .form-control {
  height: 48px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 10px 14px;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* FOCUS INPUT */
.modal-body .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13,110,253,0.15);
}

/* BUTTON */
.modal-body .btn {
  height: 48px;
  border-radius: 30px;
  font-weight: 600;
  background: linear-gradient(135deg, #0d6efd, #4dabf7);
  border: none;
  transition: all 0.3s ease;
}

/* BUTTON HOVER */
.modal-body .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(13,110,253,0.4);
}

/* CLOSE BUTTON */
.btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  opacity: 0.4;
}

.btn-close:hover {
  opacity: 1;
}

/* INPUT ICON MODERN */
.input-icon-modern {
  position: relative;
}

/* ICON */
.input-icon-modern i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 16px;
}

/* INPUT */
.input-icon-modern .form-control {
  padding-left: 40px;
  height: 45px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  transition: 0.25s;
}

/* FOCUS */
.input-icon-modern .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

/* WIDTH MODAL IDEAL */
.modal-dialog {
  max-width: 380px;
  margin: auto;
}