/* partnering.arqus.test */

/* BODY GENERALLY */
body {
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

/* HEADER */

header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
}
.site-header {
	background-color: white;
    border-bottom: 3px solid #eee;
	display: flex;
	justify-content: center;
}

.header-container {
	width: 100%;
	max-width: 1200px;
	padding: 0 5px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Logo Arqus Plaza */

.header-left .logo img {
	height: 59px;
	width: 100px;
}

/* Pasek nawigacji i logowania */

.header-right {
	display: flex;
	align-items: center;
	gap: 20px; /* Odstęp między nawigacją a logowaniem */
}

/* Nawigacja */

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li {
	display: flex;
	align-items: center;
}
.main-nav li:hover {
	background-color: #f5f1e3;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	text-decoration: none;
    color: #000;
	transition: background-color 0.3s ease;
}
.main-nav a {
	display: flex;
	align-items:center;
	height: 100px;
	padding: 0 15px;
    font-weight: 500; 
}


/* Przycisk logowania */

.log-nav {
	background-color: #bc9753;
    color: #000;
    padding: 15px 28px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.log-nav:hover {
    background-color: #a88445;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

/* Responsive styles */

@media (max-width: 768px) {  
  header {
	position: static;
  }	  

  .header-container {
	flex-direction: column;
	align-items: stretch;
	}
   
 .header-left {
	 padding: 10px 5px;
 }
 
 .header-right {
	width: 100%;
	flex-direction: column;
	gap: 0;
  }
  
  .main-nav { 
	width:100%;
	margin-bottom: 6px;
  }
  
  .main-nav ul {
    flex-direction: column;
    width: 100%;
	gap: 8px;
  }
  
  .main-nav li {
    height: auto;
	width: 100%;
  }
  
  .main-nav a {
	width: 100%;
	padding: 14px 16px;
	background-color: #f5f1e3;
	border-radius: 6px;
	height: auto;
	justify-content: center;
	text-align: center;
  }
  
  .main-nav a:hover {
	  background-color: #e9e3cf;
  }
  
  .log-nav {
	width: 100%;
	text-align: center;
	margin: 16px 0;
	border-radius: 6px;
  }
  
  .log-nav:hover
  .button-row .log-nav:hover {
	  transform: none;
  }

}

/* MAIN */

main.site-content {
	max-width: 1200px;	
	margin: 0 auto;
	padding: 0 5px;
	text-align: center;
    min-height: 60vh;
}

/* TITLE BAR */

.title-container {
    background-color:  #bc9753;
    border-bottom: 1px solid #ddd;
	min-height: 100px;
	padding: 10px 5px; 
	margin: 20px 0;
	display: grid;   /*dla place-items*/
	place-items: center;
}

.title-bar {
	display: flex;
	align-items: center;
	justify-content: center;
}

.title-bar h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: normal;
    color: #fff;
	line-height: 1.3em;
	margin: 0;
	text-align: center;
}


/* FOOTER */

.footer {
	background-color: #333;
	padding: 20px 0;
	font-family: 'Titillium Web', sans-serif;
	color: white;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	color: #cbcbc7;
	text-align: left;
	font-size: 10pt;	
}

/* Footer top */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  color: white;
}

.footer-section {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;	
	gap: 80px;  /* odstęp między "Contact" a "Social media" */
	flex-wrap: wrap;
}

.footer-section h6 {
  margin-bottom: 10px;
  color: white;
}

.section-group {
	display: flex;
	gap: 40px; /* odstęp między "About us" a "Contact" */
}

.section-box {
  width: 200px;
}

.section-box ul {
	list-style: none;
    margin: 0;
	padding: 0;
}

.section-box ul li {
	color: #cbcbc7;
	text-decoration: none;
	margin-bottom: 6px;
}

.section-box ul li a {
	color: #cbcbc7;
	text-decoration: none;
	padding-bottom: 6px;
	display: block;
}

.section-box ul li a:hover {
	text-decoration: none;
}

.section-social {
  max-width: 400px;
}

.social-links {
  display: flex;
  justify-content: space-between; /* Równomierne rozmieszczenie */
  flex-wrap: wrap;
  gap: 10px; /* Większe odstępy */
  margin-top: 10px;
}

.social-links a {
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
	background-color:  #bc9753;
}

.social-links svg {
	width: 16px;
	height: 16px;
}


/* Footer middle - sekcja środkowa */

.footer-middle {
	padding: 32px 0;
	text-align: left;
}

.uni-logo-table {
	width: 100%;
	max-width: 1200px;
	height: 400px; /* stała wysokość całej tabeli */
	margin: 0 auto;
	border-collapse: collapse;
	table-layout: fixed; /* równa szerokość kolumn */
	margin-bottom: 20px;
}

.uni-logo-table td {
  border: none;
  padding: 10px 20px;
  vertical-align: middle;
  text-align: center;
}

.uni-logo {
  max-height: 100px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-middle p {
	width: 100%;
	max-width: 1200px; 
	margin: 0 auto;
	font-size: 12pt; 
	line-height: 1.5em;
}


/* Footer bottom - sekcja dolna */

.footer-bottom {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;	
	gap: 180px;  /* odstęp między "footer-links" a "copyright" */
	flex-wrap: wrap;
	margin: 50px 20px 10px 80px;
	padding-top: 20px;
	text-align: center;
	font-size: 10pt;
}

.bottom-links a {
  color: #cbcbc7;
  text-decoration: none;
  font-size: 10pt;
}

.bottom-links a:hover {
  text-decoration: none;
  color: #cbcbc7;
}

/* Przycisk do scrollowania na górę strony */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #bc9753;
  color: white;
  width: 31px;
  height: 31px;
  padding: 5px;
  display: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none; /* ukryty na starcie */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-top:hover {
  background-color: #8e743d;
}

.scroll-top svg {
  width: 16px;
  height: auto;
  transform: rotate(180deg); /* odwraca strzałkę do góry nogami */
}


/* FOOTER @media  */

@media (max-width: 900px) {
  .footer-section {
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 20px;
  }

  .section-group {
	  display: flex;	  
	  flex-direction: row;
	  gap: 20px;
  }
  
  .section-box {
	width: auto;
	min-width: 140px;
  }
  
  .social-links {
	  margin-left: -10px;
  }
  
  .uni-logo-table {
    display: block;
    height: auto;
  }

  .uni-logo-table tbody {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .uni-logo-table tr {
    display: contents; /* usunięcie wierszy jako bloków */
  }

  .uni-logo-table td {
    width: 45%;
    padding: 12px;
  }
  
  .uni-logo {
    max-height: 70px;
  }
  
  .footer-bottom {
	  margin: 30px 0 10px 0;
	  padding-top: 16px;
	  gap: 12px;
	  justify-content: center;
	  align-items: center;
	  text-align: center;
	  flex-direction: column;
  }
  
  .bottom-links {
	  text-align: center;
  }
  
  .footer-bottom p {
	  margin-top: 6px;
	  font-size: 12px;
  }
}

@media (max-width: 600px) {
  .uni-logo-table td {
    width: 50%;
    padding: 10px;
  }
  
  .uni-logo {
	  max-height: 65px;
  }
}

@media (max-width: 480px) {
  .uni-logo-table td {
	width: 33%;
	padding: 8px;
  }	  
  
  .uni-logo {
	  max-height: 60px;
  }
  
  .scroll-top {
	  right: 12px;
	  bottom: 12px;
  }
	
}


/* REGISTER PAGE */

.form-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-left: 0; /* ensures alignment */
}

.submit-btn {
    margin: 30px 0;
    padding: 12px;
    background-color: #bc9753;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #a88445;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

/* ARQUS PLAZA PAGE */

.tiles-container {
    display: flex;
	justify-content: center;
	gap: 40px; /* odstęp między kaflami */
	padding: 40px 0 40px 0;
	flex-wrap: wrap; /* dla responsywności */
}

.tile {
	text-align: center;
	max-width: 360px;
	border: 1px solid #ccc;
	transition: box-shadow 0.3s ease;
	overflow: hidden;
	margin-top: 10px;
}

.tile:hover {
	  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.tile img {
	width: 100%;
	height: auto;
}

.tile p {
	margin: 10px 0 20px 0;
	font-size: 1.1em;
	font-weight: 500;
}

.tile a  {
	display: block;
	height: 100%;
	width: 100%;
	text-decoration: none;
	color: #000;
}

.tile a:hover {
	text-decoration: none;
	color: #000;
}

/* PARTNERS_LIST PAGE */

/* Top - searching partners with different criteria */
.details-card { 
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.labels-box {
	flex: 1 1 10%;
	text-align: left;
	font-size: 16px;
	line-height: 2;
}

.labels-box label {
	font-weight: normal;
	display: inline-block;
	margin-bottom: 8px;
	vertical-align: middle;
	height: 36px;
	line-height: 36px;
}

.selects-box {
	 flex: 1 1 45%;
	 font-size: 16px;
	 line-height: 2;
 }
 
.selects-box input, 
.selects-box select,
.selects-box select[multiple] {
	font-size: 16px !important;
	height: 36px !important;
	line-height: 36px !important;
	padding: 0px 8px;
	border: 0.5px solid #ccc;
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 10px;
	vertical-align: middle;
}

form div.selects-box input[type="text"],
form div.selects-box select {
    font-size: 16px;
}

/* Opcje w multiple select */
.selects-box select[multiple] option {
    padding: 4px 8px;
    font-size: 16px;
}

/* PARTNER_LIST, PROJECT_LIST */
/* Przyciski paginacji */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 20px 0;
	white-space: nowrap;
}

.log-pag {
	width: 44px;
	height: 44px;
	background-color: #bc9753;
    color: #000;
    border-radius: 5px;
    text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	
	font-size: 20px;
    font-weight: 600;

    transition: all 0.3s ease;
    padding: 0;
	margin: 0;
}

.pag-info {
	width: auto;
	min-width: 80px;
	padding: 10px 18px;
	font-size: 16px;
	font-weight: 600;
	cursor: default;
}

.log-pag:hover {
    background-color: #a88445;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
	text-decoration: none;
	color: #000;
}

@media (max-width: 480px) {
  .log-pag {
	  width: 38px;
	  height: 38px;
	  font-size: 18px;
  }
  
  .pag-info {
	  padding: 8px 14px;
	  font-size: 14px;
  }
}

.buttons-right {
	flex: 1 1 15%;
	text-align: right; 
	align-self: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.buttons-right:has(.buttons:nth-child(2)) {
    justify-content: center;
}

.buttons-center {
	flex: 1 1 15%;
	text-align: center; 
}

.buttons {
    background-color: #bc9753;
    color: #000;
    padding: 10px 20px;
	margin-bottom: 20px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
	text-align: right; 
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
	width: 100%
}

.buttons:hover {
    background-color: #a88445;
	text-decoration: none;
	color: #000;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.buttons a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.welcome a {
	text-decoration: none;
	color: #bc9753;
	font-weight: 600;
}

.welcome a:hover {
	color: #a88445;
	transform: scale(1.05);
} 

/* TABLES TO DISPLAY DATA */

.partners-list {
	width: 100%;
	border: none;
	margin: 20px 0; 
}

.partners-list thead tr th {
	color: #bc9753;
	border: 0.5px solid #ccc;
    background-color: #d9e6f2;
	padding: 8px 4px;
	font-weight: 500;
	text-align: left;
}

.partners-list thead tr th:hover {
	color: #a88445;
} 

.partners-list tbody tr td {
	vertical-align: top;
	text-align: left;
	padding: 4px 4px 8px 4px;
	border-bottom: 0.5px solid #ccc;
}

.partners-list tr a {
	text-decoration: none;
	color: #bc9753;
	font-weight: 600;
}

.partners-list tr a:hover {
	color: #a88445;
	transform: scale(1.05);
} 

@media (max-width: 768px) {
  .details-card {
	  justify-content: flex-start;
	  gap: 0;
  }
  
  .labels-box {
	  flex: 0 0 40%;
	  max-width: 40%;
	  padding-right: 12px;
  }
  
  .selects-box {
	  flex: 0 0 60%;
	  max-width: 60%;
  }
  
  .buttons-right {
	  flex: 0 0 100%;
	  max-width: 100%;
	  order: 3;
	  margin-top: 20px;
	  text-align: center;
  }
  
  .buttons {
	  width: 100%;
	  text-align: center;
  }
  
  .partners-list th {
	  width: auto !important;
	  table-layout: fixed; 
  }

  .partners-list th,
  .partners-list td {
	display: none;
  }	  
  
  .partners-list th:nth-child(1),
  .partners-list td:nth-child(1),
  .partners-list th:nth-child(2),
  .partners-list td:nth-child(2),	
  .partners-list th:nth-child(3),
  .partners-list td:nth-child(3) {
	display: table-cell;
  }

  .partners-list th:nth-child(1),
  .partners-list td:nth-child(1) { width: 40%; }

  .partners-list th:nth-child(2),
  .partners-list td:nth-child(2) { width: 30%; }

  .partners-list th:nth-child(3),
  .partners-list td:nth-child(3) { width: 30%; }
  
  .partners-list th,
  .partners-list td {
		padding: 6px;
		font-size: 9px;
		white-space: normal;
  }
}	

/* PARTNERS_DETAIL, PARTNER_ADD PAGE, PARTNER_EDIT PAGE */
.partners-list h3 {
	color: #a88445;
	margin: 30px 0 20px 0;
}

.partners-list h4 {
	color: #a88445;
	margin: 30px 0 20px 0;
}

.partner-detail-top {
	width: 60%;
	margin: 0 auto;
	margin-bottom: 40px;
	text-align: left;
}

.partner-detail-top  colgroup col:first-child {
	width: 30%;
}
	
.partner-detail-top  colgroup col:last-child {
	width: 70%;
}

.partner-detail-top,
.partner-detail-bottom {
	table-layout: fixed;
}

.partner-detail-top tr td
.partner-detail-bottom tr td {
	vertical-align: top;
	text-align: left;
	padding: 4px 4px 8px 4px;
	border-bottom: 0.5px solid #ccc;
}

.partner-detail-top td,
.partner-detail-bottom td {
	overflow-wrap: break-word;
	word-wrap: break-word;
	word-break: anywhere;
	white-space: normal;
}

.partner-detail-bottom {
	width: 100%;
	margin: 0 auto;
	margin-bottom: 40px;
}

.partner-detail-bottom ul li {
	list-style: none;
}

.partner-detail-bottom  colgroup col:first-child {
	width: 20%;
}
	
.partner-detail-bottom  colgroup col:last-child {
	width: 80%;
}

/* errors in form */
.field-error {
    color: #b02a37;
    font-size: 0.9em;
    margin-top: 4px;
}

.field-error ul {
    list-style: none;
    padding-left: 0;
}

@media (max-width: 768px) {
  .partner-detail-top,
  .partner-detail-bottom  {
	  width: 100%;
	  margin-left: 0;
	  margin-right: 0;
  }
  
  .partner-detail-top colgroup col:first-child,
  .partner-detail-bottom colgroup col:first-child {
	  width: 35%;
  }
  
  .partner-detail-top colgroup col:last-child,
  .partner-detail-bottom colgroup col:last-child {
	  width: 65%;
  }  

}


/* STYLE DO PÓL FORMULARZY, NP. INPUT, CHECKBOX-LIST, TEXTAREA ITD. */
.input-field {
	width: 100%;
	padding:4px;
	border: none;
	font-size: 1rem;
	font-family:  'Titillium Web', sans-serif;
	background: none;
	box-shadow: none;
	resize: vertical;
}

.form-checkbox {
	margin-bottom:4px;
}

/* Styl formularzy wewnątrz tabeli */
.form-input,
.input-field,
input[type="text"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 6px 8px;
	margin: 0px;
    font-size: 1rem;
    font-family:  'Titillium Web', sans-serif;
    border: none;
    background-color: transparent;
    box-shadow: none;
    resize: vertical;
    border-bottom: 1px solid #ccc;
}

input[type="text"],
input[type="url"],
textarea {
    appearance: none;          /* Chrome, Edge, Safari */
    -moz-appearance: none;     /* Firefox */
    -webkit-appearance: none;  /* WebKit */		
}

select {
    appearance: auto;          /* Chrome, Edge, Safari */
    -moz-appearance: auto;     /* Firefox */
    -webkit-appearance: auto;  /* WebKit */		
}

select option {
    font-size: 1rem;
    font-family:  'Titillium Web', sans-serif;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-bottom: 1px solid #a88445;
    background-color: #f5f1e3;
}

/* STYLE DO CHECKBOX */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
}

.checkbox-list input[type="checkbox"] {
  display: none;
}

.checkbox-list label {
  display: inline-block;
  text-transform: capitalize;
  margin: 4px 8px 4px 0;
  padding: 6px 10px;
  border-radius: 4px; 
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
}

/* Pogrubienie i inne efekty, gdy zaznaczone */
.checkbox-list input[type="checkbox"]:checked + label {
  font-weight: bold;
  background-color: #f5f1e3;
}


/* PRZYCISKI DO ZATWIERDZENIA ZMIAN /  POWROTU NA STRONĘ */
.button-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.button-row .log-nav {
    flex: 0 1 220px;
	max-width: 260px;
    text-align: center;
    display: inline-block;
    background-color: #bc9753;
    color: #000;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button-row .log-nav:hover {
    background-color: #a88445;
    transform: scale(1.05);
    box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .button-row {
	  flex-direction: column;
	  align-items: stretch;
	  gap: 0;
	  margin-bottom: 20px;
  }
  
  .button-row .log-nav {
	  flex: 0 0 100%;
	  max-width: 100%;
	  width: 100%;
	  margin: 0;
  }
  
  .button-row .log-nav:not(:last-child) {
      margin-bottom: 20px;
  } 
}


/* === STYLE PROJECT_EDIT, PROJECT_ADD === */

/* STYLE INPUT TYPE NUMBER & DATE */
input[type="date"],
input[type="number"] {
	padding: 6px 8px;
	border: none;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: textfield;
}

/* STYLE SINGLE I MULTIPLE W POLACH SELECT DLA: LEADER / OWNER / PARTICIPANTS / UNIVERSITIES */

/* Ogólny wygląd select2 */
.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
	color: #000 !important;
    font-family: 'Titillium Web', sans-serif !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    padding: 6px 8px !important;
	min-height: 38px !important;
	display: flex !important;
	align-items: center !important;
}

/* --- MULTISELECT odstęp od górnej i dolnej krawędzi --- */
.select2-container--default .select2-selection--multiple {
    padding: 4px 0 !important;            /* ogólny odstęp wewnątrz pola */
    min-height: 38px !important;          /* wysokość jak inne pola */
    display: flex !important;
    align-items: center !important;
}

/* Odległość między tekstem a border-bottom w single select */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 4px 0px !important;
    line-height: 1.4 !important;
}

/* Wybrane opcje (tagi) — pionowo, bez ramek i X-ów */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    line-height: 1.4 !important;
    padding: 4px 0px !important;
    margin: 0 !important;
}

/* Po kliknięciu (focus) — beżowe tło, złoty border */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #f5f1e3 !important;
    border-bottom: 1px solid #a88445 !important;
	padding-bottom: 4px;
}

