  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #333;
  }

header {
  background: #1a1a1a;
  color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* keep on one line */
  position: relative; /* for absolute positioning of nav */
}
header h1 {
  font-size:25px;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0; /* don't shrink */
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
  /* allow toggle to stay visible on mobile only */
}

nav {
  /* On desktop: don't take full width */
  flex-basis: auto;
  display: flex;
  justify-content: flex-end;
  flex-grow: 1; /* take remaining space */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%; /* directly below header */
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    flex-direction: column;
    z-index: 1000; /* on top */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  nav ul li {
    text-align: center;
    padding: 0.5rem 0;
    border-top: 1px solid #333;
  }
}

  .container {
  padding: 1rem;
  max-width: 1000px;
  margin: auto;
}

.stat-block {
  margin-top: 32px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-block h3 {
  margin-bottom: 16px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.stat-section {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.stat-section div {
  flex: 1;
  min-width: 200px;
}

.stat-section p {
  margin: 4px 0;
}
.stat-line {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95em;
  margin-bottom:10px;
}

.stat-line span:first-child {
  color: #444;
}

.stat-line span:last-child {
  font-weight: bold;
  color: #007BFF;
}
.stat-line {
  padding: 2px 0;
}

.stat-line span:last-child {
  min-width: 40px;
  text-align: right;
}

.alink {
  color:#0000ff;
}


/**LOGIN**/

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  padding: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #333;
}

.form-group input {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fff;
}

.form-group input:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.btn-login {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btn-login:hover {
  background-color: #0056b3;
}
a {
  color:#0000ff;
}




/* Inline form inside stat-line */
.inline-form {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* Styled dropdown */
.styled-select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  background-color: #fff;
  cursor: pointer;
}

.styled-select:focus {
  outline: none;
  border-color: #007BFF;
  box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

/* Styled book button */
.btn-book {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btn-book:hover {
  background-color: #0056b3;
}
