body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background: #f5f5f5;
  color: #333;
}

h1 {
  text-align: center;
}

form, #dashboard {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

button {
  padding: 8px 16px;
  font-size: 1rem;
  cursor: pointer;
}

#message, #loginMessage {
  margin-top: 15px;
  color: green;
}

#loginMessage {
  color: red;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
    background-color: #f2f2f2;
}

input[type="text"], input[type="password"], select {
  width: 100%;
  padding: 6px;
  box-sizing: border-box;
}

input[type="checkbox"] {
  transform: scale(1.2);
}

.next-buff-info {
  margin-bottom: 5px;
  font-size: 0.95em;
  font-weight: normal;
}
.container {
    display: flex;
    justify-content: space-around; /* Fördelar utrymmet jämnt */
    align-items: flex-start; /* Toppjusterar innehållet */
    margin: 20px auto;
    max-width: 1200px; /* Begränsar totala bredden */
}

.booking-form {
    width: 45%; /* Justera bredden efter behov */
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.booking-schedule {
    width: 45%; /* Justera bredden efter behov */
    overflow-x: auto; /* Lägger till horisontell scroll om tabellen är för bred */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

/* Responsivitet för mindre skärmar */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Staplar innehållet vertikalt */
        align-items: stretch; /* Sträcker ut innehållet till full bredd */
    }

    .booking-form, .booking-schedule {
        width: 100%; /* Tar upp hela bredden */
        margin-bottom: 20px; /* Lägger till utrymme under varje avsnitt */
    }
}
#currentTime {
    text-align: center;
    font-size: 2em; 
    margin: 10px 0; 
    font-weight: bold;
    color: #008000;
}

