* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-primary: rgba(253, 243, 206, 1);
  --color-text-primary: rgba(30, 37, 41, 1);
  --color-secondary: rgba(123, 186, 181, 1);
  --color-tertiary: rgba(213, 107, 53, 1);
  --color-supplement: rgba(244, 204, 108, 1);
}

a, p, button, li, label, #feedback, span {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1, h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-style: normal;
  background: linear-gradient(to bottom left, #6DBDB6, #F4CC6C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

body {
  color: var(--color-text-primary);
  background-color: #FAFCFC;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}
a:visited {
  color: inherit;
}

@media only screen and (max-width: 734px) {
  .small-hide {
    display: none;
  }
}
@media only screen and (max-width: 1068px) {
  .medium-hide {
    display: none;
  }
}
input {
  border: none;
  padding: 0.25rem;
}

.container {
  width: 100vw;
  margin: 0;
  position: relative;
}

@media only screen and (min-width: 735px) {
  .container {
    max-width: 100vw;
  }
}
@media only screen and (min-width: 1024px) {
  .container {
    width: 100vw;
    padding: 0 0;
  }
}
button {
  border: 3px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  color: black !important;
  cursor: pointer;
  transition-duration: 0.3s;
  margin-top: 0.5rem;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
  border-image-slice: 1;
}

button:hover {
  background: #0A6E66;
  color: white !important;
}

button.active {
  background:
    linear-gradient(#0A6E66, #0A6E66) padding-box,
    linear-gradient(#0A6E66, #0A6E66) border-box;
  color: white !important;
}

.survey-close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  border-radius:50%;
  font-size: 1.8rem;
  padding: 0;
  margin: 0;
  height: 2rem;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  transition-duration: 0.3s;
  z-index:100000;
  padding-block:0;
  padding-inline:0;
}

.survey-close-btn:active {
  visibility: hidden;
}

.btn-link {
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 3px solid transparent;
  background: 
    linear-gradient(white, white) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
  color: #0A6E66 !important;
  cursor: pointer;
  transition-duration: 0.3s;
  font-weight: 800;
  margin: 0.5rem;
}

.btn-link:hover {
  background:
    linear-gradient(#0A6E66, #0A6E66) padding-box,
    linear-gradient(#0A6E66, #0A6E66) border-box;
  color: white !important;
}

button:disabled {
  cursor: not-allowed;
  background-color: rgb(167, 179, 184);
}

label {
  margin-block: auto;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.input-group {
  accent-color: #0A6E66;
}

#view-markers {
  position: absolute;
  bottom: 3%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
  opacity: 1;
}

.legend {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 200px;
  height: 1rem;
}

.legend.label {
  position: absolute;
  top: 1px;
  left: 18px;
  width: 225px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 10px;
  z-index: 10001;
}

.required {
  color: red;
  font-weight: bold;
}

.legend.track {
  left: 16px;
  width: 225px;
  height: 1rem;
  background: linear-gradient(to right, 
    #B6D5FF 0%,     
    #d2e5ff 25%,    
    #f0f0f0 50%,    
    #ffc6c6 75%,    
    #FFA9A9 100%    
  );
  border-radius: 3px;
  border:2px solid #0A6E66;
}

.input-category {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 16px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


#indoor-outdoor {
  display: flex;
  justify-content: space-between;
  width: 80%;
}

#gender-buttons {
  display: flex;
  justify-content: space-between;
  width: 95%;
}

.radio-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0.5rem;
}

.date-time {
  background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: max-content;
  height: 2rem;
}

#map-3 {
  display: flex;
  width: 100%;
}

#map-3a, #map-3b {
  outline: white;
  width:100%;
}

.flatpickr-calendar {
  border-radius: 20px;
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}

.flatpickr-months,
.numInput,
.flatpickr-input {
  font-family: "Raleway", sans-serif;
}

.flatpickr-monthDropdown-month:hover {
  color: #6DBDB6;
}

.flatpickr-day.today {
  background-color: #e3f2fd;
  border: 1px solid #2196f3;
}

.flatpickr-day.selected {
  background-color: #5A7270 !important;
  color: white !important;
}

#map-4, #sounds-3-6, #thermal-3-6, #bio1-1, #bio-3-6, #bio-7-7, #bio-9 {
  border: 1px solid transparent;
    background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
  border-radius: 0.5rem;
  height: 1.5rem;
  width: 70%;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
}

