html, body {

    height: 100%;

    margin: 0;

    background-color: #343a40; /* Ciemne tło */

    color: #ffffff; /* Jasny tekst */

}



#main-content {

    flex: 1 0 auto;

}



#footer {

    flex-shrink: 0;

    text-align: center;

    color: white;

    background-color: #343a40;

    padding: 10px;

}



.container {

    background-color: #343a40; /* Ciemne tło dla kontenera */

    border-radius: 0.25rem;

    padding: 20px;

}



.form-control, .btn {

    background-color: #495057;

    color: #ffffff;

}



.form-control:focus {

    background-color: #495057;

    border-color: #80bdff;

    outline: 0;

    color: #ffffff;

    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);

}



.form-label {

    color: #ffffff;

}



.tile {

    padding: 20px;

    border-radius: 5px;

    background-color: #333;

    /*height: 250px;*/

}



.tile-restaurant {

  padding: 20px;

  border-radius: 5px;

  background-color: #333;

  min-height: 100%;

}



.success {

    border: 2px solid green;

}



.fail {

    border: 2px solid red;

}



.switch {

  position: relative;

  display: inline-block;

  width: 60px;

  height: 34px;

}



.switch input {

  opacity: 0;

  width: 0;

  height: 0;

}



.slider {

  position: absolute;

  cursor: pointer;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background-color: #ccc;

  -webkit-transition: .4s;

  transition: .4s;

}



.slider:before {

  position: absolute;

  content: "";

  height: 26px;

  width: 26px;

  left: 4px;

  bottom: 4px;

  background-color: white;

  -webkit-transition: .4s;

  transition: .4s;

}



input:checked + .slider {

  background-color: #2196F3;

}



input:focus + .slider {

  box-shadow: 0 0 1px #2196F3;

}



input:checked + .slider:before {

  -webkit-transform: translateX(26px);

  -ms-transform: translateX(26px);

  transform: translateX(26px);

}



/* Rounded sliders */

.slider.round {

  border-radius: 34px;

}



.slider.round:before {

  border-radius: 50%;

}



/* Stylowanie nagłówka modala */

.modal-header {

  background-color: #343a40; /* Ciemne tło, zgodne z  CSS */

  color: #ffffff; /* Jasny tekst */

  border-bottom: 1px solid #495057; /* Dodanie granicy dla nagłówka, kolor zgodny z formularzem */

}



/* Stylowanie treści modala */

.modal-body {

  background-color: #343a40; /* Ciemne tło */

  color: #ffffff; /* Jasny tekst */

}



/* Stylowanie przycisku zamknięcia */

.close {

  color: #ffffff; /* Jasny tekst */

}



/* Dostosowanie tła i koloru przycisków w modalu */

.btn {

  background-color: #495057; /* Tło przycisku z CSS */

  color: #ffffff; /* Jasny tekst */

}



/* Dla przycisku zamknięcia przy najechaniu myszką */

.close:hover,

.close:focus {

  color: #adb5bd; /* Lekko jaśniejszy kolor dla lepszej widoczności */

  opacity: 1; /* Zwiększona widoczność */

}



.custom-dark-table {

    background-color: #343a40; /* Ciemne tło tabeli */

    color: #000000; /* Czarny tekst */

}



.custom-dark-table thead th {

    background-color: #495057; /* Nieco jaśniejsze tło dla nagłówków */

    color: #ffffff; /* Czarny tekst */

}



.custom-dark-table .table-success,

.custom-dark-table .table-success:hover {

    background-color: #c3e6cb; /* Jaśniejszy zielony */

    color: #000000; /* Czarny tekst */

}



.custom-dark-table .table-warning,

.custom-dark-table .table-warning:hover {

    background-color: #ffeeba; /* Jaśniejszy żółty */

    color: #000000; /* Czarny tekst */

}



.custom-dark-table .bg-danger,

.custom-dark-table .table-danger,

.custom-dark-table .bg-danger:hover,

.custom-dark-table .table-danger:hover {

    background-color: #f5c6cb; /* Jaśniejszy czerwony */

    color: #000000; /* Czarny tekst */

}



.custom-dark-table tr:hover {

    background-color: #23272b; /* Lekkie podświetlenie przy najechaniu */

    color: #000000; /* Czarny tekst */

}



/* Styl dla linków w tabeli, aby były czytelne */

.custom-dark-table a {

    color: #000000; /* Czarny tekst */

    text-decoration: none; /* Usunięcie podkreślenia */

}



.custom-dark-table a:hover {

    color: #0056b3; /* Ciemnoniebieski, dla kontrastu przy najechaniu */

}

.center {
  text-align: center;
  vertical-align: middle !important;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background: #222;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
}