/* styles.css — Sandy Palette */

html, body {
  font-family: ArialTravelername, sans-serif;
  margin: 2px;
  margin-top: 0;
  margin: 0;
  background-color: #fdf6e3; /* light sand */
  color: #5c4b3b; /* warm brown */
  height: 100%;
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 2.5em;
  color: #333;
  text-align: center;
  margin-top: 10px;
    margin-bottom: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

table { 
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  background-color: #fffaf0; /* ivory */
}
/* ========================================
   7. Tables
======================================== */
table.custom-font {
    font-size: 16px;
    font-family: Arial, sans-serif;
}
table.custom-font {
  font-size: 16px;
  font-family: Arial, sans-serif;
}

th {
  border: 1px solid #d2b48c; /* tan */
  padding: 4px;
  text-align: left;
}
td {
  font-size: 14px;
  border: 1px solid #d2b48c; /* tan */
  padding: 4px;
  text-align: left;
}

th {
  background-color: #f5deb3; /* wheat */
}

/* ========================================
   8. Form
======================================== */
form.inline {
  display: inline;
}

form {
  max-width: 400px;
  margin: auto;
  background-color: #fff8dc; /* cornsilk */
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(210, 180, 140, 0.2); /* soft tan shadow */
}

label {
  display: block;
  margin-top: 10px;
  color: #8b6f47; /* muted brown */
}

input {
  display: block;
  margin-bottom: 5px;
  padding: 8px;
  width: 100%;
  border: 1px solid #d2b48c;
  background-color: #fffaf0;
  border-radius: 4px;
}

button {
  margin-top: 5px;
  padding: 10px 16px;
  background-color: #deb887; /* burlywood */
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

button:hover {
  background-color: #c9a26d; /* darker burlywood */
  transform: translateY(-1px);
}

button:active {
  background-color: #b88a5a;
  transform: translateY(0);
}

button:focus {
  outline: 2px solid #a67c52;
  outline-offset: 2px;
}



a {
  text-decoration: none;
  color: #b8860b; /* dark goldenrod */
}

textarea {
  width: 100%;
  height: 150px;
  padding: 8px;
  font-size: 16px;
  border: 2px solid #d2b48c;
  border-radius: 5px;
  resize: vertical;
  background-color: #fffaf0;
  color: #5c4b3b;
}

select {
  display: block;
  margin-bottom: 5px;
  padding: 8px;
  width: 100%;
  border: 1px solid #d2b48c;
  background-color: #fff8dc;
  border-radius: 4px;
}



.checkbox-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  color: #5c4b3b;
  margin-top: 0.25em; /* Reduce top space */
}

.error {
  color: #b22222; /* firebrick */
  font-size: 0.9em;
  margin-bottom: 10px;
}
.success {
  color: #228b22; /* forest green */
  margin-bottom: 15px;
}

.message {
  margin-top: 10px;
  color: #2e8b57; /* sea green */
}

.nowrap {
  white-space: nowrap;
}
.top-align {
    vertical-align: top;
  }
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: sans-serif;
    line-height: 1.6;
}
.password-container {
  position: relative;
  display: inline-block;
}

.eye-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
}


/*login code*/

.login-trigger {
  background-color: #d8b4dd;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
  border: 2px solid #d8b4dd;
}

.modal-content h2 {
  margin-bottom: 20px;
  color: #a86ba8;
  font-family: 'Cinzel', serif;
}

.modal-content input {
  width: 90%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.modal-content button {
  background-color: #a86ba8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.close {
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #a86ba8;
  cursor: pointer;
}




/* top menu */
.top-nav {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  top: 0;
}

.top-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  background-color: #fdf6f0;
  margin: 0;
}

.top-nav li {
  text-align: center;
}

.top-nav a, .login-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #5c3a6b;
  font-weight: bold;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.top-nav i {
  font-size: 24px;
  margin-bottom: 6px;
  color: #a86ba8;
  transition: transform 0.3s ease;
}

.top-nav a:hover i,
.login-trigger:hover i {
  transform: scale(1.2);
  color: #d8b4dd;
}

.top-nav a:hover span,
.login-trigger:hover span {
  color: #a86ba8;
}
.top-nav a:hover,
.login-trigger:hover {
  text-shadow: 0 0 4px #d8b4dd;
}
/* Next menu */
.next-nav {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  top: 0;
}

.next-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 8px;
  background-color: #fdf6f0;
  margin: 0;
}

.next-nav li {
  text-align: center;
}

.next-nav a, .login-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #5c3a6b;
  font-weight: bold;
  font-size: 11px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.next-nav i {
  font-size: 17px;
  margin-bottom: 4px;
  color: #a86ba8;
  transition: transform 0.3s ease;
}

.next-nav a:hover i,
.login-trigger:hover i {
  transform: scale(1.2);
  color: #d8b4dd;
}

.next-nav a:hover span,
.login-trigger:hover span {
  color: #a86ba8;
}
.next-nav a:hover,
.login-trigger:hover {
  text-shadow: 0 0 4px #d8b4dd;
}

.login-trigger {
  padding: 6px 12px;
  border-radius: 6px;
  background-color: #d8b4dd;
  color: #fff;
}