#map-4:focus,
#sounds-4:focus,
#sounds-3-6:focus,
#thermal-3-6:focus,
#neighbourhood-4:focus,
#bio1-1:focus,
#bio-3-6:focus,
#bio-7-7:focus,
#bio-9:focus {
    border: 1px solid transparent;
    outline: white;
    background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}

#sounds-4, #neighbourhood-4, #bio-9 {
  border: 1px solid transparent;
  background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
  border-radius: 0.5rem;
  width: 70%;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  height:3rem;
}

.slider-container {
  width: 90%;
  max-width: 500px;
  margin: 0.1rem auto;
  text-align: center;
}

.slider {
  position: relative;
  height: 20px;
  border-radius: 10px;
  margin: 0px 0;
}

.track {
  position: absolute;
  top: 0;
  left: -2px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    #B6D5FF 0%,     
    #d2e5ff 25%,    
    #f0f0f0 50%,    
    #ffc6c6 75%,    
    #FFA9A9 100%    
  );
  border-radius: 10px;
}

#neighbourhood-container-1, #neighbourhood-container-2 {
  width: 99%;
}

.thumb {
  position: absolute;
  top: -3px;
  left: 3px;
  width: 8px;
  height: 23px;
  background: white;
  border: 2px solid #a2a2a2;
  border-radius: 0%;
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
  z-index: 2;
  transition: left 0.3s ease
}

.tick {
  position: absolute;
  top: 0;
  background: #f0f0f0;
  opacity: 0.5;
  width: 6px;
  height: 100%; 
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 500px;
  margin: 0.3rem auto;
  font-size: 11px;
  color: #555;
}

.label {
  flex: 1;
  text-align: center;
  /* white-space: nowrap; */
}


.scale {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
}

.anchor {
  font-size: 11px;
  color:#555;
}

