.room-highlight {
  fill: orange !important;
  cursor: pointer;
  transition: fill 0.3s ease;
}

#map-wrapper {
  display: flex;
  align-items: flex-start;
  height: 100vh;
}

/* === MODAL STYLES === */
#room-info {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 41, 74, 0.8); /* Dark overlay */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.room-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Modal animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* === ROOM INFO STYLING === */
#room-info h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #333;
  text-transform: capitalize;
}

#room-info p {
  font-size: 0.95rem;
  margin: 4px 0;
  color: #444;
}

/* === CONFIGURATION BUTTONS === */
.config-options {
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.config-button {
  padding: 6px 12px;
  background-color: #13294a;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.config-button:hover {
  background-color: #F15A32;
}

/* === CLOSE BUTTON === */
.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 22px;
  color: #13294a;
  cursor: pointer;
  z-index: 1100;
}
.close-btn:hover {
  color: #F15A32;
}

/* === FLOOR PLAN DETAILS === */
.config-details {
  margin-top: 14px;
}

#config-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

#pdf-viewer {
  display: none;
  width: 100%;
  height: 360px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 8px;
  transition: transform 0.3s ease;
}

.model-link {
  display: none;
  margin-top: 10px;
  font-weight: 600;
  color: #0074D9;
  text-decoration: none;
}
.model-link:hover {
  text-decoration: underline;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 600px) {
  #room-info {
    align-items: flex-end;
    padding-bottom: 20px;
  }

  .room-card {
    width: 95%;
    border-radius: 12px 12px 0 0;
  }
}

