.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 5px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-bottom: 15px;
  text-align: center;
}

.modal-content form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.modal-content form input,
.modal-content form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* Ustawienie stylu czcionki tak, aby odpowiadał stylowi nagłówka "Treść wiadomości" */
  font-family: inherit;
  font-size: 1em;
  font-weight: normal;
  color: #333;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.modal-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#offer-cancel {
  background-color: #6c757d;
  color: #fff;
}

/* Zaktualizowany styl dla przycisku wysyłki: taki zielony jak "Dalej", ale nieco bladszy i bez efektu hover */
#offer-submit {
  background-color: #B4DC66; /* Lekko bladzący zielony, wzorowany na #9DCC45 */
  color: #fff;
  cursor: default; /* Zmienione na domyślny kursor */
  transition: none;
}

#offer-submit:hover {
  background-color: #B4DC66; /* Brak zmiany przy hoverze */
  cursor: default; /* Utrzymuje domyślny kursor */
}
