html,
body {
  height: 100%;
  margin: 0;
}

/* NAVIGATION */
.hello-container {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.wave {
  display: inline-block;
  animation-name: wave-animation;
  animation-duration: 4.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
}

@keyframes wave-animation {
  0% {
    transform: rotate(0.0deg)
  }

  10% {
    transform: rotate(15.0deg)
  }

  20% {
    transform: rotate(-10.0deg)
  }

  30% {
    transform: rotate(15.0deg)
  }

  40% {
    transform: rotate(-5.0deg)
  }

  50% {
    transform: rotate(10.0deg)
  }

  60% {
    transform: rotate(0.0deg)
  }

  100% {
    transform: rotate(0.0deg)
  }
}

/* INDEX PAGE */
.main-holder {
  width: 35%;
  height: 50%;
  display: grid;
  margin: 30px auto;
}

.login-error-msg-holder {
  width: 100%;
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
}

#login-button {
  width: 50%;
  padding: 5px;
  margin-top: 15px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #157347;
  outline: none;
}

/* COMMON */
.container {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  margin-top: 5%;
}

.container-image {
  padding: 15px;
}

.nav-backgroundColor {
  background-color: #ebecf9;
}

.hidden {
  display: none;
}

.card-title {
  text-align: center;
  padding: 5px;
  color: #157347;
}

#error-msg {
  width: 50%;
  text-align: center;
  margin: 0;
  padding: 5px;
  font-weight: bold;
  color: #e52d58;
  opacity: 0;
}

.error-msg {
  text-align: center;
  margin: 0;
  padding: 5px;
  color: #e52d58;
}

.login-form-submit {
  width: 30%;
  padding: 5px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #157347;
  outline: none;
}

.login-form-submit:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.delete-button {
  width: 10%;
  padding-bottom: 3px;
  padding-top: 0px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #e52d58;
  outline: none;
}

.delete-button:after {
  content: "×"
}

.form-group {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin: 10px;
}

.form-subgroup {
  margin-top: 12px;
  margin-bottom: 12px;
  display: inline-grid;
}

.container-button {
  text-align: center;
  margin-top: 15px
}

/* INFORMATION PAGE*/
.date-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  flex: 1;
  gap: 15px
}

.uin-list {
  flex: 1;
  align-self: end;
}

.section-holder {
  margin: 25px;
}

.select-holder {
  display: flex;
  flex-wrap: wrap;
  gap: 40px
}

.button-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #157347;
}

.button-submit:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
}

.stop-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #731526;
}

.start-submit {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  background-color: #4d7315;
}

#not_found {
  display: none;
  margin: 20px
}

#status_message {
  display: none;
}

#containers {
  display: block;
}

#information_list {
  margin: 5px 0px 5px 25px;
}

.graph_container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.graph {
  margin: 20px;
  flex: 1;
}

/* PARAMETERS PAGE*/
.card {
  width: 80%;
}

.settings-holder {
  display: flex;
  justify-content: space-evenly;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 20px 30px 20px;
}

.params-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 20px 30px 20px;
}

.unit {
  float: right;
  font-weight: bold;
  font-style: italic;
}

.uin-container {
  display: flex;
  justify-content: space-evenly;
  padding: 5px
}

.add-button {
  text-align: center;
  margin-top: 15px
}

.container-coordinates {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

#algozone-container {
  width: 60%;
  min-width: 254px;
}

.uin-group {
  width: 30%;
  margin: 0 auto;
  min-width: 10em;
}

#error-uin {
  display: none;
}

/* USERS PAGE*/
#error-password {
  display: none;
}

#error-email {
  display: none;
}

.users-container {
  display: flex;
  justify-content: space-between;
  padding: 5px
}

/* MAP */
#map {
  position: relative;
  border-radius: 8px;
  width: 100%;
}

.map-param {
  height: 360px;
}

#map_info {
  height: 500px;
  width: 50%;
  margin: 20px;
}

/* MAP NOMENCLATURE*/
.info {
  padding: 13px;
  font: 14px/16px Arial, Helvetica, sans-serif;
  background-color: white;
  border-radius: 5px;
  border: solid;
  border-width: 1px;
  text-align: center;
}

