/*
 * File: scripts/splash_page/templates/style.css
 * Version: 1.0
 * Git Commit: initial style.css for full-screen splash map layout and responsive leaflet styling
 * Last Modified: 2025-07-03
 * Author: eclark
 */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

#map {
  width: 100%;
  height: 100%;
}

.leaflet-popup-content {
  font-size: 14px;
  line-height: 1.4;
}
/* Legend Styling */
.legend-box {
  background-color: white;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  font-size: 13px;
  line-height: 1.4;
  max-width: 200px;
}

.legend-box h4 {
  margin: 0 0 5px;
  font-size: 14px;
}

.legend-item {
  margin-bottom: 8px;
}

.legend-color {
  display: inline-block;
  width: 16px;
  height: 12px;
  margin-right: 6px;
  border: 1px solid #888;
  vertical-align: middle;
}
/* Login Modal Styling */
#loginBtn {
  position: absolute;
  top: 10px;
  right: 14px;
  padding: 8px 12px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  z-index: 1000;
  cursor: pointer;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2000;
  left: 0; top: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.4);
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 6px;
  width: 280px;
}

.close {
  float: right;
  font-size: 18px;
  cursor: pointer;
}

.error-message {
  color: red;
  margin-top: 8px;
  font-size: 14px;
}
/* Welcome Banner */
#welcomeBanner {
  position: absolute;
  top: 10px;
  left: 14px;
  padding: 8px 16px;
  background-color: #e0f7fa;
  color: #006064;
  border-radius: 6px;
  font-weight: bold;
  z-index: 1000;
}

/* Logout Button */
#logoutBtn {
  position: absolute;
  top: 10px;
  right: 100px;
  padding: 8px 12px;
  background-color: #b71c1c;
  color: white;
  border: none;
  border-radius: 4px;
  z-index: 1000;
  cursor: pointer;
}

