.leaflet-control-zoom {
  position: absolute;
  left: 409px;
  top: 7px;
}

.leaflet-control-layers {
  position: relative;
  top: 15px;
  z-index: 3000;
}
.t6 { font-size: 24px;fill: #c1272d;font-weight: 800;font-family: "Montserrat-ExtraBold", "Montserrat" } 

.logonya img {
  max-width: 25%;
  max-height: 10%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);

border-top-left-radius: 9999px;
border-bottom-left-radius: 9999px;

  position: fixed;
  bottom: 20px;
  right: 0;
  z-index: 1000;

}
/* svg */
tspan {
  white-space: pre;
}
.es0 {
  opacity: 0.9;
  fill: #ffffff;
}

#clock-text {
  font-size: 23px;
  fill: #4d4d4d;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}
.es2 {
  fill: #c1272d;
}
.es3 {
  fill: none;
  stroke: #fbb03b;
  stroke-width: 4;
}
.es4 {
  fill: #fbb03b;
  stroke: #fbb03b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}
.te5 {
  font-size: 21px;
  fill: #4d4d4d;
  font-weight: 600;
  font-family: "Montserrat-SemiBold", "Montserrat";
}
#depth {
  font-size: 24px;
  fill: #c1272d;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}

#ot {
  font-size: 24px;
  fill: #c1272d;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}

#epicenter {
  font-size: 24px;
  fill: #c1272d;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}

#magnitude {
  font-size: 44px;
  fill: #ffffff;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}
#PARAMETER {
  font-size: 24px;
  fill: #ffffff;
  font-weight: 800;
  font-family: "Montserrat-ExtraBold", "Montserrat";
}
.te9 {
  font-size: 19px;
  fill: #4d4d4d;
  font-weight: 600;
  font-style: italic;
  font-family: "Montserrat-SemiBoldItalic", "Montserrat";
}

#lokasi {
  font-size: 13px;
  fill: #ffffff;
  font-weight: 600;
  font-style: italic;
  font-family: "Montserrat-SemiBoldItalic", "Montserrat";
}
#timeleft {
  font-size: 19px;
  fill: #4d4d4d;
  font-weight: 600;
  font-style: italic;
  font-family: "Montserrat-SemiBoldItalic", "Montserrat";
}
.te10 {
  font-size: 16px;
  fill: #ffffff;
  font-weight: 600;
  font-family: "Montserrat-SemiBold", "Montserrat";
}
.es11 {
  fill: #fbb03b;
}
.es12 {
  fill: none;
  stroke: #fbb03b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}
.es13 {
  opacity: 0.3;
  fill: #ffffff;
}

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
      top: -300px;
      opacity: 0
  }

  to {
      top: 0;
      opacity: 1
  }
}

@keyframes animatetop {
  from {
      top: -300px;
      opacity: 0
  }

  to {
      top: 0;
      opacity: 1
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #c1272d;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;
  background-color: white;
  color: black;
}


/* styling untuk modal content */
.modalan1 {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
}

/* styling untuk header */
.modalan2 {
  display: flex;
  justify-content: space-between;
  background-color: #c1272d;
  align-items: center;
  margin-bottom: 20px;
}

/* styling untuk tombol exit */
.exit {
  font-size: 30px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* styling untuk body */
.modalan3 {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* styling untuk footer */
.modalan4 {
  font-size: 14px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

.tulisan {
  font-size: 24px;
  color: white;
  margin: 0;
}

/* Styling untuk history icon */
.history-icon {
  background-color: white;
  border: 2px solid #c7c7c7;
  border-radius: 4px;
  padding: 5px;
  cursor: pointer;
  bottom: -10px;
  width: 47px;
  height: auto;
}

.history-icon img {
  width: 100%;
  height: auto;
}

/* Styling untuk history table modal */
.history-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.history-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: none;
  border-radius: 12px;
  width: 80%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  background-color: #c1272d;
  margin: -20px -20px 20px -20px;
  padding: 20px;
  text-align: center;
}

.history-header h2 {
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  width: 100%;
  text-align: center;
}

.history-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.history-table th, .history-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.history-table th {
  background-color: #f8f9fa;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.history-table tr:nth-child(even) {
  background-color: #fafafa;
}

.history-table tr:hover {
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

.history-table td {
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Styling untuk kolom spesifik */
.history-table td:first-child {
  font-weight: 500;
  color: #333;
  text-align: center;
}

.history-table td:nth-child(2) {
  color: #c1272d;
  font-weight: 600;
  text-align: center;
}

.close-history {
  color: #666;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-history:hover {
  color: #c1272d;
  background-color: #f0f0f0;
  transform: rotate(90deg);
}

/* Custom scrollbar untuk tabel */
.history-modal-content::-webkit-scrollbar {
  width: 8px;
}

.history-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.history-modal-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.history-modal-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Styling untuk tombol playback */
.playback-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.playback-btn:hover {
  background-color: #218838;
  transform: scale(1.1);
}

.playback-btn i {
  font-size: 16px;
}




