.ubuntu-light {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ubuntu-regular {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ubuntu-medium {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ubuntu-bold {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.ubuntu-light-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.ubuntu-regular-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.ubuntu-medium-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.ubuntu-bold-italic {
  font-family: "Ubuntu", sans-serif;
  font-weight: 700;
  font-style: italic;
}

body {
	max-width: 80%;
	margin: 0 auto;
	background-image: url("background.webp");
	background-repeat: no-repeat;
	background-attachment: fixed; 
	background-size: 100% 100%;
	height:100%;
	width:100%;
}

.sgLogin {
	position: relative;
	top: 35%;
	width: 60%;
	margin: 0 auto;
	border: 1px solid #fff;
	border-radius: 5px;
	background: rgba(0,0,0,0.6);
}

.sgLogin h2 {
	font-family: "Ubuntu", sans-serif;
	font-weight: 700;
	font-style: normal;
	font-size: 48px;
	text-align: center;
	color: #FFF;
}

.sgLogin h3 {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: #FFF;
}

.sgLogin form {
	text-align: center;
}

.sgLogin input[type=text], input[type=password] {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	width: 80%;
}

.sgLogin input[type=submit] {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	width: 80%;
}

.sgLogin input[type=button]{
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 20px;
	width: 60%;
}

.sgPanel {
	position: relative;
	top: 5%;
	width: 100%;
	min-height: 90%;
	max-height: auto;
	margin: 0 auto;
	padding-bottom: 5px;
	border: 1px solid #fff;
	border-radius: 5px;
	background: rgba(0,0,0,0.6);
}

.sgBox {
	width: 90%;
	height:90%;
	background: rgba(255,255,255,0.7);
	margin: 0 auto;
	margin-top: 5px;
	padding: 5px;
	border: 1px solid #fff;
	border-radius: 5px;
	text-align:center;
}


.sgPanel .sgBox {
	width: 90%;
	height:auto;
	background: rgba(255,255,255,0.7);
	margin: 0 auto;
	margin-top: 5px;
	padding: 5px;
	border: 1px solid #fff;
	border-radius: 5px;
	text-align:center;
	overflow-y: auto;    /* przewijanie pionowe */
    overflow-x: hidden;  /* brak przewijania poziomego */
	
}

.sgPanel .sgBox h3 {
	padding: 1px;
	margin: 0px;
}

.sgPanel .sgBox table {
	border: 3px solid #000;
	width: 100%;
	margin: 0 auto;
	border-spacing: 0;
}

.sgPanel .sgBox table tr {
	margin: 0;
	padding: 0;
	border-spacing: 0;
}

.sgPanel .sgBox table tr th {
	border: 1px solid #000;
	font-weight: 600;
	margin: 0;
	border-spacing: 0;
}

.sgPanel .sgBox table tr td {
	border: 1px solid #000;
	font-weight: 400;
	margin: 0;
	border-spacing: 0;
	text-align: center;
}

.sgPanel .sgBox table tr td a {
	padding: 1px 6px;
	border: 1px outset buttonborder;
	border-radius: 3px;
	color: buttontext;
	background-color: buttonface;
	text-decoration: none;
}

.sgPanel .sgBox a {
	padding: 1px 6px;
	border: 1px outset buttonborder;
	border-radius: 3px;
	color: buttontext;
	background-color: buttonface;
	text-decoration: none;
}

.sgPanel .sgBox .sgUpcoming {
	display: flex;
}

.sgPanel .sgBox .sgUpcoming table tr {
	border: 0;
}

.sgPanel .sgBox .sgUpcoming table tr td{
	border: 0;
}

.sgPanel .sgBox .sgUpcoming ul li small {
	font-size: 14px;
	color: #105D9D;
	text-align: center;
}

.sgPanel .sgBox .sgUpcoming ul li a {
	padding: 1px 6px;
	border: 1px outset buttonborder;
	border-radius: 3px;
	color: buttontext;
	background-color: buttonface;
	text-decoration: none;
}

.sgPanel .sgBox .sgList {
	display: flex;
	justify-content: space-between;
	width: 100%;
	height:auto;
}

.sgTableFriday, .sgTableSaturday {
    flex: 1;
    height: auto; /* lub height: 400px - w zależności od potrzeb */
}


.sgPanel .sgBox .sgNewUser {
	width: 100%;
}

.sgPanel .sgBox .sgNewUser input[type=submit], input[type=text] {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	width: 80%;
}

.sgPanel input[type=button]{
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 18px;
	width: 80%;
}

.sgBox2 {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	padding:10px 14px;
	border-radius:8px;
	width: 40%;
}

.sgbox h3 {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: #000;
}

.sgbox h2 {
	font-family: "Ubuntu", sans-serif;
	font-weight: 400;
	font-style: normal;
	text-align: center;
	color: #000;
}

.sgbox table tr td{
	font-family: "Ubuntu" , sans-seriff;
	font-weight: 400;
	font-style:normal; 
	text-align:center;
}




.btn-confirm {
    padding: 4px 8px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.btn-confirm:hover {
    background-color: #0056b3;
}

.btn-lock {
    padding: 4px 8px;
    background-color: #ccc;
    color: #666;
    border: none;
    border-radius: 4px;
    cursor: not-allowed;
    font-size: 16px;
}

.btn-date {
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    margin: 5px;
    cursor: pointer;
}

.btn-date:hover {
    background-color: #0056b3;
}


.wazne{
	background-color:red;
}


.pyciskuwazny {
	background-color: #ff0000;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

.pyciskuwazny2 {
	background-color: #99d6ff;
	border: none;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
}

.btn-active {
    padding: 4px 8px;
    background-color: #28a745; /* zielony */
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    font-family: "Ubuntu", sans-serif;
}

.btn-active:hover {
    background-color: #1e7e34;
}

.btn-locked {
    padding: 4px 8px;
    background-color: #ccc; /* szary */
    color: #666;
    border: none;
    border-radius: 4px;
    font-family: "Ubuntu", sans-serif;
    font-weight: bold;
    cursor: not-allowed;
}

.sg-table {
    width: 100%;
    border-collapse: collapse;
}

.sg-table th, .sg-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.sg-table th {
    background-color: #f4f4f4;
}

.sgPanel .sgBox .admin-panel h3 {
    font-size: 24px;
    font-weight: bold;
}

/* Ogólne style */
body {
    font-family: "Ubuntu", sans-serif;
    background-color: #f4f4f4;
}



.sgBox {
    width: 100%;
    background: rgba(255,255,255,0.7);
    margin: 0 auto;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 5px;
    text-align: center;
}

.sgBox h3 {
    font-size: 18px;
    padding: 8px;
    margin: 0px;
    font-weight: 600;
}

.sgBox table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.sgBox table th, .sgBox table td {
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
}

.sgBox table th {
    background-color: #007BFF;
    color: white;
}

/* Przyciski */
.sgBox .btn-active {
    padding: 4px 8px;
    background-color: #28a745;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
}

.sgBox .btn-locked {
    padding: 4px 8px;
    background-color: #ccc;
    color: #666;
    border-radius: 4px;
    cursor: not-allowed;
}

.sgBox .btn-confirm {
    padding: 4px 8px;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.sgBox .btn-remove {
    padding: 4px 8px;
    background-color: #dc3545;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.sgBox .btn-date {
    padding: 6px 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.sgBox .btn-date:hover {
    background-color: #0056b3;
}

.pyciskuwazny, .pyciskuwazny2 {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
}

.pyciskuwazny {
    background-color: #ff0000;
    color: white;
    text-align: center;
    border: none;
}

.pyciskuwazny2 {
    background-color: #99d6ff;
    color: white;
    text-align: center;
    border: none;
}

/* Tabele */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th {
    font-weight: 600;
    background-color: #007BFF;
    color: white;
    padding: 10px;
}

table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

table a {
    padding: 4px 8px;
    border: 1px outset buttonborder;
    border-radius: 3px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
}

/* Formularze */
form {
    margin-top: 15px;
}

/* Inputy */
input[type="text"], input[type="password"], input[type="submit"], input[type="button"] {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    width: 80%;
    padding: 8px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Stylizacja dla panelu admina */
.admin-panel h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

/* Styl podstawowy dla tabel */
.aktualne-rezerwacje table, .zarezerwowane-terminy table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse; /* Usunięcie podwójnych krawędzi */
}

.aktualne-rezerwacje th, .aktualne-rezerwacje td,
.zarezerwowane-terminy th, .zarezerwowane-terminy td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    min-width: 50px; /* Minimalna szerokość komórki */
    white-space: nowrap; /* Zapobiega łamaniu tekstu */
    text-overflow: ellipsis; /* Dodaje wielokropek przy nadmiarowym tekście */
}