.label.very-cold { color: #007bff; }
.label.cold      { color: #66b2ff; }
.label.neutral   { color: #555; }
.label.hot       { color: #ff9999; }
.label.very-hot  { color: #cc0000; }

.leaflet-popup-content {
  min-width: 250px;
}

.leaflet-popup {
    border: 2px solid transparent;
    border-radius: 12px;
    background: 
    linear-gradient(#EBF2F1, #EBF2F1) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}

.label.qn {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  justify-content: space-between;
  font-family: "Raleway", sans-serif;
  overflow: hidden;
  white-space: normal; 
  margin-bottom: 0.3rem;
  line-height: 1.2;
  font-size: 0.8rem;
  font-weight: 400;
}

.label.factors {
  display: flex;
  flex-wrap: wrap;
}

.label.button {
  border: 0px solid transparent;
  padding: 0.5rem;
  border-radius: 10px;
  color: black;
  transition-duration: 0.3s;
  margin: 0.5rem 0.2rem;
  display: block;
  max-width: fit-content;
  overflow: visible;
  white-space: normal;
  font-size: 0.75rem;
  height: fit-content;
  font-weight: 800;
  background: 
    linear-gradient(#EBF2F1, #EBF2F1) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}

.label.button.Very.Cold, .label.button.Very.Quiet, .label.button.Pleasant, .label.button.n1, .label.button.n2, .label.button.Agree, .label.button.five-1 { background: #ABCDFD; }
.label.button.Cold, .label.button.Quiet, .label.button.n3, .label.button.n4, .label.button.five-2       { background: #C4D4EC; }
.label.button.Neutral, .label.button.n5, .label.button.n6, .label.button.five-3 { background: #DBDADA; }
.label.button.Hot, .label.button.Loud, .label.button.n7, .label.button.n8, .label.button.five-4       { background: #ECC4C4; }
.label.button.Very.Hot, .label.button.Very.loud, .label.button.Unpleasant, .label.button.n10, .label.button.n9, .label.button.Disagree, .label.button.five-5 { background: #FEAAAA; }

.icon {
  width:1rem;
  margin-right: 0.3rem;
}

.option-btn {
  border: 2px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  color: black;
  cursor: pointer;
  transition-duration: 0.3s;
  margin-bottom: 0.5rem;
  display: inline-flex;
  font-size: 0.8rem;
  background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}

.option-btn:hover {
  background: #0A6E66;
  color: white !important;
}

.option-btn:has(input[type="checkbox"]:checked) {
  background: #0A6E66;
  color: white !important;
}

.option-btn:has(input[type="checkbox"]:checked) .icon {
  filter: brightness(1.2) invert(1);
}

.option-btn input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-btn input[type="checkbox"]:checked + .icon {
  filter: brightness(0.8);
}


nav {
  background-color: var(--color-secondary);
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav a {
  padding-inline-start: 1rem;
  padding-inline-end: 1rem;
}

#nav-logo {
  width: 50px;
}

nav ul {
  margin-inline-start: 1rem;
  display: flex;
  justify-content: space-between;

}
nav ul li {
  list-style-type: none;
}
nav ul li a {
  text-decoration: none;
  color: whitesmoke !important;
}

.sub-nav {
  display: flex;
  gap: 1rem;
}

.container.container-home {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 80vw;
  max-width: 90vw;
  max-height: calc(100dvh - 4rem);
  margin: auto;
}
.container.container-home a {
  color: white;
}

.container.container-about {
  max-width:80vw;
  margin: 2rem auto;
}

@media (min-width: 1024px) {
  #hero-logo {
    width: 70%;
  }

}

@media (max-width: 480px) {
  #hero-logo {
    width: 90%;
    margin-top: 3rem;
  }

}

.container.container-survey {
  z-index: 10000;
  position: absolute;
  top: 0;
  right: 0;
  max-width: 30vw;
  margin-right: 1rem;
  margin-top: 0.8rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background: 
    linear-gradient(#FAFCFC, #FAFCFC) padding-box,
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C) border-box;
}



.container-map {
  width: 100vw;  
}

#map.map-explore {
  height: calc(100dvh - 4rem);
  width: 100vw;
  overflow: hidden;
}

.label.very-cold { color: #007bff; }
.label.cold      { color: #66b2ff; }
.label.neutral   { color: #555; }
.label.hot       { color: #ff9999; }
.label.very-hot  { color: #cc0000; }

#view-markers {
  display: flex;
  flex-direction: column;

}


.email-style {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(0 0 99.9% 99.9%);
          clip-path: inset(0 0 99.9% 99.9%);
  overflow: hidden;
  height: 1px;
  width: 1px;
  padding: 0;
  border: 0;
}

#dash-con {
  display: none;
}

#error {
  display: none;
}

form {
  display: block;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  width: 100%;
}
form #gps {
  margin-top: 0.5rem;
}
form .question-group {
  margin-block: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
form .question-group .question-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

#survey-instructions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}
#survey-instructions #survey-instructions-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

#survey-button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  width: 6rem;
  height: 8.5rem;
  padding: 0;
  margin: 1rem;
  background-image: linear-gradient(to bottom left, #6DBDB6, #F4CC6C);
  border: none;
  border-radius: 0.8rem;
  transition-duration: 0.3s;
}

#survey-button:hover {
  width: 6.2rem;
  height: 8.7rem;
  box-shadow: 5px 5px 5px rgb(104, 104, 104);
}

#survey-button:hover #plus-text {
  font-size: 0.9rem;
}

#survey-button:hover #plus {
  width: 5.1rem;
  height: 5.1rem;
}

#plus {
  background-color: white;
  width: 5rem;
  height: 5rem;
  margin: 0.5rem;
  border-radius: 0.5rem;
  font-size: 6rem;
  color: #0A6E66;
  font-weight: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  transition-duration: 0.3s;
}

#plus-text {
  font-size: 0.8rem;
  color: white;
  font-weight: 700;
  transition-duration: 0.3s;
}

#popup-survey {
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#progress-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  margin: 20px auto;
  max-width: 600px;
  position: relative;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: 
    linear-gradient(to bottom left, #6DBDB6, #F4CC6C);
  transition: all 0.3s ease;
  cursor: default;
  margin: 0px 6px;
}

.dot.active {
  background-color: #4caf50;
  transform: scale(3);
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

#progress-dots::before {
  visibility: hidden;
  height:0px;
}


@media (min-width: 735px) {
  #survey-instructions #survey-instructions-copy {
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
  }
}
@media (min-width: 1024px) {
  #survey-instructions {
    max-width: 850px;
    margin: 0 auto;
  }
  #survey-instructions #survey-instructions-copy {
    gap: 3rem;
  }
}
#survey-container {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  max-height: 70dvh;
}

#smell-form {
  overflow-y: scroll;
}

#survey-container #map {
  width: 100%;
}
#survey-container #feedback {
  color: red;
}

#survey-controls {
  width: 90%;
  display: flex;
  justify-content: space-between;
  margin: 1rem;
}

