/* components.css */
.input-container {
  position: relative;
  align-items: center;
  gap: 10px;
  margin: 15px auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#address {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s ease;
}

#address:focus {
  border-color: #5cb85c;
}

#address-suggestions {
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  display: none;
  position: absolute;
  background: white;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

#address-suggestions div {
  padding: 8px 10px;
  font-size: 14px;
  color: #333;
}

#address-suggestions div:hover {
  background-color: #eee;
}

#map {
  height: 450px;
  width: 100%;
  margin: 20px auto;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

/* Dog size row */
.dog-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dog-size-row input {
  flex: 1;
  margin-left: 10px;
}

/* Date/Time/Day Containers */
.date-container,
.days-container,
.time-container {
  display: flex;
  gap: 10px;
}

.date-container input,
.days-container select,
.time-container input {
  flex: 1;
}

/* Role Cards */
.role-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.role-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
}

.role-card:hover {
  transform: translateY(-10px);
}

.role-card img {
  height: 80px;
  margin-bottom: 20px;
}

.role-card h2 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.role-card p {
  color: #555;
  margin-bottom: 20px;
}

/* Thank You Section */
.thank-you-message {
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 600px;
  margin: 50px auto;
}

.thank-you-title {
  font-size: 2.5em;
  color: #2ecc71;
  margin-bottom: 20px;
  font-weight: 700;
}

.thank-you-tagline {
  font-size: 1.2em;
  color: #555;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.6;
}

.thank-you-tagline:hover {
  color: #1F5B89;
  transform: scale(1.05);
}

/* Section 7 */
#section7 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  padding: 50px;
}

/* Option Boxes */
#selectable-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.option-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
   padding: 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  width: 120px;
  height: 140px;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
  margin: 10px; /* optional spacing between boxes */
}

.option-box img {
  max-width: 60px;
  max-height: 60px;
  margin-bottom: 10px;
}

.option-box span {
  font-size: 16px;
  font-weight: bold;
}

.option-box:hover {
  transform: scale(1.05);
  border-color: #007BFF;
}

.option-box.selected {
  border-color: #007BFF;
  background-color: #E6F0FF;
}

/* Preview */
#previewContainer {
  margin-top: 20px;
  padding: 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#loading {
  margin-top: 20px;
}