/* Lista rozwijana — beż */
.select2-container--default .select2-results__option--highlighted {
    background-color: #f5f1e3 !important;
    color: #000 !important;
}

/* Wybrany element beżowy / złoty */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f5f1e3 !important;
    color: #000 !important;
}

/* Każdy tag (wybrany element) */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: #000 !important;
    font-family: 'Titillium Web', sans-serif !important;
    padding: 2px 8px !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
}

/* X i arrow — całkowicie wyłączone */
.select2-selection__choice__remove,
.select2-selection__clear,
.select2-selection__arrow {
    display: none !important;
}

/* Hover w liście wyboru */
.select2-results__option--highlighted[aria-selected] {
    background-color: #1967d2 !important;
    color: #fff !important;
}

/* Odstęp i układ jak w pozostałych polach formularza */
.select2-container {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- KOLORY DLA SELECT2 --- */

/* Cała lista rozwijana (dropdown) */
.select2-container--default .select2-results > .select2-results__options {
    background-color: #f5f1e3 !important; /* beżowe tło całej listy */
    color: #000 !important;               /* czarny tekst */
}

/* Niewybrane opcje (zwykły stan) */
.select2-container--default .select2-results__option {
    background-color: #f5f1e3 !important;
    color: #000 !important;
}

/* Opcja, nad którą jest hover */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1967d2 !important; /* niebieski */
    color: #fff !important;               /* biały tekst */
}

