.ms-parent {
  padding: 5px;
  color: #f8f9fa;
  background-color: transparent;
  background-image: none;
  border-color: #f8f9fa;
  border-width: 1px;
  border-radius: 1px;
  border-style: solid;
}

.ms-choice {
  color: #f8f9fa;
  background-color: transparent;
  border: transparent !important;
}

.ms-drop {
  background-color: rgb(70, 70, 215);
}

.ms-choice > span {
  top: 5px;
}

.ms-parent button:focus {
  outline: 0px;
}

#fecha-inicio,
#fecha-fin {
  width: 180px;
}

#header {
  transition: max-height 0.5s ease-out;
}

a {
  text-decoration: none;
  color: white;
}

a:hover {
  color: white;
  text-shadow: 0 0 30px #f7f3f3;
}

.left,
.center {
  padding-top: 3%;
}

.left {
  position: relative;
  min-width: 480px;
  height: 140px;
  background: url(/static/img/header_left.png) no-repeat 0 0;
  background-size: contain;
}

.center {
  width: 200px;
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: url(/static/img/header_center.png) repeat 0 0;
  background-color: transparent;
  background-size: contain;
  padding-top: 2.2%;
  height: 140px;
}

.right {
  position: relative;
  width: 480px;
  min-width: 480px;
  height: 140px;
  background: url(/static/img/header_right.png) no-repeat 0 0;
  background-size: contain;
  padding-top: 4%;
}

.right a {
  padding-left: 200px;
  padding-top: 300px;
}

@font-face {
  font-family: electronicFont;
  src: url(/static/fonts/ROBOTOSLAB-REGULAR.TTF);
}

.no {
  background: rgba(101, 132, 226, 0.1);
  padding: 0.6rem;
  width: 100%;
}

.no .no-hd {
  position: relative;
  border: 1px solid rgba(25, 186, 139, 0.17);
}

.no .no-hd::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
  top: 0;
  left: 0;
}

.no .no-hd::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
  right: 0;
  bottom: 0;
}

.no .no-hd ul::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
  top: 0;
  right: 0;
}

.no .no-hd ul::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
  left: 0;
  bottom: 0;
}

.no .no-hd ul {
  display: flex;
  list-style-type: disc;
  padding-left: 0;
}

.no .no-hd ul li:first-child {
  font-size: 2.4rem;
  font-weight: bold;
}

.no .no-hd ul li {
  position: relative;
  flex: 1;
  text-align: center;
  height: 1rem;
  line-height: 0.85rem;
  font-size: 2.4rem;
  color: #fff;
  padding: 1rem 0;
  font-family: electronicFont;
  font-weight: 300;
  list-style: none;
}

.no .no-hd ul li::after {
  content: "";
  position: absolute;
  height: 80%;
  width: 1px;
  background: rgba(25, 186, 139, 0.17);
  right: 0;
  top: 35%;
}

.no .no-hd ul li:last-child:after {
  content: "";
  position: absolute;
  height: 50%;
  width: 1px;
  background: rgba(25, 186, 138, 0);
  right: 0;
  top: 25%;
  list-style-type: disc;
}

.no .no-bd ul {
  display: flex;
  padding-left: 0;
}
.no .no-bd ul li:first-child {
  font-size: 0.9rem;
  font-weight: bold;
}
.no .no-bd ul li {
  flex: 1;
  height: 0.5rem;
  line-height: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 0.125rem;
  list-style: none;
}

.map {
  position: absolute;
  height: 10.125rem;
}

.map .map1,
.map .map2,
.map .map3 {
  position: absolute;
  top: 245%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 27.475rem;
  height: 27.475rem;
  background: url(/static/img/index_map.png) no-repeat;
  background-size: 100% 100%;
  opacity: 0.3;
}

.map .map2 {
  width: 30.0375rem;
  height: 30.0375rem;
  background-image: url(/static/img/index_lbx.png);
  opacity: 0.6;
  animation: rotate 15s linear infinite;
  z-index: 2;
}

.map .map3 {
  width: 29.975rem;
  height: 29.975rem;
  background-image: url(/static/img/index_jt.png);
  animation: rotate1 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes rotate1 {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

#chart-container {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
}
#chart-container2 {
  position: relative;
  height: 400px;
  overflow: hidden;
}
#chart-container3 {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
}
.logo-container {
  display: flex;
  align-items: center;
}
.logo-container img {
  margin-right: 10px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.logo-text h3 {
  margin: 0;
  font-size: 16px;
  color: white;
}

header {
  padding: 0px 0;
  overflow: visible !important;
  position: relative;
  z-index: 99999;
}

.nav-link {
  padding: 0 0px;
  font-size: medium;
  text-shadow: 0 0 30px #f7f3f3;
}

.nav-link:hover {
  font-weight: 600;
  text-shadow: 0 0 45px #f7f3f3;
}

.btn {
  padding: 5px 10px;
  font-size: small;
}

.filter-bar {
  background-color: #011931;
  padding: 10px;
  gap: 10px;
}

.filter-group {
  background-color: #002d5a;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.filter-group label {
  font-size: 14px;
  color: #ecf0f1;
  padding-top: 6px;
}

.filter-group select,
.filter-group input {
  padding: 5px;
  color: #f8f9fa;
  background-color: transparent;
  background-image: none;
  border-color: #f8f9fa;
  border-width: 1px;
  border-radius: 1px;
  border-style: solid;
}

option {
  background-color: #020e39;
}

.filter-group select:hover,
.filter-group input:hover {
  border-color: #3498db;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Estilos para el gráfico */
#left {
  width: 50%;
  height: auto;
  float: left;
}

/* Estilos para la tabla */
#right {
  width: 50%;
  float: right;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Arial;
  background: url("../img/image.png") no-repeat center center fixed;
  background-size: cover;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.styled-box {
  position: relative;
  border: 1px solid rgba(25, 186, 139, 0.17);
  margin-bottom: 0.1875rem;
  flex: 1;
}

.styled-box::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
}