/* cellphone frienly  */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
    text-align: center;
    padding: 0 10px;
  }
  h2 {
    font-size: 1.25rem;
    text-align: center;
    padding: 0 10px;
  }

  h3 {
    font-size: 1rem;
    text-align: center;
    padding: 0 10px;
  }
  .top-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 7px;
    padding: 5px;
  }

  .top-nav li {
    width: 80px;
    text-align: center;
  }

  .top-nav a, .login-trigger {
    font-size: 11px;
  }

  .top-nav i {
    font-size: 20px;
    margin-bottom: 4px;
  }

  /*   */

 .next-nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 3px;
    padding: 3px;
  }

  .next-nav li {
    width: 40px;
    text-align: center;
  }

  .next-nav a, .login-trigger {
    font-size: 9px;
  }

  .next-nav i {
    font-size: 15px;
    margin-bottom: 2px;
  }


  /*   */

  .modal-content {
    width: 90%;
    margin-top: 30%;
  }

  .login-trigger {
    width: 100%;
    margin: 10px 0;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .profile-grid .label {
    text-align: left;
    padding-right: 0;
  }

}

/* ========================================
   8. Components & Utilities
======================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  font-size: 14px;
}
#cookie-banner a {
  color: #ffd700;
  text-decoration: underline;
}
#cookie-banner button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: #deb887; /* burlywood */
  color: #fff;
  border: none;
  cursor: pointer;
}

/* ========================================
   9. Password reset Box
======================================== */ 
.password-container {
  position: relative;
}

.eye-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #a86ba8;
}

.message {
  font-size: 14px;
  margin-bottom: 10px;
  font-family: 'Quicksand', sans-serif;
}

main {
  flex: 1; /* fills remaining space */
}

header {
  background-color: #fdf6e3; /* light sandy tone */
  color: #5c4b3b;            /* warm brown text */
  padding: 20px;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  border-bottom: 2px solid #d2b48c; /* tan accent */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

footer {
  background-color: #fdf6e3; /* light sandy tone */
  color: #5c4b3b;            /* warm brown text */
  padding: 20px;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  border-top: 2px solid #d2b48c; /* tan accent */
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
  font-size: 14px;
}
footer a {
  color: #5c4b3b; /* warm brown */
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #a86ba8; /* accent purple */
  text-decoration: underline;
}
#registration {
  display: flex;
  flex-wrap: wrap;
  gap: 8px; /* reduced gap between label blocks */
}

#registration label {
  display: flex;
  align-items: center;
  gap: 3px; /* reduced gap between label text and selects */
  font-family: 'Quicksand', sans-serif;
  color: #5c4b3b;
  font-weight: bold;
  font-size: 12px;
  margin-bottom: 4px;
}

#registration select {
  padding: 6px 8px; /* tighter padding */
  border: 1px solid #d2b48c;
  background-color: #fdf6e3;
  color: #5c4b3b;
  font-family: 'Quicksand', sans-serif;
  border-radius: 5px;
  font-size: 12px;
  margin-right: 2px; /* minimal spacing between selects */
}
#registration input {
  padding: 6px 8px;
  border: 1px solid #d2b48c;
  background-color: #fdf6e3;
  color: #5c4b3b;
  font-family: 'Quicksand', sans-serif;
  border-radius: 5px;
  font-size: 12px;
  
}

#registration select[name="year"] {
  width: 65px;
}
#registration select[name="month"] {
  width: 55px;
}
#registration select[name="day"] {
  width: 50px;
}
#registration select[name="hour"],
#registration select[name="minute"] {
  width: 55px;
}

#registration button {
  padding: 6px 10px;
  background-color: #deb887; /* burlywood */
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 6px;
}

#registration button:hover {
   background-color: #c9a26d; /* darker burlywood */
  transform: translateY(-1px);
}


.profile-wrapper {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Quicksand', sans-serif;
  color: #333;
}
/*   */


.intro-text {
  font-family: 'Quicksand', sans-serif;
  text-align: left;
  padding: 10px;
  color: #5c3a6b;
  margin-top: 0.25em; /* Reduce top space */
  width: 500px;
  margin: 0 auto;

}

.intro-text h2 {
  margin-top: 0;
  color: #5c3a6b;
}

.profile-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.profile-card h3 {
  margin-top: 0;
  color: #444;
}

.profile-card ul {
  list-style: none;
  padding: 0;
}

.profile-card li {
  margin: 10px 0;
  line-height: 1.5;
}

.edit-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #deb887; /* burlywood */
  color: #fff;
  border: none;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.edit-button:hover {
  background-color: #c9a26d; /* darker burlywood */
  transform: translateY(-1px);
}

.error-box {
  max-width: 600px;
  margin: 30px auto;
  padding: 10px;
  background-color: #ffe0e0;
  border-left: 5px solid #cc0000;
  font-family: 'Quicksand', sans-serif;
  color: #900;
  border-radius: 6px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px 10px;
  margin-top: 1x;
  font-family: 'Quicksand', sans-serif;
}

.profile-grid .label {
  font-weight: bold;
  color: #5c3a6b;
  text-align: left;
  padding-right: 10px;
}

.profile-grid div {
  padding: 6px 0;
  font-size: 13px;
}

/* MAP */

.map-popup {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid #5c3a6b;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  width: 95%;
  max-width: 800px;
}

.map-content {
  position: relative;
  padding: 10px;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
  color: #5c3a6b;
}

.map-link {
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
}


input[type="radio"] {
  vertical-align: middle;
  margin-right: 6px;
}
label {
  font-size: 16px;
  line-height: 1.5;
}
