
html,
body {
font-family: Arial;
  background-color: white;
  height: 100%;
  margin: 0px;
  padding: 0px;
}

h1 {
    font-size:15px;
    font-weight: 300;
}

p {
    font-size:11px;
    font-weight: 300;
}

em {
    color:red;
    font-size:15px;
    font-weight: 300;
}


#header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 150px;
  top: 0;
  position: fixed;
  background-color: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#header p{
    font-size: 15px;
}

.left-content {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.right-content {
  text-align: right;
  margin-right: 20px;
}

#header img {
  width: 120px;
  height: 120px;
}


#content {
    position: relative;
    margin-top: 230px;
    width: 100%;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

#content h1 {
    font-size:20px;
    margin-left:20px;
    font-weight:300;
}

#content p {
    font-size:20px;
    margin-left:40px;
    font-weight:300;
}

.naglowek {
    font-size:20px;
    font-weight:300;
    text-align: center;
}

h1 {
    font-size: 50px;
    font-weight: 300;
}


.span-header {
    font-size:30px;
}

.span-free {
  margin-top: 30px;
  font-size: 300px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#header_login {
  width: 100%;
  height: 15%;
  font-family: Arial;
  background-color: white;
}

#header_login h1 {
    font-size: 32px;
    font-weight:300;
}

#content_login {
    
  width: 100%;
  height: 85%;
  background-image: linear-gradient(white, darkgreen);
}

#content_login h1 {
    font-size: 30px;
    font-weight:300;
}

#l-form .h1{
    font-size: 20px;
    font-weight:300;
}

form {
  margin: 0;
  padding: 0;
}

/* Stylowanie etykiety email */
.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.floating-label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8e8e8e;
  transition: 0.2s ease-out;
}

.input-field:focus ~ .floating-label,
.input-field.filled ~ .floating-label {
  font-size: 12px;
  top: 0;
  transform: translateY(-90%);
  color: #4d90fe;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: none; /* Usuń pozostałe obramowania */
  border-bottom: 1px solid #dcdcdc; /* Dodaj dolne obramowanie */
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 18px;
}

.input-field:focus {
  outline: none; /* Usuń domyślny kontur po kliknięciu */
  border-bottom: 1px solid #4d90fe; /* Dodaj dolne obramowanie */
  border-radius: 4px;
}

.input-field:focus::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #4d90fe; /* Kolor niebieski */
  transition: width 0.3s ease;
  transform: translateX(-90%);
}

.input-field.filled:focus::after {
  width: 100%;
}

/* stylizowanie etykiety password */
.password-label {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8e8e8e;
  transition: 0.2s ease-out;
}

.password-field:focus ~ .password-label,
.password-field.filled ~ .password-label {
  font-size: 12px;
  top: 0;
  transform: translateY(-90%);
  color: #4d90fe;
}

.password-field {
  width: 100%;
  padding: 10px;
  border: none; /* Usuń pozostałe obramowania */
  border-bottom: 1px solid #dcdcdc; /* Dodaj dolne obramowanie */
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 18px;
}

.password-field:focus {
  outline: none; /* Usuń domyślny kontur po kliknięciu */
  border-bottom: 1px solid #4d90fe; /* Dodaj dolne obramowanie */
  border-radius: 4px;
}

.password-field:focus::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #4d90fe; /* Kolor niebieski */
  transition: width 0.3s ease;
  transform: translateX(-90%);
}

.password-field.filled:focus::after {
  width: 100%;
}

.l-form {
    padding: 30px;
    width: 40%;
    height: 500px;
    background-color:white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin: 0 auto;
    
}

.button {
  background: darkgreen;
  border-radius: 999px;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
  transition: all 0.5s ease;
}

.button:hover {
  background-color: #0ba12c;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.button-1 {
  text-decoration: none;
  background-color: rgba(39, 176, 39, 0.5);
  color: darkgreen;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width:150px;
  height:40px;
  transition: all 0.5s ease;
  margin-left: auto;
  border: none;
}

.button-naw{
    text-decoration: none;
    background-color: rgba(39, 176, 39, 0.5);
  color: darkgreen;
  border-radius: 10px;
    width:450px;
  height:100px;
  box-sizing: border-box;
  box-sizing: border-box;
font-size: 28px;
  font-weight: 300;
  line-height: 24px;
padding: 8px 18px;
display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
}

.button-naw:hover{
    background-color: darkgreen;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.button-1:hover {
  background-color: darkgreen;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.button-zaloguj {
  text-decoration: none;
  background-color: rgba(39, 176, 39, 0.5);
  color: darkgreen;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width:150px;
  height:40px;
  transition: all 0.5s ease;
  margin-left: auto;
  border: none;
}



.button-zaloguj:hover {
  background-color: darkgreen;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.button-wyloguj {
  text-decoration: none;
  background-color: rgba(242, 41, 41, 0.5);
  color: #f02929;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width:150px;
  height:40px;
  transition: all 0.5s ease;
  margin-left: auto;
}



.button-wyloguj:hover {
  background-color: #f02929;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.error-message {
    color:red;
    font-weight:300;
}

.error {
    color:red;
    font-weight:300;
}

#nav {
  width: 100%;
  height: 100px;
  bottom: 0px;
  position: fixed;
  background-color: white;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  z-index: 2;
   
}

#nav .table_nav_mobil {
  width: 100%;
}

#nav .tr_class_mobil {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav .td_nav_mobil {
  text-align: center;
  flex: 1;
}