@media (min-width: 1024px) {

}
@media only screen and (min-width: 1024px) {
  #survey-container {
    flex-direction: row;
    /* gap: 2rem; */
  }
  #survey-container #feedback {
    margin-bottom: 2rem;
  }
}
@media only screen and (min-width: 1024px) {
  #survey-container #map {
  }
  #survey-container #smell-form {
    position: relative;
  }
  #survey-container #smell-form #module-map {
    padding-bottom: 0.5rem;
  }
  #survey-container #smell-form #module-map #category-div {
    width: -moz-max-content;
    width: max-content;
    flex-direction: row;
    position: absolute;
    bottom: -55px;
    left: -56.1797752809vw;
  }
  /* #survey-container form.active {
    width: 40%;
  } */
}
@media only screen and (min-width: 1180px) {
  #survey-container #smell-form #module-map #category-div {
    left: -662px;
  }
}
.survey-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}


#about-desc-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.about-copy-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#about-nus {
  font-size: 0.7rem;
  gap:0.2rem;
  margin:0;
}
#about-desc-container .about-copy-container a {
  font-style: italic;
}

#about-team-container {
  margin-top: 3rem;
}
#about-team-container #about-team-image-wrapper {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}
#about-team-container #about-team-image-wrapper #about-team-image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
#about-team-container #about-team-image-wrapper #about-team-image-container .about-team-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#about-team-container #about-team-image-wrapper #about-team-image-container .about-team-tile img {
  border-radius: 100%;
  margin-bottom: 1rem;
  max-width: 150px;
}
#about-team-container #about-team-image-wrapper #about-team-image-container .about-team-tile p {
  margin-bottom: 0.5rem;
}
#about-team-container #about-team-image-wrapper #about-team-image-container .about-team-tile p, #about-team-container #about-team-image-wrapper #about-team-image-container .about-team-tile a {
  align-self: flex-start;
}

.social-links {
  margin: 20px 0;
  text-align: center;
}

.social-links h2 {
  text-align: justify;
  margin: 1rem 0;
}

.social-links a {
  text-decoration: none;
  margin: 0px 8px;
  transition: 0.3s;
}

.social-links a[href*="facebook"]   { color: #1877F2; }
.social-links a[href*="instagram"]  { color: #E1306C; }
.social-links a[href*="tiktok"]     { color: #000000; }

/* Hover effect (lighten color) */
.social-links a[href*="facebook"]:hover   { color: #7db6fc; }
.social-links a[href*="instagram"]:hover  { color: #e682a5; }
.social-links a[href*="tiktok"]:hover     { color: #838383; }

@media only screen and (min-width: 735px) {
  #about-desc-container {
    flex-direction: column;
  }
  /* #about-desc-container .about-copy-container {
    width: 65%;
  }
  #about-desc-container .about-copy-container:last-of-type {
    width: 35%;
  } */
  #about-team-container #about-team-image-wrapper {
    margin-top: 2rem;
  }
  #about-team-container #about-team-image-wrapper #about-team-image-container {
    width: 80%;
    flex-direction: row;
  }
}
@media only screen and (min-width: 1024px) {
  #about-team-container #about-team-image-wrapper #about-team-image-container {
    width: 75%;
  }
}
#module-email {
  text-align: center;
}

#embed {
  width: 80%;
  min-height: 550px;
}

