/* .container {
  width: 300px;
  padding: 20px;
  margin: 0 auto;
  font-family: "Inter", sans-serif;
} */

.did-floating-input,
.did-floating-select {
  font-size: 15px;
  display: block;
  width: 100%;
  height: 48px;
  color: #323840;
  box-sizing: border-box;
  background: var(--light-grey) !important;
  padding: 19px 15px 6px;
  border-radius: 7px !important;
  border: 0 !important;
  min-height: 1px !important;
  line-height: 1 !important;
}

.did-floating-label {
  padding: 0 5px;
  position: absolute;
  left: 15px;
  top: 16px;
  color: var(--grey-color);
  line-height: 1;
  font-size: 16px;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  transition: all 0.3s;
  pointer-events: none;
}

.did-floating-select:not([value=""]):valid ~ .did-floating-label,
.did-floating-select[value=""]:focus ~ .did-floating-label {
  top: 17px;
  left: 11px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 600;
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
}
.did-floating-select:not([value=""]):valid,
.did-floating-select[value=""]:focus {
  border-bottom: 1px solid var(--teal) !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.did-floating-label-content {
  position: relative;
  margin-bottom: 20px;
}

/* .did-floating-label { */
/* color: #1e4c82; */
/* font-size: 13px; */
/* font-weight: normal; */
/* position: absolute; */
/* pointer-events: none; */
/* left: 15px; */
/* top: 11px; */
/* padding: 0 5px; */
/* background: var(--white-color); */
/* transition: 0.2s ease all; */
/* -moz-transition: 0.2s ease all; */
/* -webkit-transition: 0.2s ease all; */
/* } */

/* .did-floating-input, .did-floating-select { */
/* font-size: 12px; */
/* display: block; */
/* width: 100%; */
/* height: 36px; */
/* padding: 0 20px; */
/* background: var(--white-color); */
/* color: #323840; */
/* border: 1px solid #3D85D8; */
/* border-radius: 4px; */
/* box-sizing: border-box; */
/* } */
.did-floating-input:focus,
.did-floating-select:focus {
  outline: none;
}
.did-floating-input:focus ~ .did-floating-label,
.did-floating-select:focus ~ .did-floating-label {
  top: -8px;
  font-size: 13px;
}

select.did-floating-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select.did-floating-select::-ms-expand {
  display: none;
}

.did-floating-input:not(:placeholder-shown) ~ .did-floating-label {
  top: -8px;
  font-size: 13px;
}

.did-floating-select:not([multiple]):not([size]) {
  background-image: url("../../icons/arrow.svg") !important;
  background-position: right 15px top 50% !important;
  background-repeat: no-repeat !important;
}
.success-input.did-floating-label-content
  .did-floating-select:not([multiple]):not([size]),
.error-input.did-floating-label-content
  .did-floating-select:not([multiple]):not([size]) {
  background-position: right 45px top 50% !important;
  padding-right: 65px;
}

.did-error-input .did-floating-input,
.did-error-input .did-floating-select {
  border: 2px solid #9d3b3b;
  color: #9d3b3b;
}
.did-error-input .did-floating-label {
  font-weight: 600;
  color: #9d3b3b;
}
.did-error-input .did-floating-select:not([multiple]):not([size]) {
  background-image: url("../../icons/arrow.svg");
}

.input-group {
  display: flex;
}
.input-group .did-floating-input {
  border-radius: 0 4px 4px 0;
  border-left: 0;
  padding-left: 0;
}

.input-group-append {
  display: flex;
  align-items: center;
  /*   margin-left:-1px; */
}

.input-group-text {
  display: flex;
  align-items: center;
  font-weight: 400;
  height: 34px;
  color: #323840;
  padding: 0 5px 0 20px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid #3d85d8;
  border-radius: 4px 0 0 4px;
  border-right: none;
}

/* date input icon */

input[type="date"],
input#demo-single-select-timegrid,
.hijri-date-default {
  /* background:var(--light-grey) url("../../svg-images/date_icon.svg") left  0.4rem center no-repeat !important;   */
  background-image: url(../../svg-images/date_icon.svg) !important;
  cursor: pointer;
  background-repeat: no-repeat !important;
  background-size: auto !important;
  background-color: var(--light-grey) !important;
  background-position: 10px 21px !important;
}

input[type="date"]::after {
  display: none;
}

/* 
::-webkit-datetime-edit {}
::-webkit-datetime-edit-fields-wrapper {} */
::-webkit-datetime-edit-month-field:hover,
::-webkit-datetime-edit-day-field:hover,
::-webkit-datetime-edit-year-field:hover {
  background: var(--light-grey);
}
::-webkit-datetime-edit-text {
  opacity: 1;
}
::-webkit-clear-button,
::-webkit-inner-spin-button {
  display: none;
}
::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 2.5rem;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 120, 250, 1);
  background: rvar(--light-grey);
}

input[type="date"]:hover::-webkit-calendar-picker-indicator {
  opacity: 0;
}
input[type="date"]:hover::-webkit-calendar-picker-indicator:hover {
  opacity: 0;
}
#demo-single-select-timegrid {
  padding-right: 40px;
}

input[type="date"],
.hijri-date-default {
  position: relative;
  padding-left: 45px !important;
}

input[type="date"]:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f073";
  color: #555;
  padding: 0 5px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}

input[type="date"]::-webkit-inner-spin-button {
  z-index: 1;
}

input[type="date"]::-webkit-clear-button {
  z-index: 1;
}
