body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #000;
    max-height: 100vh;
    overflow-y: hidden;
}

/* Контейнер для карты */
.map-container {
    position: fixed;
    top: 48px; /* var(--header-height) = 3rem = 48px */
    left: 60px; /* var(--sidebar-collapsed-width) = 60px */
    right: 0;
    bottom: 0;
    width: calc(100% - 60px);
    height: calc(100vh - 48px);
    z-index: 1;
}

#map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#refreshButton {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 24px;
  height: auto;

  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 50px;

  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
}

#refreshButton:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
  transform: translateX(-50%) translateY(-2px);
}

#refreshButton:active {
  transform: translateX(-50%) translateY(0);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

#refreshButton svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#refreshButton span {
  white-space: nowrap;
}

.locate-button {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: white;
            border: 2px solid #ccc;
            padding: 5px 10px;
            border-radius: 5px;
            cursor: pointer;
            font-family: Arial, sans-serif;
            z-index: 1000;
}

.locate-button:hover {
    background-color: #f0f0f0;
}

.CurrentLocationButton {
    display: flex;
    position: absolute;
    bottom: 0;
    transform: translateY(-52px);
    z-index: 999;
    right: 0;
    border: none;
    background-clip: padding-box;
    border-radius: 50%;
    cursor: pointer;
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin: 10px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background-color: hsla(0, 0%, 100%, .9);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .2);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    transition: all 225ms cubic-bezier(0,0,.2,1) 0ms;
}

.CurrentLocationButton svg {
    width: 24px;
    height: 24px;
    fill: rgba(0, 0, 0, .8);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .map-container {
        left: 0;
        width: 100%;
        bottom: 80px; /* высота мобильной навигации */
        height: calc(100vh - 48px - 80px);
    }

    #refreshButton {
        padding: 10px 18px;
        font-size: 13px;
        gap: 6px;
    }

    #refreshButton svg {
        width: 18px;
        height: 18px;
    }
}
