@import url("password-tooltip.css");

.text-underlined {
  text-decoration: underline !important;
}

.minh-100p {
  min-height: 100px !important;
}

.minh-150p {
  min-height: 150px !important;
}

.minh-200p {
  min-height: 200px !important;
}

.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-40 {
  width: 40% !important;
}

.card-header {
  font-size: 16px;
  text-transform: none;
}

.btn {
  text-transform: none;
}

.btn.btn-cursor-default {
  cursor: default !important;
}

.btn.btn-cursor-default.btn-primary:hover,
.btn.btn-cursor-default.btn-primary:active,
.btn.btn-cursor-default.btn-primary:focus {
  background-color: #007bff;
  border-color: #007bff;
  box-shadow: none;
}

.btn.btn-cursor-default.btn-secondary:hover,
.btn.btn-cursor-default.btn-secondary:active,
.btn.btn-cursor-default.btn-secondary:focus {
  background-color: #6c757d;
  border-color: #6c757d;
  box-shadow: none;
  z-index: 0;
}

.btn.btn-cursor-default.btn-success:hover,
.btn.btn-cursor-default.btn-success:active,
.btn.btn-cursor-default.btn-success:focus {
  background-color: #28a745;
  border-color: #28a745;
  box-shadow: none;
  z-index: 0;
}

.btn.btn-cursor-default.btn-danger:hover,
.btn.btn-cursor-default.btn-danger:active,
.btn.btn-cursor-default.btn-danger:focus {
  background-color: #dc3545;
  border-color: #dc3545;
  box-shadow: none;
  z-index: 0;
}

.btn.btn-cursor-default.btn-dark:hover,
.btn.btn-cursor-default.btn-dark:active,
.btn.btn-cursor-default.btn-dark:focus {
  background-color: #343a40;
  border-color: #343a40;
  box-shadow: none;
  z-index: 0;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

dl.dl-20 {
  font-size: 14px;
  line-height: 20px;
}

dl.dl-18 {
  font-size: 14px;
  line-height: 18px;
}

.logo-icon {
  width: 60px;
}

span.text-before-check,
span + span.text-after-check {
  position: relative;
  bottom: 3px;
}

#menu.metismenu > li .disabled {
  color: #b2b19c;
  background-color: #fffefb;
  border-color: #fdf1cd;
}

.sidebar-wrapper .metismenu a.saved_and_send {
  color: #155724;
  background: #e7f1eaff;
}

.sidebar-wrapper .metismenu a.saved_and_send:hover,
.sidebar-wrapper .metismenu a.saved_and_send:focus,
.sidebar-wrapper .metismenu a.saved_and_send:active,
.sidebar-wrapper .metismenu .mm-active > a.saved_and_send {
  color: #155724;
  background: #d4edda;
}

.table tr.bg-selected {
  background-color: #dee1e6 !important;
}

/*Select2 ReadOnly Start*/
.select2-container--bootstrap4 .select2-selection__clear {
  width: 1em;
  height: 1em;
  line-height: 1em;
  padding-left: 0.2em;
  margin-top: 0.7em;
  background-color: #c8c8c8;
  color: #f8f9fa;
}

select[readonly].select2-hidden-accessible + .select2-container {
  pointer-events: none;
  touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
  background: #e9ecef;
  box-shadow: none;
  opacity: 1;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
  display: none;
}

.vertical-align-top {
  vertical-align: top !important;
}

/*Select2 ReadOnly End*/

.metismenu.card-collapse .card-header {
  cursor: pointer;
}

/*Fancy file upload Start*/
.fancy_file_upload_row label.custom-file-label {
  display: none;
}

.fancy_file_upload_row div.custom-file {
  height: inherit;
}

.was-validated .fancy_file_upload_row:invalid {
  border: 2px dashed #7d00b5;
}

/*Fancy file upload End*/

/* Print format */
body.print_pdf {
  margin: 50px 10px 30px 30px;
  background-color: #fff;
  color: #000;
  font-family: Roboto, Noto Sans, liberation mono;
  --font-family-sans-serif: Roboto, Noto Sans;
  --font-family-monospace: liberation mono;
}
body.print_pdf hr {
  border-top-color: #000 !important;
}
body.print_pdf .table td,
body.print_pdf .table th {
  vertical-align: middle;
  color: #000 !important;
}
body.print_pdf .table-bordered td,
body.print_pdf .table-bordered th {
  border-color: #000 !important;
}

dl.dl-counted dt {
  padding-top: 0.3rem;
}

dl.dl-counted dd {
  margin-bottom: 0;
  padding-top: 0.3rem;
  padding-bottom: 0.2rem;
}

dl.dl-counted dd .bx {
  line-height: 13px;
  position: relative;
  top: 4px;
}

dl.dl-counted dt:nth-of-type(odd),
dl.dl-counted dd:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

dl.dl-counted dt.uncounted,
dl.dl-counted dd.uncounted {
  background-color: inherit;
}

.navbar-shadow-purple {
  box-shadow: 0 4px 6px -1px #7c238c;
}

.navbar-shadow-success {
  box-shadow: 0 4px 6px -1px #47a025;
}

.navbar-shadow-primary {
  box-shadow: 0 4px 6px -1px #4e84c4;
}

.navbar-shadow-danger {
  box-shadow: 0 4px 6px -1px #c1292e;
}

h6 .badge,
table th .badge {
  position: relative;
  top: -1px;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.disabled .disabled-link {
  color: #888; /* Gray out the text */
  cursor: not-allowed;
  pointer-events: none; /* Prevent clicking */
  text-decoration: none;
}

.disabled .disabled-link:hover {
  text-decoration: none; /* No underline on hover */
}

/* Copy-button styling. */
.button-copy-to-clipboard.btn:focus {
  box-shadow: none !important; /* Remove box-shadow when focused */
}
.button-copy-to-clipboard.btn:active {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important; /* Restore box-shadow when clicked */
}

.bg-orange {
  background-color: #fd7e14 !important; /* Bootstrap orange */
  color: #fff !important;
}

a.bg-orange:hover,
a.bg-orange:focus,
button.bg-orange:hover,
button.bg-orange:focus {
  background-color: #e8590c !important; /* Darker orange for interaction */
  color: #fff !important;
}
