/* disable styles  */
.form-control:disabled,
.form-select:disabled {
  background-color: #e9e9ef;
  opacity: 1;
  cursor: not-allowed;
  color: #999;
}

/* Styles for Table with Y-scroll */
.table-overflow {
  max-height: 550px;
  overflow-y: auto;
}
.table-overflow > Table > #thead-overflow {
  position: sticky !important;
  top: -1px;
  z-index: 1;
}
#td-hover {
  color: #7367f0; /* Change text color on hover */
  font-weight: bold; /* Make text bold on hover */
  cursor: pointer;
  /* text-decoration: underline; */
}
/* Styles for Tooltips */
#tooltip-top > .tooltip-inner {
  background-color: #090956;
  color: #fff;
  font-weight: bold;
}

#tooltip-top > .tooltip-arrow > :nth-child(1) {
  color: #090956;
  /* border-top: 0px solid #5055bd; */
}

/* Styles for Loader */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999; /* Ensure it's above other elements */
}
.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  /* height: 100vh; */
}
/* .loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid #20228f;
  border-right: 4px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: '';  
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-bottom: 4px solid #ececf6;
  border-left: 4px solid transparent;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}  */
.loader {
  animation: rotate 1s infinite;
  height: 50px;
  width: 50px;
}

.loader:before,
.loader:after {
  border-radius: 50%;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
}
.loader:before {
  animation: ball1 1s infinite;
  background-color: #e0e0f2;
  box-shadow: 30px 0 0 #20228f;
  margin-bottom: 10px;
}
.loader:after {
  animation: ball2 1s infinite;
  background-color: #20228f;
  box-shadow: 30px 0 0 #e0e0f2;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(0.8);
  }
  50% {
    transform: rotate(360deg) scale(1.2);
  }
  100% {
    transform: rotate(720deg) scale(0.8);
  }
}

@keyframes ball1 {
  0% {
    box-shadow: 30px 0 0 #20228f;
  }
  50% {
    box-shadow: 0 0 0 #20228f;
    margin-bottom: 0;
    transform: translate(15px, 15px);
  }
  100% {
    box-shadow: 30px 0 0 #20228f;
    margin-bottom: 10px;
  }
}

@keyframes ball2 {
  0% {
    box-shadow: 30px 0 0 #e0e0f2;
  }
  50% {
    box-shadow: 0 0 0 #e0e0f2;
    margin-top: -20px;
    transform: translate(15px, 15px);
  }
  100% {
    box-shadow: 30px 0 0 #e0e0f2;
    margin-top: 0;
  }
}
/* Styles end for loader */

/* Styles for Pagination */
.pagination {
  margin: 15px auto;
  display: flex;
  list-style: none;
  outline: none;
}
.pagination > .active > a {
  background-color: #001a53;
  border-color: #001a53;
  color: #fff;
}
.pagination > li > a {
  border: 1px solid #171887;
  padding: 5px 10px;
  outline: none;
  cursor: pointer;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #5055bd;
  border-color: #171887;
  outline: none;
}
.pagination > li > a,
.pagination > li > span {
  color: #171887;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: unset;
}

.dataTables_length {
  margin-top: 10px;
}
.table_length {
  margin: 1px;
}

table thead tr th {
  font-weight: 700 !important;
  font-size: 15px !important;
  /* color: red; */
}

.row_selected {
  background-color: #f4f4ff !important;
}

.hand_icon {
  cursor: pointer;
}

.form_check_input_permission {
  width: 1.5em !important;
  height: 1.5em !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #fff;
  text-decoration: none;
  background-color: #f08319d9;
}

/* info tiles by AS */

.info-tiles {
  border-radius: 5px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 0 10px; */
  padding: 0 0px;
  color: white;
  cursor: pointer;
  min-height: inherit !important;
 
}

.info-tiles .tiles-heading {
  letter-spacing: 0.5px;
  padding: 6px 6px;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  text-transform: uppercase;
  text-align: center;
  font-size: 11px;
  min-height: 45px;
  min-height: inherit !important;
  font-weight: 700;
}

.tiles-body {
  font-size: 36px;
  font-weight: 700;
  padding: 2px 4px;
}
.tiles-heading,
.tiles-body {
  -webkit-transition: 0.05s ease-in;
  -o-transition: 0.05s ease-in;
  transition: 0.05s ease-in;
}
/* .react-datepicker__input-container {
  width: 231px !important;
} */
/* Editor style */
.sun-editor .se-btn-select.se-btn-tool-font {
  width: 100px;
}
.sun-editor .se-tooltip {
  position: relative;
  overflow: visible;
  color: #000000 !important;
}
.sun-editor .se-btn-select {
  width: auto;
  display: flex;
  padding: 4px 6px;
}
.sun-editor .se-btn {
  float: left;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  margin: 1px !important;
  padding: 0;
  font-size: 12px;
  line-height: 27px;
}
.sun-editor * {
  box-sizing: border-box;
  -webkit-user-drag: none;
  overflow: visible;
  color: #313533 !important;
}
.sun-editor .se-list-inner li > button {
  color: #313533 !important;
}
.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text {
  color: white !important;
}
.sun-editor .se-tooltip .se-tooltip-inner .se-tooltip-text .se-shortcut {
  color: white !important;
}
.sun-editor
  .se-tooltip
  .se-tooltip-inner
  .se-tooltip-text
  .se-shortcut
  > .se-shortcut-key {
  color: white !important;
}
/* [type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  color: black !important;
} */

.comment_div > blockquote {
  display: block;
  font-family: inherit;
  font-size: inherit;
  color: #999;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding: 0 5px 0 20px;
  border: solid #b1b1b1;
  border-width: 0 0 0 5px;
}

.comment_div > .__se__p-neon {
  font-weight: 200;
  font-style: italic;
  background: #000;
  color: #fff;
  padding: 6px 4px;
  border: 2px solid #fff;
  border-radius: 6px;
  text-transform: uppercase;
  animation: neonFlicker 1.5s infinite alternate;
}

.comment_div > .__se__p-bordered {
  border-top: 1px solid #b1b1b1;
  border-bottom: 1px solid #b1b1b1;
  padding: 4px 0;
}

.comment_div > .__se__t-code {
  font-family: monospace;
  color: #666;
  background-color: rgba(27, 31, 35, 0.05);
  border-radius: 6px;
  padding: 0.2em 0.4em;
}
.comment_div > table {
  display: table;
  table-layout: auto !important;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  background-color: transparent;
  border-spacing: 0;
  border-collapse: collapse;
}

.comment_div > table tr {
  border: 1px solid #efefef;
}
.comment_div table td,
.comment_div table th {
  border: 1px solid #e1e1e1;
  padding: 0.4em;
  background-clip: padding-box;
}
.comment_div td,
.comment_div th,
.comment_div video {
  position: relative;
}
.comment_div .__se__t-shadow {
  text-shadow: -0.2rem -0.2rem 1rem #fff, 0.2rem 0.2rem 1rem #fff,
    0 0 0.2rem #999, 0 0 0.4rem #888, 0 0 0.6rem #777, 0 0 0.8rem #666,
    0 0 1rem #555;
}
