body {
  font-family: "Roboto", sans-serif;
  background-color: #f1f3f4;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

.tabs {
  display: flex;
  justify-content: space-around;
  background-color: #1976d2;
  border-radius: 8px;
  margin-bottom: 20px;
}

.tabs button {
  flex: 1;
  padding: 15px;
  background-color: #1976d2;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tabs button.active {
  background-color: white;
  color: #1976d2;
}

.tab-content {
  display: none;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: block;
}

.form-group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-group-half {
  flex: 1 1 48%;
  margin-right: 4%;
  position: relative; /* Ensure relative positioning to keep dropdown within bounds */
}

.form-group-half:last-child {
  margin-right: 0;
}

.form-group label {
  font-size: 1rem;
  margin-bottom: 8px;
  display: block;
}

.form-group input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  border-color: #1976d2;
  outline: none;
}

.submit-btn {
  display: flex;
  justify-content: flex-end;
}

.submit-btn button {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn button:hover {
  background-color: #145a9c;
}

.suggestions-dropdown {
  position: absolute;
  background-color: white;
  max-height: 220px;
  overflow-y: auto;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  margin-top: 5px; /* Adds space between input and suggestions */
  transition: max-height 0.3s ease; /* Smooth dropdown */
}

.suggestion-item {
  padding: 12px 15px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background-color: #f5f5f5;
  color: #1976d2;
}

.no-suggestions {
  padding: 10px;
  color: #888;
  text-align: center;
  font-size: 0.9rem;
}

.form-group-half {
  position: relative;
  margin-top: 10px;
}

.suggestions-dropdown::-webkit-scrollbar {
  width: 6px;
}

.suggestions-dropdown::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

.suggestions-dropdown::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
