@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Base styles */
body {
  background-color: #121212;
  /* Dark background */
  color: #ffffff;
  /* Light text for contrast */
  font-family: 'Open Sans', sans-serif;
  line-height: 1.2;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* Zarovnání k horní části */
  min-height: 100vh;
}

/* Container */
.container {
  width: 86%;
  padding: 20px;
  background-color: #1e1e1e;
  border: 1px solid #333;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
  /* newly added */
  text-align: center;
  /* Aby bylo filtrování a tabulka hezky vycentrované */
}

.container:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f1f1f1;
  margin-bottom: 12px;
}

/* Links */
a {
  color: #64ffda;
  /* Bright accent color */
  text-decoration: none;
}

a:hover {
  color: #21c7a8;
  text-decoration: underline;
}

/* Buttons */
/* .button {
  display: inline-block;
  background-color: #21c7a8;
  color: #161616;
  padding: 8px 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: #64ffda;
  color: #121212;
  transform: scale(1.05);
  text-decoration: none;
}
 */
/* Dark Themed Buttons */
.button {
  display: inline-block;
  color: #60ffdc;
  background-color: #222;
  /* Dark gray background */

  /* White text */
  padding: 8px 18px;
  border: 2px solid #444;
  /* Subtle border */
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
}

/* Hover Effect */
.button:hover {
  background-color: #333;
  /* Slightly lighter dark gray */
  border-color: #666;
  /* Highlight border */
  transform: scale(1.05);
  text-decoration: none;
  color: #fff;
}

/* Active/Click Effect */
.button:active {
  background-color: #000;
  color: #eeeeee;
  /* Almost black */
  border-color: #888;
  transform: scale(0.98);
}

/* Footer */
footer {
  background-color: #1e1e1e;
  color: #888888;
  text-align: center;
  padding: 20px;
  border-top: 1px solid #333;
}

footer a {
  color: #64ffda;
  text-decoration: none;
}

footer a:hover {
  color: #21c7a8;
  text-decoration: underline;
}

.menu {
  position: sticky;
  /* Sticks the menu at the top during scrolling */
  top: 0;
  /* Keeps it fixed at the top */
  z-index: 1000;
  /* Ensures it stays above other content */
  background-color: #121212;
  /* Dark background */
  color: #ffffff;
  width: 100%;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  /* Optional shadow for visual effect */
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu>ul {
  display: flex;
  background-color: #333;
  padding: 10px 0;
  justify-content: center;
}

.menu li {
  position: relative;
}

.menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.menu>ul>li {
  margin: 0 15px;
}

/* Submenu styling */
.menu ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
}

.menu ul ul ul {
  left: 100%;
  top: 0;
}

/* Show submenus on hover */
.menu li:hover>ul {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/* Submenu links */
.menu ul ul a {
  padding: 10px 20px;
  color: #fff;
  white-space: nowrap;
}

.menu ul ul a:hover {
  background-color: #555;
}

/* Main menu hover effects */
.menu>ul>li:hover>a {
  background-color: #444;
}

.canvas1 {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.canvas2 {
  display: block;
  width: 100%;
  height: 100%;
}

.book-select {
  background-color: #222;
  color: #fff;
  border: 1px solid #444;
  padding: 10px;
  border-radius: 5px;
  /* font-size: 16px; */
  cursor: pointer;
  outline: none;
  appearance: none;
  /* Removes default OS styling */
  /* width: 200px; */
}

.book-select:hover {
  border-color: #666;
}

.book-select:focus {
  border-color: #888;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.search-input {
  width: 300px;
}

td {
  text-align: center;
}

select.required-unselected {
  box-shadow: 0 6px 15px rgba(255, 152, 0, 0.8);
  /* background-color: rgb(255, 152, 0); */
  /* Oranžová barva */
  /* color: #121212; */
}

table {
  /* width: 100%; */
  border-collapse: collapse;
  background-color: #1E1E1E;
  color: white;
}

th,
td {
  border: 1px solid #333;
  padding: 8px 12px;
  /* padding: 10px; */
  text-align: left;
}

th {
  background-color: #333;
  cursor: pointer;
}

th:hover {
  background-color: #000000;
}

td.center {
  text-align: center;
}

td.right {
  text-align: right;
}

tr:nth-child(even) {
  background-color: #2A2A2A;
}

.fulfilled {
  color: green;
}

.unfulfilled {
  color: red;
}

.center {
  margin-left: auto;
  margin-right: auto;
}