/* /assets/map.css */
html, body { height: 100%; margin: 0; background: #f7fbff;}
#divesiteMap {
    width: 100vw;
    height: 94vh;
    border-radius: 1.4rem;
    margin: 2vh auto 0 auto;
    box-shadow: 0 8px 40px 0 rgba(24,96,167,0.10);
    position: relative;
    z-index: 1;
}
.leaflet-popup-content-wrapper { border-radius: 1.2rem; }
.modal-content {
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px 0 rgba(24,96,167,0.16), 0 2px 6px 0 rgba(24,96,167,0.04);
  border: none;
  background: #f7fbff;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
.modal-svg-top {
  text-align: center;
  margin-bottom: 0.2rem;
  flex-grow: 1;
}
.modal-svg-top img, .modal-svg-top svg {
  width: 60px;
  height: 60px;
  margin-bottom: 0.4em;
  display: inline-block;
}
.modal-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1777ff;
  margin-bottom: 0.15em;
}
.modal-desc {
  color: #4386b9;
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}
.modal-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}
.ss-logo {
  display: block;
  margin: 28px auto 10px auto;
  width: 82px;
  height: 82px;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 4px 18px #1890a733;
  padding: 8px;
}
.map-controls {
    position: absolute;
    bottom: 18px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.map-controls .map-btn {
    pointer-events: auto;
    background: #fff;
    border: none;
    border-radius: 1.1rem;
    box-shadow: 0 4px 18px #1890a733;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    color: #1890a7;
    cursor: pointer;
    transition: box-shadow 0.12s, background 0.12s;
}
.map-controls .map-btn:active,
.map-controls .map-btn:focus {
    box-shadow: 0 2px 7px #1890a744;
    background: #e3f2fd;
    outline: none;
}
.leaflet-control-fullscreen {
    background: #fff !important;
    border-radius: 1.1rem !important;
    box-shadow: 0 4px 18px #1890a733 !important;
}
@media (max-width: 900px) {
    #divesiteMap { height: 72vh; border-radius: 1rem;}
}
@media (max-width: 700px) {
    #divesiteMap { height: 58vh; border-radius: .7rem; }
    .ss-logo { width: 56px; height: 56px; margin: 16px auto 6px auto;}
    h2 { font-size: 1.25rem;}
    .map-controls { bottom: 14px; right: 10px;}
}
@media (max-width: 440px) {
    #divesiteMap { height: 49vh;}
    .ss-logo { width: 42px; height: 42px;}
    .map-controls .map-btn { width: 36px; height: 36px; font-size: 1.1rem;}
}
