.color1 {color: #001615;}
.color2 {color: #0c2925;}
.color3 {color: #425947;}
.color4 {color: #7fa07e;}
.color5 {color: #ccd6a8;}



body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background: url(akcja_terminy/logo/zabki_same_white.png) no-repeat center;
  background-color: #ccd6a8;
  background-size: 100vh;
}

p {
  font-size: 9pt;
  margin-bottom: 5px;
  margin-top: 5px;
}

h2 {
  font-size: 12pt;
  font-weight: 600;
  margin-top: 0px;
  margin-bottom: 8px;
}

a {
  text-decoration: none;
}

/* Dla Chrome i przeglądarek opartych na Chromium */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Dla Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

#kontener_logowanie,
#kontener_terminy {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


#div_tlo_podsum_term {
  background-color: #0c2925;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
  position: relative;
  width: 80%;
  z-index: 1; /* Z-index dla okna logowania */
  margin-bottom: 20px;
}



#div_tlo_terminy,
#div_tlo_logowanie {
  background-color: #0c2925;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  text-align: center;
  position: relative;
  width: 40%;
  z-index: 1; /* Z-index dla okna logowania */
  margin-bottom: 20px;
}

#listaProduktow {
  max-height: 200px; /* Maksymalna wysokość listy */
  overflow-y: auto; /* Włącz pionowy pasek przewijania, jeśli jest to potrzebne */
  position: absolute;
  width: 85%;
  z-index: 1;
  font-size: 7pt;
  text-align: left;
  margin-left: -32%;
}

#listaProduktow li {
  padding: 3px;
  cursor: pointer;
  background-color: #e4e4e4;
  color: #0c2925;
  font-size: 7pt;
  height: 10%;
}

#listaProduktow li:hover {
  background-color: #f2f2f2; /* Kolor tła podczas najechania */
}

#logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#tabela_logowanie,
#tabela_terminy {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  font-size: 10pt;
  border-spacing: 0;
  color: #e4e4e4;
}

#tabela_terminy_podsum {
  width: 90%;
  margin: 0 auto;
  font-size: 10pt;
  border-spacing: 0;
}


#tabela_logowanie td,
#tabela_terminy td,
#tabela_terminy_podsum {
  padding: 5px;
}

#tabela_terminy td {
  padding: 0;
  border: 1px solid #425947;
  text-align: center;
  min-height: 8vh !important;
  max-height: 8vh;
  height: 8vh;
}

#tabela_terminy_podsum td {
  padding: 0;
  border: 1px dotted #d7d7d7;
  text-align: center;
  min-height: 5vh !important;
  max-height: 5vh;
  height: 5vh;
  background-color: #d7d7d712;
  color:white;
}

#tabela_terminy_podsum thead tr th {

  background-color: #7fa07e;
  color: white;
  height: 7vh;
  text-decoration: none;
  border: 1px dotted #0c2925;
  font-weight: 400;
}


.klasa_checkboxy_wiersze {
  background-color: #ffd8c885 !important;
}

.przycisk_przetworz_inny_kolor {
  background-color: #34376a !important;
}

.przycisk_przetworz_inny_kolor:hover {
  background-color: #272949 !important;
}



.klasa_terminy_pierwszy_wiersz_tab,
.klasa_terminy_ostatni_wiersz_tab {
  height: 5vh !important;
  background-color: #425947;
  color: #f2f2f2;
}

#kontener_podsumowanie {
  margin-top: 10px;
  display: flex;
  text-align: right;
  align-items: right;
  justify-content: right;
  background-color: #ffffff57;
}

#formatka_inputy,
#wybor_sklepu {
  width: calc(100% - 20px);
  padding: 8px;
  box-sizing: border-box;
  margin-bottom: 5px;
  font-size: 9pt;
}

#wybor_sklepu {
  width: 200px;
}

#formatka_inputy_terminy,
#ilosc_input,
#reczna_nazwa_towaru,
#kod_kreskowy,
#reczna_nazwa_towaru,
#nazwa_towaru {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  font-size: 9pt;
}

#nazwa_towaru {
  box-sizing: border-box;
  height: 8vh;
  font-size: 10pt;
}

#formatka_button_zaloguj,
#formatka_button_zapisz {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 8pt;
}

#formatka_button_zaloguj {
  background-color: #425947;
  color: #ffffff;
}

#formatka_button_zapisz {
  background-color: #425947;
  color: #ffffff;
}

#formatka_button_zapisz:hover {
  background-color: #7fa07e;
  color: #ffffff;
}

#textarea_terminy {
  width: 100%;
  min-width: 100px;
  height: 60px;
  max-height: 50px;
  min-height: 50px;
  font-size: 12pt;
  color: black;
}

#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 75px;
  text-align: center;
  font-size: 9pt;
  padding: 10px;
  background-color: #0c2925;
  color: #ffffff;
  z-index: 0; /* Z-index dla stopki, mniejszy niż dla okna logowania */
}

/* Dodatkowe style dla małych ekranów */
@media only screen and (max-width: 700px) {
  #div_tlo_logowanie {
    width: 40%;
  }

  #footer {
    max-height: none;
  }
}

/* Wspólne style dla różnych ekranów */
#panel_tlo_transparentne,
#tabela_terminy_kolektor td,
#tabela_terminy_kolektor th,
#przycisk_anuluj,
#przycisk_wyslij_formularz,
#przycisk_podsumowanie_spisu {
  padding: 5px;
  font-size: 8pt;
}

#panel_tlo_transparentne {
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  background-color: #425947;
}

#tabela_terminy_kolektor {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#tabela_terminy_kolektor td,
#tabela_terminy_kolektor th {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

#przycisk_anuluj,
#przycisk_wyslij_formularz,
#przycisk_podsumowanie_spisu {
  display: block;
  color: #ffffff;
  background-color: #425947;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  margin: 2px;
  text-decoration: none;
  font-size: 7pt;
  padding: 5px;
}

#przycisk_akcji_podsumowanie {
  display: block;
  color: #ffffff;
  background-color: #7fa07e;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  margin: 5px;
  text-decoration: none;
  font-size: 9pt;
  padding: 8px;
  text-align: right;

}

#przycisk_anuluj:hover,
#przycisk_wyslij_formularz:hover,
#przycisk_podsumowanie_spisu:hover,
#przycisk_akcji_podsumowanie:hover {
  background-color: #425947;
}

/* Dodatkowe style dla ekranów o szerokości do 480px */
@media only screen and (max-width: 480px) {
  #panel_tlo_transparentne {
    padding: 5px;
  }

  #tabela_terminy_kolektor td,
  #tabela_terminy_kolektor th {
    padding: 5px;
  }

  #przycisk_anuluj,
  #przycisk_wyslij_formularz {
    padding: 8px;
    margin-bottom: 5px;
  }
}
