.card-header {
  border-top: 1px solid black !important;
  border-bottom: 1px solid black !important;
  color: inherit !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: 0px !important;
}

/* Prevent hover color change */
.card-header:hover {
  background-color: #e9ecef !important;
  border-bottom: 1px solid #ccc !important;
  color: inherit !important;
}

.card-container .card {
  min-width: 900px;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
}

/* Header with pass name and remove button */
.attendee-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 16px;
}

/* Remove button styling */
.remove-attendee-btn {
  background: none;
  border: none;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.remove-attendee-btn:hover {
  color: rgb(255, 70, 70);
}

/* Form body container */
.attendee-form-body {
  display: flex;
  flex-direction: column;
}

/* Form groups for spacing */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

/* Labels */
.form-label {
  margin-bottom: 6px;
  font-weight: 500;
  margin-left: 0.25rem;
  font-family: 'Roboto', sans-serif !important;
}

/* Inputs */
.form-control {
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 48px;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 300;
  font-size: 18px !important;
  color: rgb(57, 54, 79);
  letter-spacing: 0.25px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #7b68ee;
  box-shadow: 0 0 6px rgba(123, 104, 238, 0.5);
}

/* Container for each attendee form */
.attendee-form-wrapper {
  padding: 20px;
  font-family: 'Roboto', sans-serif;
  color: rgb(57, 54, 79);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.25px;
  border-bottom: 1px solid rgba(204, 204, 204) !important;
}

/* --- Responsive Mobile Adjustments --- */
@media (max-width: 767px) {
  .card-container .card {
    min-width: 100% !important;
    padding: 0 1rem;
    margin: 0 0 1rem 0;
  }

  .attendee-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-items: flex-start;
    font-size: 18px;
  }

  .remove-attendee-btn {
    font-size: 28px;
    align-self: flex-end;
  }

  .form-control {
    font-size: 16px !important;
    height: 42px;
  }

  .attendee-form-wrapper {
    padding: 16px;
    font-size: 16px;
  }

  .form-label {
    font-size: 15px;
  }
}