#nav .btn_nav_mobil {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #000;
}

#nav img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

#nav p {
  margin: 0;
  font-size: 15px;
  
}

.nav_notactive {
  color:#009E00;
}

.nav_active {
  color: #FFAE00;
}


@media (max-width: 768px) {
  #nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 10px;
  }

  #nav .td_nav_mobil {
    width: 50%;
  }
}

#calendar {
        width: 90%;
        margin-left: 2%; /* Zmniejsz tę wartość, aby zmniejszyć margines */
        font-size: 15px;
    }

.button-wniosek {
  text-decoration: none;
  background-color: rgba(39, 176, 39, 0.5);
  color: #006400;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 15px;
  font-weight: 300;
  line-height: 35px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width:200px;
  height:40px;
  margin-left:40px;
  margin-right:40px;
  border: none;
  transition: all 0.5s ease;
}



.button-wniosek:hover {
  background-color: #006400;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

.button-start {
  text-decoration: none;
  background-color: rgba(39, 176, 39, 0.5);
  color: #006400;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 150px;
  height: 150px;
  position: fixed;
  left: 40px;
  bottom: 15%;
  transition: all 0.5s ease;
  outline: 0;
}

.button-start:hover {
  background-color: #006400;
  color: white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}



.button-stop {
  text-decoration: none;
  background-color: rgba(242, 41, 41, 0.5);
  color: #f02929;
  border-radius: 50%;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 150px;
  height: 150px;
  position: fixed;
  right: 40px;
  bottom: 15%;
  transition: all 0.5s ease;
  outline: 0;
}

.button-stop:hover {
  background-color: #f02929;
  color: white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}


#wysrodkowany .styled-table {
    border-collapse: collapse; /* Dodaj tę linię, aby złączyć obramowania komórek */
    width: 100%;
}

#wysrodkowany .styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: center;
}

#wysrodkowany .styled-table th {
    color:#fdfdf2;
    padding: 12px 15px;
    background-color: #101090; /* Dodaj tło do nagłówków kolumn */
    border-bottom: 2px solid #101090; /* Dodaj obramowanie na dole nagłówków kolumn */
}

#wysrodkowany .styled-table th:first-child {
    border-radius: 10px 0px 0px 0px; /* Dla pierwszego nagłówka kolumny */
}

#wysrodkowany .styled-table th:last-child {
    border-radius: 0px 10px 0px 0px; /* Dla ostatniego nagłówka kolumny */
}

#wysrodkowany .styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd; /* Dodaj cienkie obramowanie na dole komórek */
}

#wysrodkowany .styled-table tbody tr:nth-child(odd) {
    background-color: #f3f3f3; /* Kolor tła dla nieparzystych wierszy */
}

#wysrodkowany .styled-table tbody tr:nth-child(even) {
    background-color: #d3d3d3; /* Kolor tła dla parzystych wierszy */
}

#wysrodkowany .styled-table tbody tr:hover {
    background-color: #2f4393; /* Zmiana koloru tła dla wierszy przy hoverze */
    color: #fdfdf2;
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px; /* Opcjonalnie dodaj odstęp górny */
}

.button-chpass {
  text-decoration: none;
  background-color: rgba(39, 176, 39, 0.5);
  color: #006400;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-family: Arial;
  font-size: 15px;
  font-weight: 300;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 8px 18px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width:120px;
  height:50px;
  margin-left:40px;
  border: none;
  transition: all 0.5s ease;
}



.button-chpass:hover {
  background-color: #006400;
  color:white;
  transition: all 0.5s ease;
  transform: scale(1.1, 1.1);
}

form[name="wniosek"] {
  max-width: 500px;
  margin: 0 auto;
}

/* Styl dla etykiet formularza */
.form-wniosek .wniosek-label {
  display: block;
  font-size: 15px;
  font-weight:300;
  margin-bottom: 8px;
}

/* Styl dla pól wejściowych formularza */
.form-wniosek .wniosek-input {
  width: 100%;
  padding: 5px;
  font-size: 15px;
  font-weight:300;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 10px;
}

#form_div_mobil{
    width:300px;
    margin-left:40px;
}

.l-form_mobil {
  max-width: 700px; /* Ograniczenie szerokości */
  margin: 0 auto; /* Wyśrodkowanie formularza na stronie */
  padding: 20px; /* Dodatkowy odstęp wokół treści */
}