.no-pointer {
    outline: none !important;
    pointer-events: none !important;
}

.region-tooltip {
    background: rgba(26, 26, 26, 0.8) !important;
    color: white !important;
    border: 1px solid white !important;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}


.marker-tooltip {
    background: #333 !important;
    color: white !important;
    border: none !important;
    font-weight: bold;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
}


body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    display: flex;
}


#sidebar {
    width: 260px;
    height: 100vh;
    background-color: #1a1a1a;
    position: relative;
    z-index: 1000;
    border-right: 1px solid white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    padding: 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.site-title-link {
    color: white; 
    text-decoration: none; 
    cursor: pointer;

    margin-bottom: 30px; 
    

    border: 1px solid white; 
    padding: 8px 15px; 
    border-radius: 4px; 
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); 
    display: block; 
}

.sidebar-title {
    color: inherit;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    position: relative;
}


#map {
    flex-grow: 1;
    position: relative;
    z-index: 1;
    background-color: #1a1a1a;
}


#details-panel {

    position: fixed;
    
 
    top: 50%;
    left: calc(260px + (100vw - 260px) / 2);
    transform: translate(-50%, -50%);
    

    width: 600px;
    max-height: 85vh;
    
    background-color: #2b2b2b;
    color: white;
    z-index: 10002;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    
    gap: 15px;
    
    border: 1px solid white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

#details-panel h2 {
    margin-top: 0;
    font-size: 1.8em;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
    margin-bottom: 0;
    text-align: center;
}

#details-panel img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0;
}

#details-panel p {
    font-size: 1em;
    line-height: 1.5;
    text-align: justify;
    margin: 0;
}

#details-panel button {
    margin-top: 5px;
    padding: 12px 20px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    align-self: center; 
}

#details-panel button:hover {
    background-color: #777;
}


.sidebar-btn {
    width: 100%;
    padding: 8px;
    background-color: #ff8c00; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.sidebar-title{
    margin: 0;
}

.site-title-link{
    display: block;
    margin-bottom: 18px;
}


.sidebar-actions {
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.sidebar-btn:hover {
    background-color: #cc7000;
}



.leaflet-control-zoom {
    margin-left: 0;
    top: 20px;
    left: 20px;
}

.leaflet-control-custom {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    margin-top: 5px;
    margin-left: 0;
}

.leaflet-control-custom button {
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    background-color: white;
    border: none;
    display: block;
    color: #333;
    border-radius: 4px;
}

.leaflet-control-custom button:hover {
    background-color: #f4f4f4;
}


.monument-slider{
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;    
  margin: 12px auto;
}


.monument-slider a{
  display: block;
}

.monument-slider img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px; 
}


.monument-slider-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 0;
  cursor: pointer;

  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;


  opacity: 1;
  visibility: visible;
}

.monument-slider-btn:hover{
  background: rgba(0,0,0,0.75);
}

.monument-slider-btn:active{
  transform: translateY(-50%) scale(0.96);
}

.monument-slider-btn:first-child{
  left: 10px;
}

.monument-slider-btn:last-child{
  right: 10px;
}

#details-panel .details-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 34px;
    height: 34px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #3a3a3a;
    border: 1px solid #555;
    border-radius: 50%;

    color: #fff;
    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
    margin: 0;
    align-self: auto;
}

#details-panel .details-close:hover {
    background: #555;
}

.leaflet-control-zoom a.leaflet-control-zoom-back {
  font-size: 18px;
  line-height: 26px;
}

.sidebar-bottom {
    margin-top: auto;
    width: 100%;
    display: flex;
}

.sidebar-bottom .sidebar-btn {
    width: 100%;
}

#sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.sidebar-actions {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sidebar-bottom {
  margin-top: auto;
  width: 100%;
}
