/* here you can put your own css to customize and override the theme */

.nav-link {
  color: #d84a38;
}

.nav-link.completed {
  color: #50a264;
}

.nav-link.active {
  border-bottom: 2px solid #4d90fe;
  font-weight: bold;
}

.logo-depan {
  text-align: center;
}

.pd-0 {
  padding: 0;
}

.pd-10 {
  padding: 10px;
}

.pd-50 {
  padding: 50px;
}

.pdl-50 {
  padding-left: 50px;
}

.pdr-50 {
  padding-right: 50px;
}

.pdt-10 {
  padding-top: 10px;
}

.pdt-15 {
  padding-top: 15px;
}

.pdt-20 {
  padding-top: 20px;
}

.mtp-5 {
  margin-top: 5px;
}

.mtp-30 {
  margin-top: 30px;
}

.mtp-24 {
  margin-top: 24px;
}

.mbt-5 {
  margin-bottom: 5px;
}

.mbt-10 {
  margin-bottom: 10px;
}

.mbt-15 {
  margin-bottom: 15px;
}

.mbt-24 {
  margin-bottom: 24px;
}

.mbt-30 {
  margin-bottom: 30px;
}

.home-login {
  min-height: 100vh;
  padding-left: 5em;
  padding-right: 5em;
  padding-top: 1.5em;
  margin: 0;
}

.register {
  min-height: 100vh;
  padding: 1em;
  margin: 0;
}

.masuk {
  font-size: 24px;
  font-weight: bold;
}

.form-custom {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: none;
  background-image: none;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #ebe7e6;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

.form-custom:focus {
  color: #333;
  background-color: none;
  border: none;
  border-bottom: 1px solid #3a83f9;
  outline: 0;
  box-shadow: 0 2px rgba(0, 123, 255, 0.25);
}

.f-lato {
  font-family: "Lato", sans-serif;
}

.fz-16 {
  font-size: 16px;
}

.fz-18 {
  font-size: 18px;
}

.fz-20 {
  font-size: 20px;
}

.fz-24 {
  font-size: 24px;
}

.fz-30 {
  font-size: 30px;
}

.wd-100 {
  width: 100%;
}

.ronded {
  border-radius: 5px !important;
}

.card {
  padding: 25px;
}

.card-row {
  height: 200px;
  padding: 5px;
}

.card-body {
  height: 100%;
  padding: 15px;
  border-radius: 5px 5px !important;
}

.card-img {
  padding-top: 7px;
  padding-bottom: 7px;
}

.tc-grey {
  color: #a5a39f;
}

.txt::placeholder {
  color: #a5a39f;
}

.tc-white {
  color: white;
}

.tc-black {
  color: black;
}

.fbold {
  font-weight: bold;
}

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

.flex-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gep-10 {
  gap: 10px;
}

.gep-20 {
  gap: 20px;
}

.logo-footer {
  width: 8em;
}

.btn-blue {
  border: 1px solid #3a83f9;
  background-color: #3a83f9;
  color: #fff;
  display: block;
  width: 100%;
  border-radius: 4px;
  text-align: center;
  font-family: Lato, sans-serif;
}

.btn-blue:active {
  border: 1px solid #3a83f9;
  background-color: #3a83f9;
  color: #fff;
  display: block;
  width: 100%;
  border-radius: 4px;
  text-align: center;
  font-family: Lato, sans-serif;
}

.btn-blue:focus {
  border: 1px solid #3a83f9;
  background-color: #3a83f9;
  color: #fff;
  display: block;
  width: 100%;
  border-radius: 4px;
  text-align: center;
  font-family: Lato, sans-serif;
}

.btn-blue:hover {
  border: 1px solid #3a83f9;
  background-color: transparent;
  color: #3a83f9;
  display: block;
  width: 100%;
  border-radius: 4px;
  text-align: center;
  font-family: Lato, sans-serif;
}

.num::-webkit-inner-spin-button,
.num::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.num {
  -moz-appearance: textfield;
  /* Untuk Firefox */
}

.btn-mata {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
}

.form-append-container {
  position: relative;
}

.form-append {
  position: absolute;
  display: flex;
  align-items: center;
  top: 30px;
  right: 1px;
  height: 33px;
  padding: 6px 12px;
  background: #ffffff;
  cursor: pointer;
}

.form-append1 {
  position: absolute;
  display: flex;
  align-items: center;
  top: 20px;
  right: 10px;
  height: 33px;
  padding: 6px 12px;
  background: #ffffff;
  cursor: pointer;
}

.form-container {
  display: none;
  /* Hide by default */
}

.form-container.active {
  display: block;
  /* Show active form */
}

#captchaContainer {
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.captcha {
  font-size: 36px;
  letter-spacing: 2px;
  margin: 10px 0;
  background: #eaeaea;
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

input.captcha {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 22px);
  margin-top: 5px;
}

.custom-popup {
  width: 400px;
  height: 300px;
  font-size: 14px;
  font-family: lato, sans-serif !important;
  border-radius: 10px !important;
}

.rounded-btn {
  border-radius: 5px !important;
}

.was-validated .form-control:invalid {
  border-color: #dc3545; /* Warna border error */
}

.was-validated .form-control:valid {
  border-color: #28a745; /* Warna border valid */
}

.is-invalid {
  border-color: #dc3545; /* Warna border saat invalid */
}

.has-error .form-control {
  border-color: #dc3545; /* Warna border saat error */
}

/* untuk otp */
.otp-container {
  display: flex;
  justify-content: center;
  /* margin-top: 50px; */
}
.otp-input {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  text-align: center;
  font-size: 24px;
  border: 2px solid #ccc;
  border-radius: 5px;
}
.otp-input:focus {
  border-color: #007bff;
  outline: none;
}

.hg-100 {
  height: 100vh;
}

/* Style untuk field yang invalid */
.form-control.is-invalid,
.form-control:invalid {
  border-color: #dc3545 !important;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.select2-container--default .select2-selection--single.is-invalid {
  border-color: #dc3545 !important;
}

/* Style untuk field yang valid */
.form-control.is-valid,
.was-validated .form-control:valid {
  border-color: #28a745 !important;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.select2-container--default .select2-selection--single.is-valid {
  border-color: #28a745 !important;
}

/* Pesan error */
.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.valid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #28a745;
}

/* Animasi shake untuk field error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s;
}