.legend {
  padding-right: 13px;
  border-top-left-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: 1px 0px 0px black;
  background: rgb(48, 18, 59);
  background: linear-gradient(0deg, rgba(48, 18, 59, 1) 0%, rgba(51, 25, 77, 1) 1%, rgba(54, 33, 95, 1) 2%, rgba(57, 41, 113, 1) 3%, rgba(59, 47, 128, 1) 4%, rgba(62, 56, 145, 1) 5%, rgba(63, 62, 156, 1) 6%, rgba(65, 70, 172, 1) 7%, rgba(68, 84, 195, 1) 9%, rgba(71, 110, 230, 1) 13%, rgba(71, 124, 243, 1) 15%, rgba(62, 155, 254, 1) 20%, rgba(40, 188, 235, 1) 25%, rgba(32, 199, 223, 1) 27%, rgba(24, 224, 189, 1) 32%, rgba(39, 238, 164, 1) 36%, rgba(70, 248, 132, 1) 40%, rgba(121, 254, 89, 1) 45%, rgba(146, 255, 71, 1) 48%, rgba(164, 252, 60, 1) 50%, rgba(198, 240, 52, 1) 55%, rgba(225, 221, 55, 1) 59%, rgba(239, 205, 58, 1) 63%, rgba(249, 188, 57, 1) 66%, rgba(252, 177, 54, 1) 68%, rgba(254, 164, 49, 1) 70%, rgba(253, 141, 39, 1) 73%, rgba(251, 126, 33, 1) 75%, rgba(247, 111, 26, 1) 77%, rgba(236, 83, 15, 1) 81%, rgba(232, 75, 12, 1) 82%, rgba(226, 67, 10, 1) 83%, rgba(216, 55, 6, 1) 86%, rgba(195, 37, 3, 1) 90%, rgba(175, 24, 1, 1) 93%, rgba(161, 18, 1, 1) 95%, rgba(136, 8, 2, 1) 98%, rgba(122, 4, 3, 1) 100%);
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

.legend span {
  text-align: end;
  display: inherit;
  height: 13px;
  margin-bottom: -10px;
  box-shadow: 0px 9px 0px white, -1px 9px 0px black, -1px 0px 0px black;
  padding-block-start: 8px;
}

.legend span:first-of-type {
  border-top-left-radius: 5px;
  box-shadow: 0px 9px 0px white, -1px 9px 0px black, -1px -1px 0px black;
}

.legend div {
  margin-bottom: -18px;
  position: relative;
  top: -2.1em;
  width: 45px;
  left: 1.1em;
  text-align: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 0px 9px 0px white,
    -1px 7px 0px black, -1px 0px 0px black, -1px -1px 0px black, 1px 0px 0px black, 1px 9px black;
}

.legend .common {
  background-color: white;
}

.slide {
  background-color: white;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  border: solid;
  border-width: 1px;
}

.slide h5 {
  margin: 0;
  width: 11em;
}

.caption {
  border: 1px solid black;
  background-color: white;
  border-radius: 5px;
  padding: 3px;
}

#caption_info {
  display: none;
  margin: 20px
}

#pm-message {
  margin: 15px auto;
  width: 95%;
}

#pm-message span {
  display: inline-block;
}

#pm-message #prev-title {
  margin: 15px auto;
  text-align: center;
}

#containers {
  display: none;
}


#non {
  display: none;
}

/*.export-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

label:has(> .export-check) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  margin-right: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  user-select: none;
  transition: all 0.15s ease;
}

label:has(> .export-check):hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

label:has(> .export-check):active {
  transform: scale(0.97);
}

label:has(> .export-check:checked) {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

label:has(> .export-check:checked):hover {
  background: #4f46e5;
  border-color: #4f46e5;
}

label:has(> .export-check:focus-visible) {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}
*/
.export-check {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* Default colors */
label:has(> .export-check) {
  --check-color: #6366f1;
  --check-color-hover: #4f46e5;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  margin-right: 8px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
  user-select: none;
  transition: all 0.15s ease;
}

/* GLOB */
label:has(> .export-check.glob) {
  --check-color: #6366f1;
  --check-color-hover: #4f46e5;
}

/* RAF */
label:has(> .export-check.raf) {
  --check-color: #10b981;
  --check-color-hover: #059669;
}

/* KPI */
label:has(> .export-check.kpi) {
  --check-color: #b568f1;
  --check-color-hover: #b568f1;
}

/* Normal hover when unchecked */
label:has(> .export-check):hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

/* Checked */
label:has(> .export-check:checked) {
  background: var(--check-color);
  border-color: var(--check-color);
  color: #fff;
}

/* Checked + hover */
label:has(> .export-check:checked):hover {
  background: var(--check-color-hover);
  border-color: var(--check-color-hover);
}

/* Active/pressed feedback */
label:has(> .export-check):active {
  transform: scale(0.97);
}

/* Keyboard focus */
label:has(> .export-check:focus-visible) {
  outline: 2px solid var(--check-color);
  outline-offset: 2px;
}

.kpi-table {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.kpi-table thead {
  background-color: #b568f1;
  color: #ffffff;
}

.kpi-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.kpi-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.kpi-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.kpi-table tbody tr:hover {
  background-color: #eef2ff;
  transition: background-color 0.15s ease;
}

.kpi-table td:first-child {
  font-family: monospace;
  color: #6b7280;
}

.kpi-value {
  font-weight: 600;
  color: #111827;
}
