.hkl_modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.7s;
  z-index: 999;
}
.hkl_modal.active {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.modal_box-bpl {
  position: relative;
  background: white;
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  padding: 32px;
  margin: 0 16px;
}

.hkl_close {
  position: absolute !important;
  bottom: 105% !important;
  right: 0 !important;
  width: 32px !important;
  height: 32px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-radius: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 20px !important;
  cursor: pointer !important;
  padding: 0 !important;
  min-height: auto !important;
}
.close_icon-bpl {
  width: 24px !important;
  height: 24px !important;
  pointer-events: none !important;
}

.title-bpl {
  font-size: 18px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 8px;
  text-align: center;
}

.subtitle-bpl {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.6;
}

.input_group-bpl {
  margin-bottom: 20px;
}

.input_phone-bpl {
  width: 100%;
  height: 50px !important;
  padding: 12px !important;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px !important;
  text-align: left;
  outline: none;
  transition: 0.3s;
}
.input_phone-bpl:focus {
  border-color: rgb(16, 123, 17, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.05) !important;
}

.submit_btn-bpl {
  width: 100% !important;
  padding: 12px !important;
  background: #107b11 !important;
  color: white !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}
.submit_btn-bpl:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.code_boxes-bpl {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.code_input-bpl {
  width: 60px !important;
  height: 60px !important;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 20px !important;
  text-align: center;
  font-weight: bold;
  outline: none;
  transition: 0.3s;
}
.code_input-bpl:focus {
  border-color: rgb(16, 123, 17, 0.5) !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.05) !important;
}

.countdown-bpl {
  text-align: center;
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 16px;
}

.hkl_back {
  width: 100% !important;
  padding: 12px !important;
  background: #f1f5f9 !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: 0.3s !important;
}
.hkl_back:hover {
  color: #374151;
}

.hk-loader {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: none;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.hk-send-again .hk-loader {
  border: 2px solid #4b5563;
  border-bottom-color: transparent;
}

.hk-loader.active {
  display: block;
}

#hkl_phone,
#hkl_code {
  display: none;
}

#hkl_phone.active,
#hkl_code.active {
  display: block;
}

#hkl_code input[type="number"]::-webkit-inner-spin-button,
#hkl_code input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#hkl_code input[type="number"] {
  -moz-appearance: textfield;
}
