/**
 * Dodatkowe poprawki dla formularza
 */

/* Optymalizacja odstępów */
.masthead__form--wrapper {
  padding-top: 20px;
  padding-bottom: 25px;
  background-color: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.masthead__form--heading {
  margin-bottom: 15px;
}

.masthead__form--heading-title {
  margin-bottom: 8px;
}

/* Lepsze odstępy między polami */
.masthead__form--group {
  margin-bottom: 12px;
}

.masthead__form--row {
  display: flex;
  margin-bottom: 12px;
}

/* Styl dla ikon w polach formularza */
.input-icon-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e44ad;
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.input-with-icon {
  padding-left: 38px !important;
}

/* Nieco mniejsze etykiety */
.form__label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}

/* Ładniejszy przycisk */
button.button__purple {
  background: linear-gradient(135deg, #7B2CBF 0%, #540C97 100%);
  box-shadow: 0 4px 15px rgba(84, 12, 151, 0.3);
  border: none;
  font-weight: 600;
  padding: 14px 28px;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-size: 16px;
  letter-spacing: 0.3px;
}

button.button__purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(84, 12, 151, 0.4);
}

button.button__purple:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.4s ease;
  border-radius: 6px;
}

button.button__purple:hover:before {
  width: 100%;
}

button.button__purple span {
  position: relative;
  z-index: 2;
}

/* Lepsze stylistyka pól */
.form__base {
  border: 1px solid rgba(0,0,0,0.1);
  transition: border 0.3s ease, box-shadow 0.3s ease;
  border-radius: 5px;
  padding: 10px 15px;
  height: auto;
  font-size: 15px;
}

.form__base:focus {
  border-color: #7B2CBF;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.15);
  outline: none;
}