/* Wybrana opcja (zaznaczona) */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #1967d2 !important;
    color: #fff !important;
}

/* Tło pojedynczego pola po otwarciu listy */
.select2-container--open .select2-selection--single,
.select2-container--open .select2-selection--multiple {
    background-color: #f5f1e3 !important;
    border-bottom: 1px solid #a88445 !important; 
}

/* Wewnętrzne pole wyszukiwania  */
.select2-container--default .select2-search--inline {
    width: 100% !important;
    display: block !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
    box-sizing: border-box !important;
    color: #000 !important; 
    background-color: transparent !important;
    font-family: 'Titillium Web', sans-serif !important;
    font-size: 1rem !important;
	width: 100% !important;
    min-width: 100% !important;     
    width: auto !important;   
    line-height: 1.4 !important;	
    padding: 6px 8px !important;
    margin: 0 !important;
	border: none !important;
}

/* Placeholder multiselect (szary tekst, jak w single select) */
.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Input w multiselect po kliknięciu */
.select2-container--default .select2-search--inline .select2-search__field:focus {
    background-color: #f5f1e3 !important;          /* jasnobeżowe tło */
    outline: none !important;                      /* usunięcie niebieskiej ramki */
}

/* Input wyszukiwania w dropdownie */
.select2-container--default .select2-dropdown .select2-search--dropdown .select2-search__field {
    background-color: #f5f1e3 !important;          /* jasnobeżowe tło */
    color: #000 !important;
    border: none !important;                       /* usuń oryginalne ramki */
    border-radius: 0 !important;
    padding: 6px 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Titillium Web', sans-serif !important;
    font-size: 1rem !important;
}

