html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
#map {
    height: 100%;
    width: 100%;
}
#infoBox {
    position: absolute;
    display: none;
    background: white;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 300px;
    height: auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
    font-size: 12px;
    padding: 10px;
    box-sizing: border-box;
}
#infoBox .header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
    margin-bottom: 4px;
}
#infoBox .content {
    display: flex;
}
#infoBox .content img {
    max-width: 129px;
    max-height: 172px;
    margin-right: 8px;
}
#infoBox .content #itemDetails {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#aboutButton {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}
#aboutModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    overflow-y: auto;
}
#aboutModalContent {
    background: #2c2c2c;
    color: white;
    padding: 15px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    margin: 15px;
    font-size: 12px;
    text-align: center;
}
#aboutModalContent a {
    color: #1e90ff;
    text-decoration: none;
}
#aboutModalContent h1 {
    margin: 15px 0;
    font-size: 14px;
}
#aboutModalClose {
    background-color: #1e90ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#installButton {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #1e90ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}
#manualInstallPrompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}
#manualInstallPrompt p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}
#manualInstallPrompt button {
    background-color: #1e90ff;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

@keyframes blink {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  20% {
    opacity: 0.4;
    transform: scale(0.6);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.blink {
  animation: blink 1s infinite;
  position: relative;
  z-index: 0;
}

/* Modal Dialog Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  text-align: center;
  border-radius: 10px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.marker-id-text {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    z-index: 1;
}