@font-face {
  font-family: 'Ivy Presto Headline';
  src: url('https://storage.googleapis.com/nexus-cloud-storage/fonts/ivy-presto-headline-light.otf') format('opentype');
}

@font-face {
  font-family: 'SF Pro';
  src: url('https://storage.googleapis.com/nexus-cloud-storage/fonts/sf-pro.ttf') format('truetype');
}

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: 'Ivy Presto Headline', sans-serif;
  font-size: 16px;
  margin: 50px;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: clamp(300px, 30%, 33%);
}

h1 {
  margin: 0;
  padding: 20px 0px 5px 0px;
  font-weight: 600;
}

.form-header {
  font-size: clamp(10px, 14px, 16px);
  text-align: left;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #657F60;
  width: 100%;
}

.form-body {
  width: 100%;
}

.form-group {
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 500;
  font-size: 1.25rem;
}

.form-group label.required::after {
  content: ' *';
  color: red;
  margin-left: 0.2rem;
}

.form-group input {
  width: 100%;
  padding: 1rem 0.75rem;
  box-sizing: border-box;
  border: 1px solid lightgray;
  border-radius: 5px;
  font-family: 'SF Pro', sans-serif;
  transition: 50ms ease-in-out;
}

.form-group input::placeholder {
  font-family: 'SF Pro', sans-serif;
}

.form-group input:focus {
  outline: none;
  border: 1px solid #657F60;
}

.review-header {
  font-family: 'SF Pro', sans-serif;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 0.5rem;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  color: #121212;
}

.flex-col {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
}

.flex-col-header {
  font-size: 0.75rem;
  font-weight: 400;
  text-decoration: underline;
  padding-bottom: 0.25rem;
}

.flex-col-body {
  font-size: 1.25rem;
  font-weight: 500;
}

#calendar:hover {
  cursor: pointer;
}

.air-datepicker {
  font-family: 'SF Pro', sans-serif !important;
  width: 100% !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

.air-datepicker-body--day-name {
  color: #657F60 !important;
  font-weight: bold !important;
}

.-selected- {
  background-color: #657F60 !important;
  color: white !important;
}

.time-slots {
  display: flex;
  gap: 0.5rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.time-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  border-radius: 5px;
  border: 2px solid #657F60;
  color: #657F60;
  cursor: pointer;
  transition: 200ms ease-in-out all;
  font-family: 'SF Pro', sans-serif;
  font-weight: 700;
  background-color:rgba(0, 0, 0, 0);
}

.time-slot.selected, .time-slot:hover {
  background-color: #657F60;
  color: white;
}

#logo {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 1rem;
  width: auto;
  padding: 1rem;
}

.subtitle {
  font-family: 'SF Pro', sans-serif;
  font-size: 0.75rem;
  color: #000000;
  margin-top: 0.5rem;
  margin: 0;
  padding: 0;
  margin-bottom: 0.3rem;
  font-weight: 400;
}

a {
  color: #657F60;
  text-decoration: underline;
  font-weight: bold;
}

.submit-button {
  background-color: #657F60;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-family: 'SF Pro', sans-serif;
  font-size: 1.25rem;
  cursor: pointer;
  transition: 100ms ease-in-out all;
  width: 100%;
  font-weight: bold;
}

.submit-button:hover {
  cursor: pointer;
  scale: 1.01;
}

/* Address Suggestions */
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background-color: #fff;
  max-height: 200px;
  overflow-y: auto;
  z-index: 2;
}

.suggestions:empty {
  border: none;
}

.suggestions div {
  padding: 8px;
  cursor: pointer;
}

.suggestions div:hover {
  background-color: #f0f0f0;
}

/* LOADING STYLES */
.loader-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loader {
  border: 12px solid #f3f3f3;
  border-top: 12px solid #657F60;
  border-radius: 50%;
  width: 10rem;
  height: 10rem;
  animation: spin 1s linear infinite;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #657F60;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.active {
  display: flex;
}

.carousel-container {
  position: relative;
  aspect-ratio: 1 / 1; 
  width: 100%;
  height: 100%;
}

.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.15s ease-in-out 0s, filter 0.15s ease-in-out;
  filter: blur(0);
}

.carousel-image {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
  border-radius: 5px;
}

/* Navigation buttons */
#prev,
#next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 50px;
  background-color: rgba(0, 0, 0, 0);
  color: whitesmoke;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 2;
  transition: 0.2s ease-in-out;
}

#prev:hover,
#next:hover {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.5);
}

#prev {
  left: 0; 
  border-radius: 5px 0 0 5px;
}

#next {
  right: 0; 
  border-radius: 0 5px 5px 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background-color: #333;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  font-family: 'SF Pro', sans-serif;
}

.popup-content {
  background-color: white;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  margin: 2rem;
  padding: 0.5rem 3rem 0.5rem 0.5rem;
}

.popup-header {
  font-size: 1.5rem;
  font-weight: 500;
  color: #121212;
  padding-bottom: 0.5rem;
}

.popup-body {
  font-size: 1rem;
  font-weight: 300;
  color: gray;
}

input.error {
  border: 1px solid #e40023;
}

input.success {
  border: 1px solid #657F60;
}

.faqs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-header {
  font-size: 1.5rem;
  font-weight: 500;
  color: #121212;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.faq {
  font-family: 'SF Pro', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: whitesmoke;
  padding: 1rem;
  border-radius: 5px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-answer {
  font-size: 0.9rem;
  font-weight: 500;
  color: gray;
  line-height: 1.5;
}