/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 0rem;

  /*========== Colors ==========*/
  --hue: 174;
  --sat: 63%;
  --first-color: hsla(114, 39%, 56%, 1);
  --first-color-alt: hsl(var(--hue), var(--sat), 36%);
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 8%, 35%);
  --body-color: hsla(0, 0%, 96%, 1);
  --container-color: #fff;

  /*========== My Main Colors ==========*/
  --text: hsla(233, 25%, 34%, 1);
  --text-muted: hsla(233, 25%, 34%, 0.6);
  --dodaj-wywoz: hsla(33, 89%, 55%, 1);
  --dodaj-zrzut: hsla(196, 86%, 62%, 1);
  --moje-wywozy: hsla(260, 74%, 58%, 1);
  --moje-zrzuty: hsla(174, 66%, 39%, 1);
  --skanuj-dzialke: hsla(79, 63%, 45%, 1);
  --moje-umowy:  hsla(30, 35%, 40%, 1);
  --title-size: 20px;
  --title-font-weight: 700;
  --title-color: #42476d;
  --title-color-muted: rgba(66, 71, 109, 0.6);
  --subtitle-size: 16px;
  --subtitle-font-weight: 500;
  --subtitle-color: #6bba62;

  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: 0.938rem;
  --tiny-font-size: 0.9rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --h1-font-size: 2.25rem;
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

.body-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4.5rem 0 4.5rem;
}

#login {
  border-radius: 8px;
  border: 6px solid var(--first-color);
  background: #f9f9f9;
  min-height: 600px;
}

.find-us {
  position: absolute;
  bottom: 5%;
}

.rightside {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
}

.sign-out {
  display: flex;
  align-items: center;
}

.bell {
  margin-right: 1.5rem;
}

.menu-top {
  display: flex;
  justify-content: space-between;
  margin: 8px 15px !important;
}

.menu-top-icon {
  font-size: 2rem;
  color: var(--title-color-muted);
}

.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__height {
  height: 100vh;
}

/*=============== LAYOUT ===============*/
.container {
  max-width: 968px;
}

.container-mobile-login {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 2rem 0px;
}

.icons-center {
  display: flex;
  align-items: center;
}

h2 {
  color: var(--title-color);
  font-family: Poppins;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1rem;
}

h5 {
  margin-top: 0.5rem;
  color: var(--title-color);
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--container-color);
  z-index: var(--z-fixed);
  transition: 0.4s;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__img {
  width: 32px;
  border-radius: 50%;
}

.nav__logo {
  color: var(--title-color);
  font-weight: 600;
}

.nav__menu {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: var(--container-color);
  box-shadow: 0px -8px 18px 0px rgba(107, 186, 98, 0.25);
  width: 100%;
  height: 8vh;
  padding: 0 1rem;
  display: grid;
  align-content: center;
  border-radius: 1.25rem 1.25rem 0 0;
  transition: 0.4s;
}

.nav__top {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--container-color);
  box-shadow: 0px 8px 18px 0px rgba(24, 165, 9, 0.25);
  width: 100%;
  height: 8vh;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  border-radius: 0 0 0.5rem 0.5rem;
  transition: 0.4s;
}

.nav__list,
.nav__link {
  display: flex;
}

.nav__link {
  flex-direction: column;
  align-items: center;
  row-gap: 4px;
  color: var(--title-color);
  font-weight: 600;
}

.nav__list {
  justify-content: space-around;
  margin-bottom: 0px;
}

.nav__name {
  font-size: var(--tiny-font-size);
  color: var(--title-color-muted);
  font-weight: 500;
  /* display: none;*/ /* Minimalist design, hidden labels */
}

.nav__icon {
  font-size: 1.5rem;
  color: var(--title-color-muted);
}

/*Active link*/
.active-link {
  position: relative;
  color: var(--first-color);
  transition: 0.3s;
}

.confirmed {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.confirmed h2 {
  color: var(--subtitle-color);
  margin-top: 1rem;
}

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

.subtitle {
  color: var(--first-color);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

input[type="file"] {
  display: none;
}

.dot {
  height: 20px;
  width: 20px;
  background-color: var(--dodaj-wywoz);
  border-radius: 50%;
  display: inline-block;
}

.dot-modal {
  height: 32px;
  width: 32px;
  background-color: var(--dodaj-wywoz);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#kolorGlowny {
  background-color: var(--first-color);
}

#kolorTextGlowny {
  color: var(--text);
}

#kolorDodajZrzut {
  background-color: var(--dodaj-zrzut);
}

#borderDodajZrzut {
  color: var(--dodaj-zrzut);
  border-color: var(--dodaj-zrzut);
}

