/* Contact / Appointment Page Styles */
.contact-section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  padding: 40px 20px;
}

.form-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  max-width: 500px;
  width: 100%;
  animation: fadeIn 0.8s ease-in-out;
}

.form-container h2 {
  margin-bottom: 10px;
  color: #1b263b;
}

.form-container p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #555;
}

form label {
  display: block;
  margin-top: 15px;
  font-weight: 600;
  color: #333;
}

form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
}

form input:focus, form select:focus, form textarea:focus {
  border-color: #415a77;
  outline: none;
  box-shadow: 0 0 5px rgba(65,90,119,0.5);
}

button[type="submit"] {
  margin-top: 20px;
  padding: 12px;
  background: #415a77;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

button[type="submit"]:hover {
  background: #ffcc70;
  color: #1b263b;
}

/* Autocomplete Dropdown Styles */
#suggestions {
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  width: calc(100% - 2px);
  margin-top: 4px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

#suggestions li {
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.2s;
  color: #333;
}

#suggestions li:hover {
  background-color: #f0f7ff;
}

/* Scrollbar styling */
#suggestions::-webkit-scrollbar {
  width: 6px;
}
#suggestions::-webkit-scrollbar-thumb {
  background-color: #b0c4de;
  border-radius: 3px;
}

/* Vet notice */
.vet-notice {
  margin-top: 15px;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: block; /* always block now */
  min-height: 24px; /* ensures space even when empty */
}

.vet-notice.success {
  background: #e6ffed;
  border: 1px solid #34a853;
  color: #1b5e20;
}

.vet-notice.error {
  background: #ffe6e6;
  border: 1px solid #d93025;
  color: #b71c1c;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
