/* HTML & BODY ========================================================== */
* { padding: 0;
  margin: 0;
  box-sizing: border-box;
}

h1 {
  background: linear-gradient(to right, #0055ff, #8a2be2, #00ced1, #adff2f);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 15px 0 15px 0;
}  

h2 {
  color: #8a2be2;
  padding: 15px 0 15px 0;
}  

ol strong {
  font-weight: bold;
}

body {
  font-family: "Poppins", sans-serif;
  background: white;
}
/* WRAP ================================================================= */
.wrap {
    margin: 0 auto;
    max-width: 1200px;
}
/* BANNER =============================================================== */
.banner_div { 
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.banner_img { 
    position: relative;
    left: calc(-600px + 50%);
    margin-left: 0;
	min-width: 1200px;
}
/* MENU ================================================================= */
nav {
  background: #000000;
  padding: 10px 20px;
  margin: 0 0 5px 0;
  position: relative;
  top: 0;
  left: 0;
  z-index: 999;
}

nav ul, li {
	padding:0;
	margin: 0;
}

.menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}

.menu li:hover > a {
  background-color: #000000;
  color: #2971f6;
}

.submenu,
.submenu-right {
  display: none;
  position: absolute;
  background: #000000;
  min-width: 160px;
  list-style: none;
  z-index: 100;
}

@media (min-width: 769px) {
  .menu li:hover > .submenu {
    display: block;
    top: 100%;
    left: 0;
  }
  .submenu li:hover > .submenu-right {
    display: block;
    top: 0;
    left: 100%;
    margin-left: 0;
  }
  .submenu .dropdown > a:after {
    content: "▸";
    float: right;
  }
  .submenu .dropdown:hover > a::after {
    content: "▼";
  }
  .hamburger,
  #menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    font-size: 26px;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
  }
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000000;
  }
  #menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #000000;
  }
  #menu-toggle {
    display: none;
  }
  #menu-toggle:checked + label + ul {
    display: flex;
  }
  .menu li {
    width: 100%;
  }
  .submenu,
  .submenu-right {
    position: static;
    display: none;
    padding-left: 20px;
  }
  .menu li:hover > .submenu,
  .submenu li:hover > .submenu-right {
    display: block;
  }
  .submenu .dropdown > a::after {
    content: "▸";
    float: right;
  }
  .submenu .dropdown:hover > a::after {
    content: "▼";
  }
}

/* PARAGRAPH ================================================================== */

p {
  text-align: justify;
  padding-bottom: 10px;
}

.container_2columns {
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.element {
  flex: 1;
  padding: 10px;
}

.element p + ul {
  margin-top: 0;
  padding-top: 0;
}

.element ol, ul {
  margin-bottom: 10px;
}

.element p:has(+ ol), p:has(+ ul) {
  /* Style dla paragrafu przed listą */
  padding-bottom: 0;
  margin-bottom: 0;
}

.element p:has(+ img) {
  margin-bottom: 30px;
  padding-bottom: 30px;;
}

.small {
  font-size: 80%;
}

.contentDiv * {
  max-width: 100%;
}

@media (min-width: 769px) {
  .container_2columns {
    display: flex;
    flex-direction: row;
  }

  .big {
	line-height: 1.7em;
  }

  .small {
	position: sticky;
	top: 0px;
	flex: 0 0 200px;
	padding: 24px 10px 24px 0;
  }

  .small p	{
	text-align: center;
	padding: 0px 5px 20px 5px;
  }
}

ul, ol {
  padding-inline-start: 30px;
}

li {
  padding-left: 25px;
}

#map { 
  height: 500px;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.small {
  display: flex;
  flex-direction: column;
  gap: 30px;
  background-color: lightgray;
}

/* WIDOK MOBILNY (Domyślny) - obrazek i podpis obok siebie */
.row {
  display: flex;
  flex-direction: row;     /* elementy obok siebie */
  align-items: center;     /* centrowanie w pionie */
  justify-content: left; /* centrowanie w poziomie */
  gap: 15px;
}

.caption {
  text-align: center;      /* centrowanie tekstu wewnątrz bloku */
}

@media (min-width: 769px) {
  .row {
    flex-direction: column; /* zmiana: podpis trafia pod obrazek */
    gap: 10px;             /* mniejszy odstęp między obrazkiem a tekstem */
  }
  .small {
	background-color: white;
  }
}

.row img {
  width: 200px;
  min-width: 200px;
  height: auto;
  text-align: left;
  padding-bottom: 15px;
}
/* ******************************************************************* */
.przycisk-3dr {
  background-color: DeepPink;
  color: white;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 MediumVioletRed, 0 10px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.przycisk-3dr:hover {
  background-color: HotPink;
}

.przycisk-3dr:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 DarkRed, 0 5px 8px rgba(0, 0, 0, 0.2);
}
/* ******************************************************************* */
.przycisk-3dg {
  background-color:  	MediumSeaGreen;
  color: white;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 SeaGreen, 0 10px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.przycisk-3dg:hover {
  background-color: Lime;
}

.przycisk-3db:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 DarkGreen, 0 5px 8px rgba(0, 0, 0, 0.2);
}
/* ******************************************************************* */
.przycisk-3db {
  background-color:  	#3b82f6;
  color: white;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 0 #1d4ed8, 0 10px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
  margin-bottom: 10px;
}

.przycisk-3db:hover {
  background-color: #60a5fa;
}

.przycisk-3db:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #1d4ed8, 0 5px 8px rgba(0, 0, 0, 0.2);
}
/* ******************************************************************* */
.data-table {
  border-collapse: collapse;
  width: 500px;
  table-layout: auto; /* pozwala kolumnom dopasować się do treści */
  max-width: 100%;
}

