body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}
@font-face {
  font-family: "melt-swash";
  font-style: normal;
  font-weight: 200;
  src: url("../../fonts/Melt-Swashes.ttf") format("truetype");
}
.container {
  max-width: 350px;
  max-height: 550px;

  background: #ffe8f1;
  /* background: linear-gradient(0deg, rgb(235 255 250) 0%, rgb(251 206 225) 100%) */
  border-radius: 40px;
  padding: 25px 35px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 30px 30px -20px;
  margin: 20px;

  /* SCROLLING MAGIC ✨ */
  overflow-y: auto; /* Scroll vertikal */
  overflow-x: hidden; /* No scroll horizontal */
  scrollbar-width: thin; /* Firefox: tipis */
  scrollbar-color: #f3d4e6 #ffe8f1; /* Firefox: custom color */
}

/* Custom Scrollbar Webkit (Chrome/Safari) */
.container::-webkit-scrollbar {
  width: 6px;
}

.container::-webkit-scrollbar-track {
  background: #ffe8f1;
  border-radius: 10px;
}

.container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f3d4e6, #e9b8d2);
  border-radius: 10px;
}

.container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e9b8d2, #d896c0);
}

.heading {
  font-family: "melt-swash";
  text-align: center;
  font-weight: 900;
  font-size: 30px;
  color: rgb(16, 137, 211);
}

.form {
  margin-top: 20px;
}

.form .input {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 15px;
  box-shadow: #cff0ff 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
}

.form .input::-moz-placeholder {
  color: rgb(170, 170, 170);
}

.form .input::placeholder {
  color: rgb(170, 170, 170);
}

.form .input:focus {
  outline: none;
  border-inline: 2px solid #12b1d1;
}

.form .forgot-password {
  display: block;
  margin-top: 10px;
  margin-left: 10px;
}

.form .forgot-password a {
  font-size: 11px;
  color: #0099ff;
  text-decoration: none;
}

.form .login-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(
    45deg,
    rgb(16, 137, 211) 0%,
    rgb(18, 177, 209) 100%
  );
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .login-button:hover {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .login-button:active {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}
.form .reseller-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, rgb(237 139 215) 0%, rgb(247 53 209) 100%);
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .reseller-button:hover {
  transform: scale(1.03);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 23px 10px -20px;
}

.form .reseller-button:active {
  transform: scale(0.95);
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 15px 10px -10px;
}

.social-account-container {
  margin-top: 25px;
}

.social-account-container .title {
  display: block;
  text-align: center;
  font-size: 10px;
  color: rgb(170, 170, 170);
}

.social-account-container .social-accounts {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 5px;
}

.social-account-container .social-accounts .social-button {
  background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
  border: 5px solid white;
  padding: 5px;
  border-radius: 50%;
  width: 40px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 12px 10px -8px;
  transition: all 0.2s ease-in-out;
}

.social-account-container .social-accounts .social-button .svg {
  fill: white;
  margin: auto;
}

.social-account-container .social-accounts .social-button:hover {
  transform: scale(1.2);
}

.social-account-container .social-accounts .social-button:active {
  transform: scale(0.9);
}

.agreement {
  display: block;
  text-align: center;
  margin-top: 15px;
}

.agreement a {
  text-decoration: none;
  color: #0099ff;
  font-size: 9px;
}

.container .form {
  margin-top: 15px;
  font-family: sans-serif;
  color: #5a5050;
}

.form .input-box {
  width: 100%;
  margin-top: 10px;
}

.input-box label {
  color: #5a5050;
}

.form :where(.input-box input, .select-box) {
  position: relative;
  height: 35px;
  width: 100%;
  outline: none;
  font-size: 1rem;
  color: #808080;
  margin-top: 5px;
  border: 1px solid #e592ad;
  border-radius: 6px;
  padding: 0 15px;
  /* background: #fcedda; */
}

.input-box input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.form .column {
  display: flex;
  column-gap: 15px;
}

.address :where(input, .select-box) {
  margin-top: 10px;
}

.select-box select {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: #808080;
  font-size: 1rem;
  background: #fcedda;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}
.fade-slide {
  opacity: 100;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.fade-slide.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-slide.hide {
  opacity: 0;
  transform: translateY(-20px);
}

/* Upload File */
.upload-box {
  margin-top: 10px;
  background: white;
  border-radius: 16px;
  padding: 20px 35px 10px 35px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  position: relative;
}
.upload-area {
  position: relative;
  width: 140px;
  height: 88px;
  margin: 0 auto 12px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #f9fafb;
}
.upload-area:hover {
  border-color: #667eea;
  background: #eff6ff;
  transform: scale(1.02);
}
.upload-icon {
  font-size: 32px;
  color: #9ca3af;
  transition: color 0.3s;
}
.upload-area:hover .upload-icon {
  color: #667eea;
}
.upload-text {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
  cursor: pointer;
}
.upload-label {
  display: block;
  cursor: pointer;
  color: #667eea;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}
.upload-label:hover {
  color: #5a67d8;
}
input[type="file"] {
  display: none;
}
.progress-bar {
  margin-top: 12px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.progress-bar.active {
  opacity: 1;
}
.success-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  background: #d1fae5;
  border: 4px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
}
.success-icon.active {
  opacity: 1;
  transform: scale(1);
}
.image-preview {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 144px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
  border: 2px solid #667eea;
}
.image-preview.active {
  opacity: 1;
}

/* Verifikasi password */
.status-text {
  margin-top: 5px;
  font-size: 12px;
  font-weight: bold;
}

.status-text.valid {
  color: #4caf50;
}

.status-text.invalid {
  color: #f44336;
}

/* Sweetalert */
.swal-popup-custom {
  border-radius: 15px;
  font-family: 'Poppins', sans-serif;
}

.swal-title-custom {
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.swal-text-custom {
  font-size: 14px;
  color: #666;
}