@import url('https://fonts.googleapis.com/css2?family=Martian+Mono:wght@300;400;500&display=swap');

body {
  margin: 0;
  font-family: 'Martian Mono', monospace;
  background-color: #e0e0e0;
  color: #121212;
  overflow: hidden;
}

#container {
  display: flex;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
}

/* Левая панель - три секции */
#left-panel {
  width: 240px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0;
}

/* Каждая секция занимает 1/3 высоты */
#left-top, #left-center, #left-bottom {
  flex: 1;
  display: flex;
  box-sizing: border-box;
  min-height: 0;
  padding: 24px;
}

#left-top {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}


#left-center {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  gap: 12px;
}



/* Значение азимута (строка 2) */
#compass-value {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Направление (строка 3) */
#compass-direction {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#left-bottom {
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
}

#point-attrs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#point-name {
  font-size: 1rem;
  text-align: left;
  width: 100%;
}

/* Координаты (строка 1) */
#coordinates {
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.info {
  font-size: 0.8rem;
  color: #555;
  text-align: left;
  line-height: 1.4;
  width: 100%;
}


/* Правая панель - прижата к правому краю квадрата */
#right-panel {
  width: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Центральная панель - квадрат на всю высоту */
#center-panel {
  flex: 0 0 auto;
  width: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Панорамы - ровно половина квадрата каждая */
.pano {
  flex: 1;
  width: 100%;
  border: none;
}

/* Разделительная линия между панорамами */
#panorama-bottom {
  border-top: 1px solid #444;
}

/* Компас */
#compass {
  font-size: 2.2rem;
  text-align: center;
  margin: 10px 0;
}


/* --- Заголовок таблицы (над таблицей) --- */
#table-header {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 24px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* --- Таблица с датами --- */
#date-table {
  width: 100%;
  min-width: fit-content;
  border-collapse: collapse;
  font-size: 0.8rem;
  flex-shrink: 0;
}

#date-table tr {
  height: 36px;
}

#date-table th {
  font-weight: 500;
  color: #000000;
  padding: 4px 2px;
  border-bottom: 1px solid #000000;
  text-align: center;
}

#date-table th:first-child {
  text-align: left;
}

#date-table td {
  padding: 4px 2px;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
}

#date-table td:first-child {
  text-align: left;
  color: #121212;
  white-space: nowrap;
}

#date-table td:not(:first-child) {
  text-align: center;
}

/* Стилизация radio-кнопок */
#date-table input[type="radio"] {
  accent-color: #555;
  cursor: pointer;
}

#date-table input[type="radio"]:disabled {
  cursor: default;
  opacity: 0.5;
}

/* Кликабельная область radio — квадрат 24×24 */
.radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Иконки областей в шапке таблицы */
.area-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* --- Подпись под таблицей --- */
#table-footer {
  font-size: 0.8rem;
  color: #555;
  margin-top: 24px;
  line-height: 1.4;
  flex-shrink: 0;
}
