* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #000;
  color: white;
  width: 100%;
  min-height: 100vh;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 10px;
  width: 100%;
}

/* Titles */
.napis {
  font-size: 3vh;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-align: center;
}

.podnapis {
  font-size: 2.5vh;
  letter-spacing: 5px;
  margin: 40px 0 20px;
  text-align: center;
}

/* Search bar */
.search-container {
  display: flex;
  align-items: center;
  background-color: #222;
  border-radius: 20px;
  padding: 5px 15px;
  width: 95%;
  max-width: 400px;
  margin-bottom: 20px;
}

#search {
  background: transparent;
  border: none;
  outline: none;
  color: white;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
}

#search::placeholder {
  color: #aaa;
}

.bx {
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Accordion container */
.accordion {
  width: 100%;
  max-width: 500px;
}

/* Shared container/card style for both dynamic and static room lists */
.accordion-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1a1a1a;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Optional animation effect */
.accordion-item:hover {
  transform: scale(1.01);
  transition: transform 0.2s;
}

/* Header (for collapsible sections only) */
.accordion-header {
  width: 100%;
  background-color: #2a2a2a;
  color: white;
  text-align: left;
  padding: 15px 20px;
  font-size: 2vh;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s;
}

.accordion-header:hover {
  background-color: #3a3a3a;
}

/* Room list container */
.accordion-content {
  display: none; /* JS will set to flex if needed, or static page can override with style="display: flex" */
  flex-direction: column;
  background-color: #111;
  padding: 15px 20px;
}

.accordion-content a {
  color: white;
  text-decoration: none;
  padding: 10px 0;
  font-size: 2vh;
  border-bottom: 1px solid #333;
}

.accordion-content a:last-child {
  border-bottom: none;
}
