.form-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  position: relative;
  padding: 2rem;
  padding-top: 3.5rem;
}

.form-title {
  position: absolute;
  top: -1.0rem;
  left: 1rem;
  background: var(--color-background);
  padding: 0 0.5rem;
  font-weight: bold;
}

.form-floating-group {
  display: flex;
  align-items: center;
}

.form-floating-group .form-floating {
  flex: 1;
  margin-right: 10px;
}

.remove-btn {
  height: 58px; /* Align with input field height */
}

.fade-out {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-out.hide {
  opacity: 0;
  transform: scale(0.9);
}

.business-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.business-card .person-form__title {
  min-height: 24px;
}

form .person-form__title {
  background-color: var(--bs-card-cap-bg);
  border-radius: 5px;
  text-align: center;
}

.person-form__title input {
  width: 100%;
}

.contact-info {
  margin-top: 15px;
}

.contact-info h5 {
  margin-bottom: 10px;
}

.contact-item {
  margin-bottom: 10px;
}

.custom-modal {
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.custom-modal-dialog {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
}

.modal-footer {
  gap: 8px;
}