body {
  padding-top: 0px;
  padding-bottom: 0px;
}

.hide {
  display: none !important;
}

#overlay {
  position: fixed;
  display: none !important;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Black background with opacity */
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  /* Add a pointer on hover */
  cursor: pointer;
}

#overlay.show, #overlay.htmx-request {
  display: flex !important;
}

#loading-animation {
  width: 50px;
  height: 50px;
  margin: auto;
  color: white;
}

.form-signin {
  max-width: 530px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin button {
  margin-top: 10px;
  margin-bottom: 10px;
}

.has-error {
  color: red;
}

.input-label {
  display: flex;
  flex-direction: row;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}

.table-responsive {
  flex-shrink: 0;
  margin-inline: auto;
}

.odd {
  background-color: #eee;
}

.hidden-text {
  color: white;
}

.header {
  display: flex;
  padding-top: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header > * {
  margin: 0.5rem;
}

.header > h1 {
  flex-grow: 1;
  min-width: 300px;
  word-break: break-word;
}

.filter {
  display: flex;
  flex-flow: row wrap;
  gap: 1.5rem;

  > * {
    width: fit-content;
    margin: auto;
  }

  > * + *::before {
    border-left: dotted 1px silver;
  }

  .input-group > label {
    padding-inline-end: 0.5rem;
  }

}

.hint {
  margin-inline-start: 2px;
}

.data-nature-icon {
  background: url('/image/dataNature-15abf9970403f685e1cebdfecb3a9770.svg');
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.bnn-icon {
  background: url('/image/bnn-73ee83604cefc7cffa4211dc81c65ac7.png');
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  height: 16px;
  width: 16px;
}

.statusBadge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  left: 15px;
  font-size: x-large;
}

.modal { 
  overflow: auto !important; 
}

.modal-actions {
  flex-grow: 1;
  font-size: large;
  text-align: right;
}

input.date {
  width: 80px;
}

.avatar {
  width: 100%;
  img {
    max-width: 300px;
  }
}

.kpi {
  min-width: 150px;
  hyphens: auto;
  padding: 0rem;
  .card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    .card-title {
      flex-grow: 1;
    }
  }
}
