
body {
  background-image: url("/assets/images/bac2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}


.container-half {
  margin-top: 10%;
}

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

.p-5.pb-4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  margin: 0;
}

.text-overlay {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.form-wrapper {
  min-width: 420px;
  width: 100%;
  margin: 0 auto;
}

input {
  font-size: 1.0rem;
  font-family: 'Poppins', sans-serif !important;
}

input::placeholder {
  font-size: 1.2rem !important;
  opacity: 0.6;
  font-family: 'Poppins', sans-serif;
}

.btn {
  font-size: 16px;
}

.btn-login {
  font-size: 1.2rem !important;
}

.lead {
  margin-bottom: 5rem;
}

.btn-brown {
  background-color: #6f4f28;
  color: white;
  border-color: #4e3629;
  font-size: 1.5rem;
  margin-top: 20px;
}



.btn-brownish {
  background-color: #6f4f28;
  color: white;
  border-color: #4e3629;
  font-size: 1.0rem;
  margin-top: 5px;
}

.btn-brown:hover {
  background-color: #8e6b3d;
  border-color: #4e3629;
  color: white;
}

.btn-brownish:hover {
  background-color: #8e6b3d;
  border-color: #4e3629;
  color: white;
}


.btn-outline-danger {
  background-color: white;
}

.btn-outline-primary {
  background-color: white;
}

.btn-same-height {
  height: 3.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-danger,
.btn-outline-primary {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bi-google,
.bi-facebook {
  margin-right: 10px;
}

.custom-close {
  background-color: #8e6b3d;
  width: 30px;
  height: 30px;
}

.custom-close .btn-close {
  width: 100%;
  height: 100%;
}

.form-check {
  margin-bottom: 1.5rem;
}

.form-check-input {
  height: 2rem;
  width: 2rem;
  margin-top: 0.3rem;
}

.form-check-label {
  font-size: 1.5rem;
  line-height: 2rem;
  padding-left: 1rem;
  vertical-align: center;
}

.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-navbar {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bi-house-door-fill {
  color: white;
}

.nav-link {
  color: white;
}

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

.container {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  padding: 50px;
}

.centered-container {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  padding: 50px;
  margin: 10% auto;
}

.small-container {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  padding: 50px;
  margin: 2% auto;
}



.centered-container p {
  font-size: 1.5rem;
  line-height: 1.6;
}


select.form-select {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.2rem !important;
}

.form-floating > .form-control {
  font-size: 1.2rem;
  padding-top: 1.2rem;
  padding-bottom: 0.6rem;
}




input,
input::placeholder {
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

input[type="date"] {
  font-size: 1.2rem !important;
  padding: 1rem !important;
  height: 3.5rem !important;
  width: 100% !important;
  box-sizing: border-box;
}

.error{
  color: red;
  margin-top: 10px;
  margin-bottom: 10px;
}

.text-brown {
  color: #A0522D !important;
}

#incomeExpenseChart {
  display: block;
  margin: 0 auto;
  max-width: 400px;
  max-height: 400px;
  background-color: transparent; 
}

/* Formularz responsywny */
@media (max-width: 576px) {
  .w-50 {
    width: 100% !important;
  }

  .lead {
    margin-bottom: 2rem;
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .btn-brown {
    font-size: 1rem;
    margin-top: 10px;
  }


  .btn-brownish {
    font-size: 1rem;
    margin-top: 10px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .text-overlay {
    padding: 1rem;
  }

  .form-wrapper {
    min-width: 100%;
    padding: 0 1rem;
  }

  .custom-close {
    width: 24px;
    height: 24px;
  }

  .form-check-label {
    font-size: 1rem;
    padding-left: 0.5rem;
  }

  .form-check-input {
    height: 1.5rem;
    width: 1.5rem;
  }

  .container-form {
    padding: 1rem;
  }

  .menu-icon {
    display: block;
  }

  #menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .centered-container {
    width: 80%;
    padding: 50px;
    margin: 10% auto;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
  }

  h4 {
    font-size: 1.0rem;
    line-height: 1.2;
  }

  #balanceMessage {
    font-size: 1.2rem;
  }

  .form-control,
  .form-select,
  textarea.form-control {
    font-size: 1.0rem !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    line-height: 1.4;
    height: auto;
  }

  
  .small-container {
    width: 80%;
    margin: 50px auto;
    padding: 10px;
  }
    

  .container {
    padding: 10px;
    width: 80%;
  }

  input[type="date"] {
    font-size: 1.0rem !important;
    padding: 1rem !important;
    height: 3.5rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .form-label.input1 {
    font-size: 1rem;
  }

  input::placeholder {
    font-size: 1rem !important;
  }

  select.form-select {
    font-size: 0.9rem !important;
  }

  input[type="date"] {
    font-size: 0.9rem !important;
    padding: 0.6rem !important;
    height: 2.8rem !important;
  }

  .form-label {
    font-size: 1.2rem;
  }

  select.form-select,
  input[type="date"] {
    font-size: 1.0rem !important;
    padding: 0.5rem !important;
    height: auto !important;
  }

  .fs-5{
    font-size: 1.0 rem !important;
  }

  .centered-container p{
    font-size: 1.0rem;
  }

  .btn-login {
    font-size: 1.0rem !important;
  }

}

