@media (max-width: 600px) {
  html, body {
    max-width: 100%;
    padding: 0px!important;
  }

    .server-time-box {
    font-size: 20px !important;
    margin: 0px 0px 0px 5px;
  }

  h1 {
    font-size: 1.5em;
    text-align: center;
  }

  .form-group label {
    font-size: 1em;
  }

  #reservation-actions {
    display: contents!important;
  }

  .form-group {
    padding: 0 30px 0 30px!important;
  }

  .barber-column {
  min-width: 80%!important;
  margin: 0 20% 0 20%;
  }

  .barber-quick-actions {
    width: 100%;
    margin-bottom: 25px;
  }

  .walkin-btn {
    max-width: none;
    font-size: 14px;
  }

  .reservation {
    font-size: 0.95em;
  }

  button.reserve {
    font-size: 16px;
    width: 50%!important;
  }

  .barber-reservations {
    max-width: 333px!important;
  }

  .week-cell {
    min-width: 80px;
    padding: 3px;
    font-size: 0.8em;
  }

  .week-cell.time {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #333; /* wichtig: Hintergrundfarbe wieder setzen */
    border-right: 2px solid #111; /* optional */
  }

  .notification-box {
    font-size: 14px;
    padding: 10px;
  }

  input, select, button {
    font-size: 16px !important;
  }

  .calendar-scroll-wrapper {
    padding: 0!important;
  }

  #calendar-wrapper h2 {
    font-size: 1.3em;
  }

  .barber-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #admin-section {
    padding: 10px;
  }

  #weekly-calendar {
    min-width: max-content;
    max-width: 100%;
  }
  
  .barber-reservations {
    min-width: 100%;
    box-sizing: border-box;
  }

  .calendar-scroll-wrapper {
    display: flex;
    justify-content: flex-start!important; /* statt center */
    overflow-x: auto;
    padding: 0 10px;
  }

  .page-wrapper {
    padding-right: 10px;
    box-sizing: border-box;
  }

  .reservation-log-button {
    margin-left: 7px!important;
  }

  #login-history table {
    font-size: 0.8em;
    overflow-x: auto;
    display: block;
  }

  .date-nav-bar .date-jump-buttons button {
    font-size: .8em!important;
  }

  #nav-logo {
    height:50px!important;
  }

  html, body {
    touch-action: manipulation;
  }

  #kalendertitel {
    margin: 0px 2% 10px 2%!important;
  }

  #reservations {
    padding: 0% 10% 10% 10%!important;
  }

  #nav-reserve-btn {
    display: block!important;
    font-size: 25px;
    border-radius:6px;
    background:#222;
    color: white;
    border: 1px solid #444;
    cursor: pointer;
    width:30%!important;
    margin: 50px 0px 0px 0px !important;
    height: 30px!important;
    padding: 0px!important;
    position:static!important;
  }

  #weekday-headline {
    padding: 3px 12px 10px!important;
  }
  #selected-services-headline {
    font-size: 0.78rem;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .hide-on-mobile {
    display: none;
  }

  #set-pause-btn {
    align-self: flex-start;
    margin-top: 10px!important;
    margin-left: 20%!important;
  }

  .move-menu-popup {
    width:300px;
  }
  
  button.delete, button.edit {
    padding: 8px 11px !important;
  }

  .log-card {
    max-width: 290px!important;
  }

}

@media (max-width: 480px) {
  .next-client {
    font-size: 10px;
  }

.server-time-box {
  font-size: 15px !important;
  margin: 0px 0px 0px 5px;
  }
}

@media (max-width: 420px) {
  .server-time-box {
    font-size: 9px !important;
    margin: 0px 0px 0px 5px;
  }
}