.lista-wywozow {
  border-radius: 8px;
  color: var(--text-muted);
  padding: 10px 0px;
  margin-top: 10px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lista-wywozow h6 {
  margin-bottom: 0.25rem;
}

.button-background {
  position: absolute;
  bottom: 0;
  height: 30vh;
  background: #f5f5f5;
}

#scrollable-container {
  height: 120px;
  overflow: auto;
}

/* POCZATEK CHECKBOXA*/

.custom-checkbox {
  transform: scale(2);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-color: var(--dodaj-zrzut);
}

.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* KONIEC CHECKBOXA */

.frame {
  border-radius: 8px;
  background: var(--dodaj-wywoz);
  color: #fff;
  font-size: 1rem;
  height: 22vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#skanujDzialke {
  border-radius: 8px;
  background: var(--skanuj-dzialke);
  height: 14vh;
  padding: 1rem 2rem;
  font-size: 1rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.frame-icon {
  color: #fff;
  font-size: 4rem;
  margin-bottom: 6vh;
}

.frame-icon-male {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 4vh;
}

.tlo-napisu {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  height: 7vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tlo-napisu-male {
  height: 5vh;
  margin-left: 15px;
  margin-right: 15px;
}

.tlo-napisu-lewe {
  margin-left: 15px;
  margin-right: 8px;
}

.tlo-napisu-prawe {
  margin-left: 8px;
  margin-right: 15px;
}

.half-padding-right {
  padding-right: 8px;
}

.half-padding-left {
  padding-left: 8px;
}

#dodajWywoz {
  background: var(--dodaj-wywoz);
}

#dodajZrzut {
  background: var(--dodaj-zrzut);
}

#mojeWywozy {
  background: var(--moje-wywozy);
}

#mojeZrzuty {
  background: var(--moje-zrzuty);
}

#opis-wywozu {
  color: var(--text-muted);
}

#opis-wywozu h6 {
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.form-control {
  color: var(--text) !important;
  font-weight: 500 !important;
  border-color: #fff;
  padding: 0.375rem 0rem;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
  font-size: 14px;
  font-weight: 500 !important;
}

.form-control:focus {
  border-color: #fff;
  box-shadow: none;
}

.input-title {
  font-size: 1.25rem;
}

.input-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.input-group {
  margin-bottom: 0.5rem;
}

.input-group-text {
  background: #fff;
  border-color: #fff;
}

.custom-select {
  border-color: #fff;
  box-shadow: none;
}

.custom-select:focus {
  border-color: #fff;
  box-shadow: none;
}

/* Select2 custom styles */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border-color: #000;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border-color: #000;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #000;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #000;
}

.select2-dropdown {
  border-color: #000;
}

.select2-dropdown input:focus {
  outline: none;
}

.select2-selection {
  outline: none;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: none !important;
}

.sframe {
  background-color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  padding: 10px 15px;
  margin-top: 10px;
  box-shadow: 0px 8px 16px rgba(107, 186, 98, 0.25);
  transition: 0.3s;
  border-radius: 8px;
  min-height: 214px;
}

.sframe-title {
  font-size: var(--title-size);
  color: var(--title-color);
  padding-top: 10px;
}

.sframe-subtitle {
  font-size: var(--subtitle-size);
  font-weight: var(--subtitle-font-weight);
  color: var(--subtitle-color);
  margin-bottom: 20px;
}

.stitle {
  font-size: 0.9rem;
}

.snews-title {
  font-size: 1.1rem;
  color: #307470;
  padding-left: 10px;
}

.snews-subtitle {
  font-weight: 500;
  font-size: 0.8rem;
  height: 36px;
  line-height: 18px;
  color: #42476d;
  padding-left: 10px;
}

.ssearch-more {
  font-size: 1rem;
  font-weight: 700;
  color: var(--title-color-muted);
  text-align: center;
}

.btn-main {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border-style: solid;
  padding: 16px 0px;
  background: var(--dodaj-wywoz);
  color: #fff;
  font-weight: 700;
  width: 100%;
}

.solo {
  margin-top: 1rem;
}

.btn-second {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  border-style: solid;
  padding: 16px 0px;
  background: inherit;
  color: var(--dodaj-wywoz);
  border: 2px;
  border-style: solid;
  border-color: var(--dodaj-wywoz);
  margin: 1rem 0rem;
  font-weight: 700;
  width: 100%;
}

.row {
  margin: 5px;
}

.one-line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
}

.szukaniePrzyklejoneWyglad{
	z-index:1; 
	top:50px; 
	background-color: var(--body-color);
}
.titlePokazGmine h3{
  color: var(--title-color);
  font-family: Poppins;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}


