/* assets/css/style.css */

html,
button {
  font-family: "Baskerville";
}

:root {
  --purple: #3f2758;
}

body {
  margin: 0;
  position:relative;
  height:100%;
  width:100%;
}

#map {
    position:fixed;
  width: 100%;
  /* Subtract the navbar height (e.g., 60px) */
  height: 100%;
  margin: 48px 0 0;
  padding: 0;
}

/* Navbar styling */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;

  display: flex;
  justify-content: space-between;


  background-color: #fff;
  padding: 10px 16px;
  border-top: 1px solid #ccc;
  box-shadow: 0 2px 16px var(--purple);

  color: var(--purple);

  z-index: 1000;
}

#navbar h1 {
  margin: 0 1rem;
  font-weight: 200;
}

button {
  padding: 6px 12px;
  color: var(--purple);
  background-color: #ffffffcc;
  border: none; 
 box-shadow: 8px 0 0 -5px white, 
-8px 0 0 -5px white, 
0 0 0 1px currentColor,
8px 0 0 -4px currentColor,
-8px 0 0 -4px currentColor,
0 0 0 2px white,
8px 0 0 -3px white,
-8px 0 0 -3px white;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: var(--purple);
  color: white;
   box-shadow: 8px 0 0 -5px var(--purple), 
-8px 0 0 -5px var(--purple), 
0 0 0 1px white,
8px 0 0 -4px white,
-8px 0 0 -4px white,
0 0 0 2px var(--purple),
8px 0 0 -3px var(--purple),
-8px 0 0 -3px var(--purple);
}

/* Modal base styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent overlay */
  z-index: 1000;
  overflow-y: auto;
}

.modal[aria-hidden="false"] {
  display: block;
  /* Show modal when aria-hidden is false */
}

.modal-dialog {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.modal-close:hover {
}

/* Form styles */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}


/* User Menu styles */
#user-menu-list {
  list-style: none;
  padding: 0;
}

#user-menu-list li {
  margin-bottom: 10px;
}

#user-menu-list a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

#user-menu-list a:hover {
  color: #3f83f8;
}

/* Styles for form buttons */
