/* Навигационная панель */
.menu-link {
  text-decoration: none;
  color: #030303;
  position: relative;
}

.menu-icon {
  font-size: 20px;
  position: relative;
}

/*
.request-count {
  position: absolute;
  top: -5px;
  right: -10px;
  #background: red;
  color: white;
  border-radius: var(--radius-round);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
*/
/* Контейнер расписания */
#schedule-container {
  max-width: 800px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

/* Форма расписания */
/*
#schedule-form-container {
  margin: 20px 0;
}

#schedule-form-container h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

#schedule-form {
  #background: #f9f9f9;
  padding: 15px;
  border-radius: var(--radius-sm);
  border: 1px solid #ddd;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#schedule-venue,
#schedule-date {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

#schedule-users {
  width: 100%;
  height: 100px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.form-group button {
  margin-top: 5px;
  padding: 6px 12px;
  background: #065fd4;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.form-group button:hover {
  background: #054aa6;
}

.submit-button {
  width: 100%;
  padding: 10px;
  background: #065fd4;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
}

.submit-button:hover {
  background: #054aa6;
}
*/

#schedule-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bg-primary);
  padding: 20px;
  border-radius: var(--radius-xl);
  color: var(--color-text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.shedule-form-group {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shedule-form-group.full-width {
  flex: 1 1 100%;
}

input[type="date"],
select,
button {
  padding: 8px;
  border: 1px solid #444;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

select[multiple] {
  height: 100px;
}

button {
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #333;
}

.submit-button {
  align-self: flex-start;
  padding: 10px 20px;
  background-color: var(--color-btn-success);
  border: none;
  font-weight: bold;
}

.submit-button:hover {
  background-color: #43a047;
}
/*
#selected-users-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#selected-users-list li {
  padding: 4px 8px;
  background-color: #333;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
*/

#selected-users-list {
  list-style: none;
  padding: 0;
}

#selected-users-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  border-bottom: 1px solid #eee;
}

#selected-users-list li button {
  padding: 3px 8px;
  background: #f1f1f1;
  color: #030303;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

#selected-users-list li button:hover {
  background: #e0e0e0;
}



/*######################################################################*/
/* Текущее расписание */
#current-schedule {
  margin-top: 20px;
}

#current-schedule h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

#venue-schedule div {
  padding: 10px;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#venue-schedule .users-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#venue-schedule .user-item {
  display: flex;
  align-items: center;
  background: #f1f1f1;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

#venue-schedule .remove-user {
  margin-left: 5px;
  color: #ff4444;
  cursor: pointer;
  font-weight: bold;
}

#venue-schedule .remove-user:hover {
  color: #cc0000;
}

#venue-schedule div .remove-date-button {
  padding: 3px 8px;
  background: #f1f1f1;
  color: #030303;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

#venue-schedule div .remove-date-button:hover {
  background: #e0e0e0;
}


/* venue shedule main and kitchen */
/*
.schedule-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-container h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.schedule-day {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.schedule-day:last-child {
  border-bottom: none;
}

.schedule-day h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #555;
}

.schedule-section {
  margin-bottom: 15px;
}

.schedule-section h3 {
  font-size: 16px;
  margin-bottom: 8px;
  #color: #777;
}

.schedule-section label {
  display: block;
  margin-bottom: 5px;
}

.schedule-section input {
  width: 100px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.schedule-day button {
  padding: 8px 16px;
  background: #065fd4;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}

.schedule-day button:hover {
  background: #054aa6;
}


*/


/* Контейнер всех карточек */
#schedule-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px;
  justify-content: flex-start;
}

/* Карточка дня */
.schedule-day {
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-xl);
  padding: 16px;
  width: calc(50% - 50px); /* две карточки в ряд */
  color: var(--color-text-primary);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Заголовок дня */
.schedule-day h2 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}

/* Общий контейнер для Establishment и Kitchen */
.schedule-pair {
  display: flex;
  gap: 12px;
  #flex-wrap: wrap;
}

/* Каждая секция */
.schedule-section {
  #flex: 1 1 48%;
  width: 50%;
  #background-color: #2d2d2d;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-sizing: border-box;
}

.schedule-section h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.schedule-section label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.schedule-section input {
  width: 70%;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #444;
  background-color: #111;
  color: var(--color-text-primary);
  font-size: 0.85rem;
}

/* Кнопка сохранения */
.save-schedule-btn {
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: var(--color-btn-success);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.save-schedule-btn:hover {
  background-color: #45a045;
}

/* Свитчер кухни */
.kitchen-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text-primary);
}

/* Адаптив: одна карточка в ряд */
@media (max-width: 768px) {
  .schedule-day {
    width: 100%;
  }
/*
  .schedule-section {
    flex: 1 1 100%;
  }
*/
}



.switch-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-label input {
  display: none;
}

.switch-slider {
  width: 40px;
  height: 20px;
  background-color: #555;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 1px;
  top: 1px;
  background-color: white;
  border-radius: var(--radius-round);
  transition: 0.3s;
}

.switch-label input:checked + .switch-slider {
  background-color: var(--color-btn-success);
}

.switch-label input:checked + .switch-slider::before {
  transform: translateX(20px);
}



/* profiles for shedules */
.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
￼   flex-wrap: wrap;
￼   justify-content: center;
}

.profile-item {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-round);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, border 0.2s;
    border: 2px solid transparent;
}