.navbarBgColor .nav-item .active{
	border-radius: 50rem;
	box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 25%);
	background-color: #FFFFFF;
	color: #42476D;
}
.navbarBgColor .nav-item:hover{
	border-radius: 50rem;
	box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 25%);
	background-color: #FFFFFF;
	color: #42476D;
}
.navbarBgColor{
	
	background-color:rgb(206 206 206 / 30%) !important;
}
.navbarBgColor .nav-link{	
	color: #42476D;
}

.navbar-gmina {
  display: flex;
  overflow-x: auto;	
}

.nav-gmina-items {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: rgb(206 206 206 / 30%);
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 50rem;
  
}
.nav-gmina-items  .active{
   background-color: #FFFFFF;
  box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 25%)
}
.nav-gmina-items a {
  flex: 0 0 auto;
  margin: 10px; /* Dostosuj margines zgodnie z potrzebami */
  padding: 10px;
  border-radius: 50rem;
  transition: .3s;
}
.nav-gmina-items a:hover {
  background-color: #FFFFFF;
  box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 25%)
}
.nav-gmina-items a{
	color: #42476D;
}
.buttonTitle{
	background-color: hsla(260, 74%, 58%, 1);
	border-color:  hsla(260, 74%, 58%, 1);
	color: white;
}
.buttonTitle:hover{
	background-color: #545989;
	border-color: #545989;
	color: white;
}
.buttonTitle:active{
	background-color: #545989;
	border-color: #545989;
	color: white;
}
.buttonTitle:focus{
	background-color: #545989;
	border-color: #545989;
	box-shadow: #545989;
	color: white;
}

.dzialka-card {
    border-radius: 12px;
    border-width: 2px !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dzialka-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.btn-add-dzialka {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-add-dzialka i {
    font-size: 16px;
}

.btn-add-dzialka:active {
    transform: scale(0.98);
}

.badge {
    font-size: 12px;
    font-weight: 500;
}

.podmiot-card {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.podmiot-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.podmiot-buttons {
    margin-top: 1rem;
}

.podmiot-buttons .btn {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.podmiot-buttons .btn i {
    font-size: 16px;
}

.podmiot-buttons .btn:active {
    transform: scale(0.98);
}

#kontaktModal .modal-dialog {
    margin: 1rem;
    max-width: 500px;
}

#kontaktModal .modal-content {
    border-radius: 12px;
    border: none;
}

#kontaktModal .modal-header {
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}

#kontaktModal .modal-body {
    padding: 1.5rem;
}

/* Dodaj działkę - formularz */
.dodaj-dzialke-card {
    border-radius: 12px;
    border-width: 2px !important;
}

.dodaj-dzialke-card .form-step-icon {
    color: var(--first-color);
}

.dodaj-dzialke-card label {
    font-weight: 500;
}

.dodaj-dzialke-card .form-control,
.dodaj-dzialke-card .form-control:disabled {
    padding-left:8px;
    border-radius: 8px;
}

.dodaj-dzialke-card .form-control:disabled {
    background-color: #f8f9fa;
}

.dodaj-dzialke-card .btn-action {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

.dodaj-dzialke-card .alert {
    border-radius: 8px;
}

.dodaj-dzialke-card .btn-link-primary {
    color: var(--first-color);
    font-weight: bold;
}

/* Progress stepper */
.progress-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.progress-stepper .step {
    text-align: center;
    flex: 1;
}

.progress-stepper .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.progress-stepper .step-label {
    margin-top: 0.5rem;
    font-size: 12px;
    font-weight: 500;
}

.progress-stepper .step-line {
    flex: 1;
    height: 3px;
    margin: 0 10px;
}


/*=============== MEDIA QUERIES ===============*/
/* For small devices */
/* Remove if you choose, the minimalist design */
@media screen and (max-width: 320px) {
  .nav__name {
    display: none;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .nav__list {
    justify-content: center;
    column-gap: 3rem;
  }
}

/* For large devices */
@media screen and (max-width: 1200px) {
  #mobile {
    display: none;
  }
}

@media (min-width: 768px) {
    .dzialka-card {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .btn-add-dzialka {
        font-size: 15px;
        padding: 14px 20px;
    }
    
    .badge {
        font-size: 13px;
    }
}

@media (min-width: 768px) {
    .podmiot-card {
        max-width: 100%;
    }
    
    #kontaktModal .modal-dialog {
        margin: 1.75rem auto;
    }
}

@media (min-width: 992px) {
    .podmiot-buttons .btn {
        font-size: 15px;
        padding: 14px 20px;
    }
}

