body {
  min-height: 100vh;
  margin: 0;
  background-color: #2e2e2e;
  font-family: 'Arial', sans-serif;
}

.tablecontainer {
  margin: 20px auto;
  width: 90%; /* Można zmienić na większy procent lub konkretną wartość w px */
  max-width: 1200px; /* Zwiększenie maksymalnej szerokości */
  text-align: center; /* Wyśrodkowanie zawartości w kontenerze */
  overflow-x: auto;
}


table {
  border-collapse: collapse;
  width: 100%; /* Upewnij się, że tabela zajmuje całą szerokość kontenera */
  border-radius: 10px;
  overflow: hidden;
  background-color: #3e3e3e;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

th, td {
  padding: 20px; /* Zwiększono padding, aby komórki były bardziej przestronne */
  text-align: center; /* Wyśrodkowanie tekstu w komórkach */
  font-size: 1.1em;
}

th {
  background-color: #252525;
  color: #ffffff;
  font-size: 1.2em; /* Większa czcionka dla nagłówków */
}

td {
  background-color: #333;
}

tr.claimed td {
  background-color: #444;
  color: #ffffff;
}

tr.unclaimed td {
  background-color: #555;
  color: #888;
}

.profile-pic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.join-button {
  background-color: #28a745;
  color: #ffffff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-left: 10px;
}

tr:hover {
  background-color: #505050;
}

::-webkit-scrollbar { width: 16px; }


::-webkit-scrollbar-thumb {
  background: hsl(229, 76%, 66%);
  border-radius: 20px;
  border: 4px solid;
}

::-webkit-scrollbar-thumb { border-color: hsl(219, 27%, 20%); }

::-webkit-scrollbar-track { background: hsl(219, 27%, 20%); }

/* Notice */
.session-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffcc00, #ffde5c);
  color: #1a1a1a;
  font-size: 1.05em;
  padding: 15px 25px;
  border-radius: 15px;
  margin: 30px auto 10px;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  animation: slideDown 0.8s ease-out, fadeIn 1s ease-out;
  gap: 15px;
  position: relative;
}

.notice-icon {
  font-size: 1.5em;
}

.notice-text {
  text-align: left;
  max-width: 850px;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .session-notice {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .notice-text {
    max-width: 100%;
  }
}