body {
  font-family: 'Times New Roman', serif;
  background-color: #b3cbef;
  color: #333;
  margin: 0;
  line-height:1.2;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Handlee', handwriting;
  font-weight: 400;
  color: #3a3a3a;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

p, ul, ol, textarea, input, select {
  font-family: sans-serif;
  background-color: #e6e6fa;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin-bottom: 0.8em;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 600px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input[type="radio"],
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-right: 0.3em;
  padding: 0;
  vertical-align: middle;
}

select {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

a {
  color: #000080;
  text-decoration: underline;
}

a:hover, a:focus {
  color: #0000c0;
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin-top: 90px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5em;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 2em;
}

.formContainer {
  padding: 1em;
  background-color: #ffffff;
  border-radius:5px;
}

.formsContainer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1em;
}

.placeReservationContainer {
  display: flex;
}

.availabilityContainer {
  width:30%;
  max-width: 400px;
  margin-right: 20px;
  background-color: #ffffff;
  border-radius:5px;
  padding: 10px;
}

@media (min-width: 768px) {
  .formsContainer {
    flex-direction: row;
  }
  form {
    flex: 1;
    padding: 1em;
  }
}

label {
  display: block;
  margin-bottom: 0.3em;
  font-weight: bold;
}

.break-solid {
  border-top: 3px solid #bbb;
}

.result {
  margin-top: 1em;
  padding: 0.8em;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.error {
  color: red;
  font-weight: bold;
}

.navbar {
  background-color: #e2e8f0;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #2d3748;
  margin-right: 2rem;
}

.navbar-center {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-grow: 1;
  justify-content: center;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-item {
  position: relative;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: #4a5568;
  text-decoration: none;
}

.nav-item:hover {
  background-color: #edf2f7;
  border-radius: 0.25rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border-radius: 0.25rem;
  z-index: 1001;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: #4a5568;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-item:hover {
  background-color: #edf2f7;
}

.navbar-user-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-logout-button {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  background-color: #fff;
  color: #4a5568;
  cursor: pointer;
}

.navbar-logout-button:hover {
  background-color: #fee2e2;
  color: #991b1b;
}

@media (max-width: 1024px) {
  .navbar {
      flex-wrap: wrap;
      padding: 0.5rem;
  }

  .navbar-center {
      order: 3;
      width: 100%;
      margin-top: 0.5rem;
      overflow-x: auto;
  }

  .dropdown-content {
      position: static;
      box-shadow: none;
      margin-left: 1rem;
  }
}

.warning {
  color: red;
  font-size: 0.9em;
  margin-top: 0.5em;
}

/* Mobile warning message */
.mobile-warning {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  color: #333;
  border: 2px solid #991b1b;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  padding: 15px;
  max-width: 90%;
  z-index: 2000;
  text-align: center;
  font-size: 14px;
}

.mobile-warning-close {
  display: block;
  margin: 12px auto 0;
  padding: 8px 15px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-family: sans-serif;
  font-weight: bold;
}

/* Only show on screens smaller than 768px (typical tablet size) */
@media (max-width: 767px) {
  .mobile-warning.active {
    display: block;
  }
}

button[type="submit"],
input[type="submit"],
.button,
.ast-button {
    background-color: #d8e0ef;
    color: #333;
    border: 2px solid #ccc;
    padding: 0.7em 1.2em;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-family: sans-serif;
    font-weight: bold;
    transition: background-color 0.2s ease;
    display: inline-block;
}

button[type="submit"]:hover,
input[type="submit"]:hover,
.button:hover,
.ast-button:hover,
button[type="submit"]:focus,
input[type="submit"]:focus,
.button:focus,
.ast-button:focus {
    background-color: #c0c8d8;
    color: #fff;
    border-color: #bbb;
}

button[type="submit"]:disabled,
input[type="submit"]:disabled,
.button:disabled,
.ast-button:disabled {
    background-color: #eee;
    color: #999;
    border-color: #ddd;
    cursor: default;
}

label {
    font-size: 1.1em;
    margin-bottom: 0.5em;
}

table.display {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
    margin-bottom: 1em;
    border: 1px solid #ddd;
    font-size: 0.95em;
    background-color: white;
}

table.display th,
table.display td {
    border: 1px solid #ddd;
    padding: 0.6em;
    text-align: left;
}

table.display thead th {
    background-color: #f0f0f0;
    font-weight: bold;
    letter-spacing: 0.05em;
}

table.display tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.display td a {
    text-decoration: underline;
    color: #000080;
}

table.display td a:hover,
table.display td a:focus {
    color: #0000c0;
}