/* --- Usunięcie białych marginesów / tła wokół dropdowna --- */
.select2-container--default .select2-dropdown {
    background-color: #f5f1e3 !important; /* beżowe tło całego dropdowna */
    border: 1px solid #ccc !important; /* cienka szara ramka wokół listy */
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Wymuszanie, by każdy wybrany tag i pole wpisywania zajmowało całą linię */
.select2-selection__rendered li {
    width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
}

/* Naprawa widoczności tekstu placeholder */
.select2-search__field::placeholder {
    color: #999 !important;
    opacity: 1 !important;
    width: 100% !important;
}

/* ACCESSIBILITY STATEMENT */
.access h2 {
	color: #bc9753;
	font-weight: 600;
	margin-bottom: 20px;
}

.access h3 {
	text-align: left;
	font-weight: 600;
	margin: 20px 0 20px 0;	
}

.access p {
	text-align: left;
	line-height: 1.4;
	margin-top: 30px;
}

.access ul {
	 margin: 0; 
	 padding-left: 50px; 
	 overflow: auto;
	 text-align: left;
}

.access ul li::marker {
	color: #bc9753;
}

.access li {
	line-height: 2;
}

.access a {
	text-decoration: none;
	color: #947137;
	font-weight: 600;
}

.access a:hover {
	color: #a88445;
	transform: scale(1.05);
} 