/*? Start Default Style */
.validMessage {
  color: red;
  text-align: center;
}

.showPasswordIcon {
  position: absolute;
  left: 16px;
  top: 9px;
}

.react-select__menu {
  z-index: 10 !important;
}

.cursorPointer {
  cursor: pointer;
}

.select_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
  padding: 0.3rem;
  border: 1px solid #46aed9;
  border-radius: 0.5rem;
  cursor: pointer;
}
.select_item > label,
.select_item > input {
  cursor: pointer;
}

.JDatePicker {
  z-index: 1060 !important;
}

.date-input-with-dialog-main {
  height: unset !important;
}

.date-input-with-dialog-calendar {
  color: #007bff !important;
  border: none !important;
  background-color: unset !important;
  font-size: 20px;
}

.date-input-with-dialog-empty {
  color: #ff2600 !important;
  border: none !important;
  background-color: unset !important;
  font-weight: bold;
  font-size: 28px;
}

.calender-modal {
  bottom: 34px !important;
}

th,
td {
  white-space: nowrap;
}

.subTitleModalText {
  font-weight: bold;
  color: #007bff;
}

.clientDataImg {
  border-radius: 10%;
  width: 3rem;
  height: 3rem;
}
.JDatePicker {
  z-index: 1060 !important;
}

.date-input-with-dialog-calendar {
  color: #007bff !important;
  border: none !important;
  background-color: unset !important;
  font-size: 20px;
}

.date-input-with-dialog-empty {
  color: #ff2600 !important;
  border: none !important;
  background-color: unset !important;
  font-weight: bold;
  font-size: 28px;
}

.calendarHoliday {
  position: absolute;
  top: 18px;
  border-radius: 4px;
  font-size: 10px;
  left: 0;
  color: white;
  background-color: red;
  padding: 0 10px;
  transform: rotate(310deg);
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: #e4e4e4;
  color: #000;
}

th {
  top: 0;
  position: sticky;
}

.pre_wrap-white_space {
  white-space: pre-wrap;
}

.normal-white_space {
  white-space: normal;
}

/** Start delete number input arrows */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
/** End delete number input arrows */

.scrollable-table {
  max-height: 80vh;
  overflow-y: auto;
  display: block;
}

.scrollable-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
/*? End Default Style */

/*? Start User Avatar Style */
.avatar-upload {
  position: relative;
  max-width: 205px;
  margin: auto;
}

.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}

.avatar-upload .avatar-edit input {
  display: none;
}

.avatar-upload .avatar-edit input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-edit input + label:hover {
  background: #f1f1f1;
  border-color: #d6d6d6;
}

.avatar-upload .avatar-delete {
  position: absolute;
  right: 148px;
  z-index: 1;
  top: 12px;
}

.avatar-upload .avatar-delete input {
  display: none;
}

.avatar-upload .avatar-delete input + label {
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #ca0202;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}

.avatar-upload .avatar-delete input + label:hover {
  background: #f80202;
}

.avatar-upload .avatar-preview {
  width: 192px;
  height: 192px;
  position: relative;
  border-radius: 100%;
  border: 6px solid #f8f8f8;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
}

.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/*? End User Avatar Style */

/*? Start Ticket Style */
.messageTicket {
  width: 85%;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  clear: both;
}

.userMessageTicket {
  background-color: #edf3f9;
  float: right;
}

.adminMessageTicket {
  background-color: #fafad2;
  float: left;
}

@media screen and (min-width: 600px) {
  .messageTicket {
    width: 70%;
  }
}

@media screen and (min-width: 1000px) {
  .messageTicket {
    width: 50%;
  }
}
/*? End Ticket Style */

/*? Start Toggle Button Style */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/** Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*? End Toggle Button Style */

/*? Start Auto Complete Style */
.searchAutoCompleteCard {
  cursor: pointer;
  font-size: 1em;
  transition: all 0.5s;
}

.searchListAutoComplete {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-height: 24rem;
  overflow-y: auto;
}
/*? End Auto Complete Style */

/*? Start Accordion Style */
.accordion-header {
  text-align: center;
  margin-bottom: 0;
  background-color: #f6f6f6;
  border-bottom: 0 solid #f6f6f6;
}

.accordion-button {
  font-weight: 400;
  color: #3b5de7;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.47rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  width: 100%;
}
.accordion-body {
  margin: 1rem auto;
}
/*? End Accordion Style */