@media only screen and (max-width: 1068px) {
  #embed {
    width: 100%;
    min-height: 600px;
  }
}
@media only screen and (max-width: 734px) {
  #embed {
    min-height: 700px;
  }
}
.container.container-login {
  display: flex;
  justify-content: center;
  flex-direction: row;
  height: 500px;
  align-items: center;
}

#login-form {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  align-items: start;
  gap: 1rem;
  padding: 1rem;
  border: solid 1px black;
  border-radius: 10px;
}

#username, #password {
  border: solid 1px black;
  border-radius: 10px;
  margin-left: 1rem;
}
#login-form label {
  min-width: 70px;
}
#login-form #login-btns {
  margin-top: 1rem;
  align-self: center;
}
/* #table-wrapper {
  display: none;
  margin-top: 2rem;
  overflow: scroll;
  max-height: 450px;
}
#table-wrapper table {
  margin-top: 2rem;
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}
#table-wrapper table .table-item-no {
  position: sticky;
  left: 0;
  background-color: var(--color-secondary);
  color: white;
  min-width: 30px;
  max-width: 70px;
}
#table-wrapper table .table-item-small {
  min-width: 80px;
}
#table-wrapper table .table-item-medium {
  min-width: 150px;
}
#table-wrapper table th {
  position: sticky;
  top: 0;
  background-color: var(--color-secondary);
  color: white;
}
#table-wrapper table td, #table-wrapper table th {
  min-width: 250px;
  border: 1px solid rgb(53, 53, 53);
  text-align: left;
  padding: 8px;
}
#table-wrapper table .btn-div {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  align-items: center;
}
#table-wrapper table .btn-div button {
  width: -moz-fit-content;
  width: fit-content;
} */

.table-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 1rem 0;
}

#results-table {
  width: 100%;
  min-width: 1200px; /* ensures table doesn't shrink too much */
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
}

#results-table th,
#results-table td {
  padding: 10px 12px;
  text-align: left;
  border: 1px solid #e0e0e0;
  white-space: nowrap; /* prevents text wrapping → keeps columns compact */
}

#results-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #333;
  position: sticky;
  top: 0;
  z-index: 10;
}

#results-table tr:nth-child(even) {
  background-color: #fcfcfc;
}

#results-table tr:hover {
  background-color: #f5f7ff;
}

/* Optional: Make row numbers stand out */
#results-table td:first-child,
#results-table th:first-child {
  text-align: center;
  font-weight: 600;
  background-color: #f8f9fa;
}

#module-end-btns {
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#module-end-btns a {
  width: -moz-fit-content;
  width: fit-content;
}

#module-end-btns p {
  font-size:13px; 
}

@media only screen and (min-width: 1024px) {
  #module-end-btns {
    justify-content: center;
  }
}
footer {
  display: none;
  margin-top: 4rem;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
footer ul li {
  list-style-type: none;
  font-size: 12px;
}


@media (min-width: 1024px) {
  .container.container-survey {
    min-width: 30vw;
    max-width: 30vw;
    max-height: 80dvh;
}

#survey-container {
  max-height: 60dvh;
}
}

@media (max-width: 1024px) {
  .container.container-survey {
    min-width: 30vw;
    max-width: 40vw;
    max-height: 80dvh;
}

#survey-container {
  max-height: 65dvh;
}
}

@media (max-width: 735px) {
  .container.container-survey {
    min-width: 40vw;
    max-width: 55vw;
    max-height: 70dvh;
  }

#survey-container {
  max-height: 55dvh;
}
}

@media only screen and (max-width: 480px) {
  .container.container-survey {
    max-width: 90vw;
    max-height: min-content;
    position: fixed;
    bottom:0;
    left: 50%;
    transform: translateX(-50%) translateY(20%);
}

#survey-container {
  max-height: 65dvh;
}
#calendar, #clock{
  visibility: hidden;
  width:0px;
}
}

/*# sourceMappingURL=styles.css.map */