
/* Minimal glue styles (Tailwind does most of the job) */
.ipc-sf-root .leaflet-container { height: 100%; width: 100%; }
.ipc-sf-root .leaflet-custom-pin { background: transparent; border: 0; }
.ipc-sf-root .leaflet-control-attribution { font-size: 10px; }

/* Prevent theme styles from breaking inputs inside the form */
.ipc-sf-root input, .ipc-sf-root select, .ipc-sf-root textarea, .ipc-sf-root button {
  font: inherit;
}
.ipc-sf-root input:focus, .ipc-sf-root select:focus, .ipc-sf-root textarea:focus {
  outline: none;
}
.ipc-sf-root .ipc-sf-submit[disabled] {
  opacity: .6;
  cursor: not-allowed;
}



/* === Custom button styling requested by user === */
.ipc-sf-root .ipc-sf-submit{
  background:#ffffff !important;
  color:#000000 !important;
  border:0 !important;
  transition: filter .15s ease, background-color .15s ease;
}
.ipc-sf-root .ipc-sf-submit:hover{
  filter: brightness(0.96);
}
.ipc-sf-root .ipc-sf-submit:active{
  filter: brightness(0.93);
}

.ipc-sf-root .ipc-sf-mode{
  background:#ffffff !important;
  color:#000000 !important;
  border:1px solid rgba(0,0,0,.10) !important;
  transition: filter .15s ease, background-color .15s ease, border-color .15s ease;
}
.ipc-sf-root .ipc-sf-mode:hover{
  filter: brightness(0.96);
}
.ipc-sf-root .ipc-sf-mode.is-active{
  border-color:#7dd3fc !important;
  background:#1c272f !important;
  color:#ffffff !important;
}

.ipc-sf-root .ipc-sf-clear{
  background:#ffffff !important;
  color:#000000 !important;
  border:0 !important;
  transition: filter .15s ease, background-color .15s ease;
}
.ipc-sf-root .ipc-sf-clear:hover{
  filter: brightness(0.96);
}



/* === BUTTON THEME OVERRIDE (requested) ===
   Wszystkie przyciski/CTA: czarne tło, białe napisy, biała ramka.
   Delikatne podświetlenie na hover.
*/
.ipc-sf-root a.inline-flex,
.ipc-sf-root button,
.ipc-sf-root label.inline-flex {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}

.ipc-sf-root a.inline-flex:hover,
.ipc-sf-root button:hover,
.ipc-sf-root label.inline-flex:hover {
  background: #111 !important;
}

/* Przycisk "Wyślij zgłoszenie" */
.ipc-sf-root .ipc-sf-submit {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}
.ipc-sf-root .ipc-sf-submit:hover {
  background: #111 !important;
}

/* Tryby mapy: aktywny minimalnie jaśniejszy (bez niebieskiego) */
.ipc-sf-root .ipc-sf-mode.is-active {
  background: #1a1a1a !important;
  border-color: #fff !important;
}

/* Clear buttons always like others */
.ipc-sf-root .ipc-sf-clear {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
.ipc-sf-root .ipc-sf-clear:hover {
  background: #111 !important;
}

/* Keep disabled appearance */
.ipc-sf-root button:disabled {
  opacity: .6 !important;
  cursor: not-allowed !important;
}



/* === MODE BUTTONS (Parking/Wejście) ===
   Inactive should NOT turn black on hover.
*/
.ipc-sf-root .ipc-sf-mode:not(.is-active),
.ipc-sf-root .ipc-sf-mode:not(.is-active):hover,
.ipc-sf-root .ipc-sf-mode:not(.is-active):focus {
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
}

/* Active stays in the general dark theme */
.ipc-sf-root .ipc-sf-mode.is-active,
.ipc-sf-root .ipc-sf-mode.is-active:hover,
.ipc-sf-root .ipc-sf-mode.is-active:focus {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #fff !important;
}