/* Pierwsza kolumna — minimalna szerokość potrzebna na treść */
.data-table td:first-child {
  white-space: nowrap;
  width: 1%; /* wymusza minimalną szerokość */
}

 /* Druga kolumna — inputy na pełną szerokość */
.data-table td:last-child input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}
.data-table td:last-child input[type="password"] {
  width: 100%;
  box-sizing: border-box;
}

.data-table textarea {
  width: 100%;
}
/* ******************************************************************* */
.input-custom {
  /* Wygląd podstawowy */
  padding: 6px 4px;
  font-size: 16px;
  color: #1f2937; /* Ciemnoszary tekst */
  background-color: transparent;
  
  /* Brak górnej i bocznych ramek + wyraźny dół */
  border: none;
  border-bottom: 2px solid #d1d5db; /* Jasnoszara linia dolna */
  outline: none; /* Ukrycie domyślnej ramki systemowej */
  
  /* Płynna animacja przy kliknięciu */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Stan aktywny (Focus) */
.input-custom:focus {
  border-bottom-color: #10b981; /* Zmiana linii na zieloną (pasuje do przycisku) */
  /* Subtelny cień pod linią dodający głębi */
  box-shadow: 0 1px 0 0 #10b981; 
}

/* Styl dla tekstu pomocniczego (Placeholder) */
.input-custom::placeholder {
  color: #9ca3af;
  font-style: italic;
}
/* ******************************************************************* */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: sans-serif;
  user-select: none;
}
/* Stylizowanie samego kwadracika */
.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none; /* Wsparcie dla starszych przeglądarek */
  width: 20px;
  height: 20px;
  border: 2px solid #bcbcbc;
  border-radius: 6px;
  background-color: #fff;
  display: inline-grid;
  place-content: center;
  position: relative;
  transition: all 0.2s ease-in-out;
}
/* Efekt po najechaniu myszką */
.custom-checkbox:hover input[type="checkbox"] {
  border-color: #0076ff;
  background-color: #f0f7ff;
}
/* Wygląd po zaznaczeniu (stan :checked) */
.custom-checkbox input[type="checkbox"]:checked {
  background-color: #0076ff;
  border-color: #0076ff;
}
/* Tworzenie ptaszka (V) za pomocą pseudoelementu :before */
.custom-checkbox input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform 0.1s ease-in-out;
  margin-top: -2px; /* Korekta pozycji pionowej ptaszka */
}
/* Pokazanie "ptaszka" po zaznaczeniu */
.custom-checkbox input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}
/* Efekt focus dla osób korzystających z klawiatury */
.custom-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}
/* ******************************************************************* */
input[type="radio"] {
	margin: 0 10px 0 10px;
}
/*tbody, tr {
	 max-width: 100%;
}*/