:root {
  --form-btn-color: #3b5998;
  --form-btn-hover-color: #27468a;
}
.modal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 10;
}
.modal * {
  box-sizing: border-box;
}
.modal-inner {
  max-width: 380px;
  min-width: 380px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: -8px;
  right: -6px;
  background-color: var(--form-btn-color);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  border: 1px solid #fff;
  padding: 2px 6px;
  transition: background-color 0.3s ease;
  color: #fff;
  cursor: pointer;
  z-index: 20;
}
.modal-close:hover {
  background-color: var(--form-btn-hover-color);
}
#regform {
  margin: 0;
  padding: 0;
}
.form-header,
.active-step,
.step-btn {
  background-color: var(--form-btn-color) !important;
}
.form-header,
.form-body {
  background-color: #fff;
  padding: 16px !important;
}
.form-header {
  font-size: 18px !important;
  line-height: 1.3 !important;
  padding: 20px 16px !important;
}
.form-btn-holder {
  margin-bottom: 0;
}
.form-check {
  line-height: 1.2;
}
.form-check-label,
.form-check-label a {
  font-size: 14px !important;
  color: #333;
}
.input-holder input {
  background-color: #f1f1f1;
}
.form-btn-holder {
  margin-bottom: 0;
}
.iti__country-list {
  min-width: 300px;
}
#successModal {
  z-index: 9999;
}
@media screen and (max-width: 576px) {
  .modal-inner {
    max-width: calc(100% - 24px);
    min-width: calc(100% - 24px);
  }
}
