/* =====================================================
   FORM LABEL
===================================================== */

.form-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.15rem;
}

/* =====================================================
   INPUT GROUP
===================================================== */

.input-group {
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: 0.2s;
}

/* =====================================================
   INPUT GROUP ICON
===================================================== */

.input-group-text {
  height: 46px;
  min-width: 46px;
  justify-content: center;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.85rem;
  border: 0 !important;
}

/* =====================================================
   INPUT
===================================================== */

.form-control {
  height: 46px;
  border: 0 !important;
  box-shadow: none !important;
  background: #fff;
  font-size: 0.88rem;
}

/* =====================================================
   TEXTAREA
===================================================== */

textarea.form-control {
  min-height: 100px;
  padding-top: 0.7rem;
  resize: vertical;
}

/* =====================================================
   PLACEHOLDER
===================================================== */

.form-control::placeholder {
  color: #94a3b8;
}

/* =====================================================
   PASSWORD TOGGLE
===================================================== */

.password-toggle {
  cursor: pointer;
  background: #fff;
}

/* =====================================================
   INPUT FOCUS
===================================================== */

.input-group:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.1rem rgba(37, 99, 235, 0.08);
}

/* =====================================================
   SELECT2
===================================================== */

.select2-container {
  width: 100% !important;
}

.select2-container--bootstrap4 .select2-selection {
  height: 46px !important;
  border: 0 !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  box-shadow: none !important;
  background: #fff !important;
}

.select2-container--bootstrap4 .select2-selection__rendered {
  line-height: 46px !important;
  font-size: 0.88rem;
  color: #212529 !important;
  padding-left: 0 !important;
}

.select2-container--bootstrap4 .select2-selection__arrow {
  height: 44px !important;
}

.select2-dropdown {
  border-radius: 14px !important;
  border: 1px solid #dbe4f0 !important;
  overflow: hidden;
}

.select2-search__field {
  border-radius: 10px !important;
}

.select2-results__option {
  font-size: 0.88rem;
  padding: 8px 12px;
}

/* =====================================================
   SELECT2 FOCUS
===================================================== */

.select2-container--focus .select2-selection {
  box-shadow: none !important;
}

/* =====================================================
   SELECT2 GROUP
===================================================== */

.select2-group {
  display: flex;
  align-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: 0.2s;
}

/* =====================================================
   SELECT2 ICON
===================================================== */

.select2-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* =====================================================
   SELECT2 CONTAINER
===================================================== */

.select2-group .select2-container {
  flex: 1;
}

/* =====================================================
   SELECT2 SELECTION
===================================================== */

.select2-container--bootstrap4 .select2-selection {
  height: 46px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  background: #fff !important;
}

/* =====================================================
   SELECT2 TEXT
===================================================== */

.select2-container--bootstrap4 .select2-selection__rendered {
  line-height: 46px !important;
  font-size: 0.88rem;
  color: #212529 !important;
  padding-left: 0 !important;
}

/* =====================================================
   SELECT2 ARROW
===================================================== */

.select2-container--bootstrap4 .select2-selection__arrow {
  height: 44px !important;
}

/* =====================================================
   SELECT2 DROPDOWN
===================================================== */

.select2-dropdown {
  border-radius: 14px !important;
  border: 1px solid #dbe4f0 !important;
  overflow: hidden;
}

/* =====================================================
   SELECT2 SEARCH
===================================================== */

.select2-search__field {
  border-radius: 10px !important;
}

/* =====================================================
   SELECT2 FOCUS
===================================================== */

.select2-group:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.1rem rgba(37, 99, 235, 0.08);
}
/* =====================================================
   SELECT2 CLEAR BUTTON RIGHT
===================================================== */

.select2-container--bootstrap4 .select2-selection--single {
  position: relative;
  padding-right: 45px !important;
}

.select2-container--bootstrap4 .select2-selection__clear {
  position: absolute !important;
  right: 28px !important;
  left: auto !important;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  float: none !important;
  z-index: 20;
}
.select2-group .select2-container--bootstrap4 .select2-selection {
  padding-left: 15px !important;
}

.select2-group .select2-selection__placeholder {
  color: #6c757d !important;
}
.select2-container--bootstrap4 .select2-selection.is-invalid {
  border-color: #dc3545 !important;
  position: relative;
}

.select2-container--bootstrap4 .select2-selection.is-invalid:before {
  content: "!";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-56%);
  width: 14px;
  height: 14px;
  line-height: 11px;
  text-align: center;
  border: 1.9px solid #dc3545;
  border-radius: 50%;
  color: #dc3545;
  font-size: 9px;
  font-weight: 700;
  background: #fff;
}

/* =====================================================
   DISABLED
===================================================== */

.form-control:disabled,
.form-control[readonly] {
  background: #f8fafc;
}

/* =====================================================
   INVALID
===================================================== */

.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  font-size: 0.75rem;
}
