/* GŁÓWNY KONTENER FORMULARZA */
.ip-form {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Odstęp między sekcjami formularza */
  width: 100%;
}

/* POJEDYNCZA GRUPA (LABEL + INPUT) */
.ip-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px; /* Odstęp etykiety od pola */
}

/* ETYKIETY (LABELS) */
.ip-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  font-family: Montserrat, sans-serif;
}

/* POLA TEKSTOWE (INPUTS) */
.ip-input {
  width: 100%;
  padding: 12px !important;
  background-color: #ffffff;
  border: 1px solid #00000040 !important;
  border-radius: 4px !important;
  font-size: 16px;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  color: #1e1e1e;
  line-height: 100%;
  transition: border-color 0.3s ease !important;
}

.ip-input:focus {
  outline: none;
  border-color: #c5a059; /* Delikatny akcent po kliknięciu w pole */
}

.ip-input::placeholder {
  color: #1e1e1e80;
  opacity: 1;
  font-weight: 300;
}

.ip-checkbox-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.ip-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #c9a054;
}

.ip-label-small {
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
}

/* PRZYCISKI GŁÓWNE (BUTTONS) */
.ip-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.1s ease;
  font-family: inherit;
  width: fit-content; /* Przycisk dopasuje się do tekstu, tak jak na Figmie */
}

.ip-btn:active {
  transform: scale(0.98); /* Efekt wciśnięcia */
}

/* WARIANTY PRZYCISKÓW */
.ip-btn-primary {
  background-color: #c5a059; /* Kolor musztardowy/złoty z Figmy */
  color: #050609;
}

.ip-btn-primary:hover {
  background-color: #c5a059 !important; /* Utrzymanie koloru przy hover */
  color: #ffffff !important; /* Zmiana koloru tekstu na biały przy hover */
  /* Skorygowany, miękki efekt Glow */
  box-shadow:
    0px 0px 15px 0px rgba(109, 160, 239, 0.5),
    0px 0px 25px 4px rgba(252, 245, 223, 0.25);
}

.ip-register-header {
  margin-bottom: 24px;
}

.ip-back-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 20px;
  font-family: inherit;
  transition: color 0.3s ease;
}

.ip-back-btn:hover {
  color: #c9a054;
}

.ip-back-btn-black {
  background: transparent !important;
  border: none !important;
  padding: 12px 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 14px !important;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s ease !important;
  font-weight: 600 !important;
}

.ip-back-btn-black svg path {
    stroke: #ffffff !important;
    transition: stroke 0.3s ease !important;
}


.ip-back-btn-black:hover {
  color: #c9a054 !important;
  transition: color 0.3s ease !important;
}

.ip-back-btn-black:hover svg path {
  stroke: #c9a054 !important;
  transition: stroke 0.3s ease !important;
}

.ip-title-gold {
  color: #c9a054;
  font-size: 42px;
  font-weight: 700;
  margin: 0;
}

.ip-form-box {
  background-color: #333333;
  padding: 32px;
  border-radius: 8px;
  width: 100%;
}

.ip-form-box h3 {
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 24px;
}

.ip-section-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.ip-toggle-group {
  display: flex;
  gap: 12px;
}

.ip-toggle-group input[type="radio"] {
  display: none;
}

.ip-toggle-label {
  background-color: #222222;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.ip-toggle-group input[type="radio"]:checked + .ip-toggle-label {
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
}

.ip-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ip-grid-prefix {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
}

.ip-select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
