body {
  background-color: #f0f2f5;
  font-family: "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.login-box {
  background-color: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  text-align: center;
}

h2 {
  margin-bottom: 25px;
  color: #4a90e2;
}

.login-input {
  width: 80%;
  padding: 12px 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.login-btn {
  width: 40%;
  padding: 12px;
  background-color: #4a90e2;
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #3a78c2;
}

.error {
  background-color: #ffe0e0;
  color: #c0392b;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.autocomplete-wrapper {
  position: relative;
}

#autocompleteResults {
  position: absolute;
  top: 100%;
  left: 10%;
  width: 80%;
  max-height: 150px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
  text-align: left;
}

#autocompleteResults .result-item {
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
}

#autocompleteResults .result-item:hover {
  background: #f0f2f5;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  width: 250px;
}

.modal-content h3 {
  margin-bottom: 10px;
  color: #4a90e2;
}

.modal-content input {
  
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.modal-content button {
  padding: 10px 15px;
  background-color: #4a90e2;
  border: none;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #3a78c2;
}

.success {
  background-color: #e0ffe0;
  color: #27ae60;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}