.styled-box::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
}

.panel-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.panel-footer::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-left: 2px solid #02a6b5;
}

.panel-footer::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #02a6b5;
  border-right: 2px solid #02a6b5;
}

.styled-box h1 {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 15px;
}

.styled-box h2 {
  text-align: center;
  font-size: 25px;
  font-weight: 200;
}

.styled-box h3 {
  margin-top: 0.5rem;
  text-align: center;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
}

.styled-box h4 {
  font-size: 25px;
  font-weight: 300;
}

.custom-box {
  color: white;
  padding: 5px;
  border-radius: 5px;
  position: relative;
  display: inline-block;
}
.custom-box::before,
.custom-box::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 50%;
}
.custom-box::before {
  left: 0;
  top: 0;
  height: 2px;
  width: calc(100% - 100px);
}
.custom-box::after {
  right: 0;
  bottom: 0;
  height: 2px;
  width: calc(100% - 100px);
}

.main-content {
  color: white;
  margin: 0;
}

.custom-box {
  color: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  display: inline-block;
}
.custom-box::before,
.custom-box::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 20%;
}
.custom-box::before {
  left: 0;
  top: 0;
  height: 2px;
  width: calc(100% - 20px);
}
.custom-box::after {
  right: 0;
  bottom: 0;
  height: 2px;
  width: calc(100% - 20px);
}
.custom-box .border-left,
.custom-box .border-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
}
.custom-box .border-left {
  left: 0;
}
.custom-box .border-right {
  right: 0;
}

.stat,
.total-incidents,
.states,
.critical-incidents,
.communication-channels,
.authenticity-rate {
  margin: 10px 0;
  margin-top: 0;
  margin-bottom: 0 !important;
}

.header .stat,
.header .total-incidents {
  text-align: center;
}

.header .stat h3,
.header .total-incidents h2 {
  margin: 0;
  font-size: 1.2em;
}

.header .stat p,
.header .total-incidents p {
  margin: 5px 0 0 0;
  font-size: 1.5em;
  font-weight: bold;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: small;
  background-color: transparent;
}
.table thead,
.table tbody {
  text-align: center;
}

.states table,
.critical-incidents table,
.communication-channels table {
  width: 100%;
  border-collapse: collapse;
}

.states th,
.critical-incidents th,
.communication-channels th {
  background: #333;
  color: #fff;
  padding: 10px;
}

.states td,
.critical-incidents td,
.communication-channels td {
  background: #444;
  color: #fff;
  padding: 10px;
  text-align: center;
}

.authenticity-rate .chart span {
  display: inline-block;
  width: 50%;
  padding: 20px;
  font-size: 2em;
  font-weight: bold;
}

.nav-link {
  color: white;
  font-size: large;
  font-weight: 500;
}

.legend {
  display: inline-block;
  margin: 0 10px;
}

.map-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.map-container img {
  max-width: 100%;
  height: auto;
}

.area-highlight {
  position: absolute;
  border: 2px solid transparent;
  pointer-events: none;
  display: none;
}

.area-highlight.mancora {
  background-color: rgba(255, 255, 255, 0.5);
}

.area-highlight.los-organos {
  background-color: rgba(0, 255, 0, 0.5);
}

.area-highlight.el-alto {
  background-color: rgba(255, 255, 0, 0.5);
}

.area-highlight.lobitos {
  background-color: rgba(255, 182, 193, 0.5);
}

.area-highlight.parinas {
  background-color: rgba(139, 69, 19, 0.5);
}

.area-highlight.la-brea {
  background-color: rgba(0, 0, 255, 0.5);
}

#gaugeChart {
  max-height: 65%;
}

.container {
  max-width: 100%;
  margin: 0;
  padding: 1%;
  padding-bottom: 0%;
}

.chart-container {
  width: 50%;
  margin: auto;
  padding: 20px 0;
  background-color: transparent !important;
}
canvas {
  display: block;
  margin: auto;
  width: 100%;
  height: auto;
}

.legend {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.legend span {
  margin: 0 10px;
}

.dot {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-authentic {
  background-color: #ff6384;
}

.dot-false {
  background-color: #ff9f40;
}

.map-container {
  position: relative;
  z-index: 99;
}
#map {
  position: relative;
  width: 100%;
  height: auto;
}
.zone {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
}
.zone-label {
  position: absolute;
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
}
.stylized-map {
  width: 80%;
  filter: brightness(1.2) saturate(2) hue-rotate(180deg) contrast(1.2);
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.zone {
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s;
}
.zone:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

#tooltip {
  display: none;
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px;
  border-radius: 3px;
  z-index: 1000;
  font-size: 12px;
}

.last-updated {
  position: absolute;
  bottom: 15px;
  right: 60px;
  color: #FFFFFF;
  padding-right: 12px;
  padding-bottom: 12px;
  border-radius: 5px;
  font-size: 12px;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(33, 32, 32, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-size: 1.5em;
  color: #ffffff;
}