@font-face {
  font-family: 'Conamore';
  src: url('/static/fonts/Conamore-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

#popup {
  position: absolute;
  transform: translate(-50%, -120%);
  pointer-events: auto;
  z-index: 10;
}

.popup-box {
  background: white;
  border-radius: 10px;
  padding: 10px;
  min-width: 200px;
  font-size: 14px;
  color: #2C1F83;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.coords {
  font-size: 12px;
  color: #948274;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

td, th {
  border: 1px solid #F2EFED;
  padding: 4px;
  text-align: center;
}

th {
  background-color: #FAF8F5;
  font-weight: bold;
}

.hidden {
  display: none;
}

.data-label {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.clock-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.header-right {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.close-btn {
  width: 14px;
  height: 14px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
}

.close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}


#info-panel {
  position: absolute;
  top: 20px;
  left: 20px;

  background: white;
  border-radius: 10px;
  padding: 12px 14px;

  width: 220px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  font-family: Arial, sans-serif;
  z-index: 20;

  pointer-events: auto;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#langSelect {
  font-size: 14px;
}

/* tytuł */
.panel-title {
  font-size: 16px;
  font-weight: bold;
  color: #E20620;
  margin-bottom: 5px;
  font-family: 'Conamore', Arial, sans-serif;
}

/* podtytuł */
.panel-subtitle {
  font-size: 13px;
  color: #004289;
  margin-bottom: 4px;
  font-family: 'Conamore', Arial, sans-serif;
}

/* checkbox */
.checkbox-row {
  font-size: 13px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* logo */
.panel-logo {
  display: block;
  margin-left: auto;
  margin-top: 10px;

  width: 200px;
  height: auto;
  opacity: 0.9;
}


#chart-popup {
  position: absolute;
  bottom: 0px;
  right: 0px;
  z-index: 30;
}

.chart-box {
  background: white;
  border-radius: 16px 0 0 0;
  overflow: hidden;
  padding: 10px;
  width: 600px;
  height: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  position: relative;
}

#chart {
  width: 100%;
  height: 100%;
}

.chart-icon {
  width: 14px;
  height: 14px;
  margin-left: 5px;
  cursor: pointer;
}