/* Temporary for list of beers for brewery page TODO replace it*/
        .item-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        .item .name {
            font-weight: bold;
            color: #333;
        }
        .item .price {
            color: #007BFF;
        }
        .empty {
            text-align: center;
            color: #888;
            font-size: 16px;
            margin-top: 20px;
        }
/* ########################################################### */

/* #######################################
    Review card 
   ####################################### */
.review_card {
  width: 240px;
  padding: 2rem;
}

.review_card_header {
  padding: 1rem;
  height: 3rem;
}

.review_card_content {
  padding: 1rem;
}

.review_card_header h1,
.review_card_content h1,
.review_card_content h2,
.review_card_content p {
  margin: 0;
}

.card-beverage-pic {
  width: 100%;
  min-width: 240px;
}

.review_card_actions {
  padding: 1rem;
  text-align: center;
}

.review_card_actions button,
.review_card_actions a {
  margin: 0 0.25rem;
}

.review_card_image {
    #display: flex;
  position: relative; /* Создаем контекст для позиционирования */
  display: inline-block; /* Чтобы контейнер соответствовал размеру картинки */
}

.review_card_image a {
  width: 100%;
}

.card-user-avatar-link {
  position: absolute;
  left: 10px; /* Отступ от правого края */
  bottom: 10px; /* Прижимаем к нижнему краю */
  z-index: 2; /* Чтобы была поверх основной картинки */
  
  /* Стили для самой картинки заведения */
  display: inline-block;
  width: 30%; /* Размер относительно основной картинки */
  max-width: 40px; /* Максимальный размер */
  height: auto;
  border-radius: 20%; /* Круглая форма (опционально) */
  border: 2px solid white; /* Белая рамка (опционально) */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Тень (опционально) */
}

.card-venue-pic-link {
  position: absolute;
  right: 10px; /* Отступ от правого края */
  bottom: 10px; /* Прижимаем к нижнему краю */
  z-index: 2; /* Чтобы была поверх основной картинки */

  /* Стили для самой картинки заведения */
  display: inline-block;
  width: 30%; /* Размер относительно основной картинки */
  max-width: 40px; /* Максимальный размер */
  height: auto;
  border-radius: 20%; /* Круглая форма (опционально) */
  border: 2px solid white; /* Белая рамка (опционально) */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Тень (опционально) */

}

.review_card_image .card-user-avatar {
    #top: -50px; /* Поднимаем кнопку над аватаром */
    #right: -5px; /* Смещаем вправо */
    width: 40px;
    height: 40px;
    #background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Убеждаемся, что кнопка выше аватара */
}

.review_card_image .card-venue-pic {
    width: 40px;
    height: 40px;
    #background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Убеждаемся, что кнопка выше аватара */
}

/*### Sliders for beverage details */
        .slider-text-list {
            display: flex;
            flex-direction: row;
            gap: 15px;
        }
        .slider {
            width: 100%;
        }
.slider-container {
    margin-bottom: 20px;
    width: 100%; /* Ограничиваем ширину */
    #max-width: 500px; /* Максимальная ширина */
    text-align: center;
}

.slider-container .value,.description {
    font-size: 16px; /* Размер шрифта */
    font-weight: bold; /* Жирный текст */
    display: block;
    margin-bottom: 8px;
    color: #e0e0e0; /* Светло-серый текст */
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%; /* Растянуть на всю ширину контейнера */
    height: 8px;
    background: #444; /* Тёмный фон слайдера */
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff5722; /* Оранжевый цвет ползунка */
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.7); /* Эффект свечения */
    transition: background 0.3s, box-shadow 0.3s;
}

input[type="range"]:hover::-webkit-slider-thumb {
    background: #ff784e; /* Более яркий при наведении */
    box-shadow: 0 0 8px rgba(255, 120, 78, 0.9); /* Увеличиваем свечение */
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff5722;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(255, 87, 34, 0.7);
    transition: background 0.3s, box-shadow 0.3s;
}

input[type="range"]:hover::-moz-range-thumb {
    background: #ff784e;
    box-shadow: 0 0 8px rgba(255, 120, 78, 0.9);
}

/* Стили для панели выбора профилей */
.profile-selector {
    margin: 20px 0;
    padding: 20px;
    background-color: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    align-content: center;
}

.venue-selector-tiny {
    max-width: 15%;
}

.profile-selector h3 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 18px;
}


.profile-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
￼   flex-wrap: wrap;
￼   justify-content: center;
}

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

.profile-item.selected {
    border: 2px solid #4caf50;
    transform: scale(1.1);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%); /* Фотографии в серых оттенках */
    transition: filter 0.2s;
}

.profile-item.selected .profile-image {
    filter: grayscale(0%); /* Цветная фотография при выборе */
}

.form-group input, .form-group select {
    width: 80%;
}

/* Стили секции комментариев */
.comment-section {
    margin: 20px 0;
    padding: 20px;
    background-color: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.comment-section h3 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 18px;
}

/* Поле ввода комментария */
.comment-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #444444;
    border-radius: 6px;
    background-color: #333333;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    box-sizing: border-box;
}

.comment-input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

/* Кнопка отправки */
.submit-button {
    padding: 10px 25px;
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #45a049;
}

/* Стили для кнопки поиска */
/*
.search-button {
    padding: 10px 20px;
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
    max-height: 36px;
}

.search-button:hover {
    background-color: #45a049;
}
*/
/* Стили для модального окна поиска */
.search-modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #2d2d2d;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 1; /* Убедимся, что окно не тусклое */
    #transition: opacity 0.3s ease;
    pointer-events: auto; /* Убедимся, что окно интерактивно */
    color: white;
}
.search-modal[style*="display: block"] {
    opacity: 1;
}

.search-modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-input {
    padding: 10px;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #333333;
    color: #ffffff;
    font-size: 14px;
    width: 300px;
}

.search-input:focus {
    outline: none;
    border-color: #4caf50;
}

.search-results {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: #333333;
    border-radius: 4px;
    border: 1px solid #444444;
}

.search-results li {
    padding: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-results li:hover {
    background-color: #444444;
}

/* Затемнение фона при открытии модального окна */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

/* Адаптивность */
@media (max-width: 768px) {
    .profile-selector,
    .comment-section {
        margin: 10px 0;
        padding: 15px;
    }

    .profile-item {
        width: 50px;
        height: 50px;
    }

    .form-actions {
        text-align: right;
    }

    .inline-group {
        flex-direction: row;
        gap: 15px;
    }

    .submit-button {
        width: 100%;
        padding: 12px;
    }

    .search-modal {
        width: 90%;
        max-width: 400px;
        z-index: 10000;
        opacity: 1;
        pointer-events: auto;
    }
    .search-input {
        width: 90%;
    }
    .search-results {
        width: 95%;
    }
}

/* venue avatar */
.avatar {
    position: relative;
    display: flex;
    flex-direction: column; /* Оставляем колонку для правильного порядка */
    align-items: center;
    width: 60px; /* Фиксируем ширину контейнера */
}

.avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar span {
    color: #ddd;
    font-size: 12px;
    margin-top: 5px; /* Отступ сверху, чтобы имя было под аватаром */
    text-align: center;
    width: 100%; /* Убеждаемся, что текст занимает доступное место */
    word-wrap: break-word; /* Перенос длинных имен */
}

.avatar .remove-user-btn {
    position: absolute;
    top: -10px; /* Поднимаем кнопку над аватаром */
    right: -5px; /* Смещаем вправо */
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Убеждаемся, что кнопка выше аватара */
}

.avatar .remove-user-btn:hover {
    background-color: #cc0000;
}

.selected-venue-pic {
    position: relative;
    display: flex;
    flex-direction: column; /* Оставляем колонку для правильного порядка */
    align-items: center;
    width: 90px; /* Фиксируем ширину контейнера */
}

.selected-venue-pic img {
    width: 80px;
    height: 80px;
    border-radius: 5%;
    object-fit: cover;
}

.selected-venue-pic span {
    color: #ddd;
    font-size: 18px;
    margin-top: 5px; /* Отступ сверху, чтобы имя было под аватаром */
    text-align: center;
    width: 100%; /* Убеждаемся, что текст занимает доступное место */
    word-wrap: break-word; /* Перенос длинных имен */
}

.selected-venue-pic .remove-user-btn {
    position: absolute;
    top: -10px; /* Поднимаем кнопку над аватаром */
    right: -5px; /* Смещаем вправо */
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Убеждаемся, что кнопка выше аватара */
}

.selected-venue-pic .remove-user-btn:hover {
    background-color: #cc0000;
}

/* barmen avatar */
.barmen-avatar {
    position: relative;
    display: flex;
    flex-direction: column; /* Оставляем колонку для правильного порядка */
    align-items: center;
    width: 60px; /* Фиксируем ширину контейнера */
}

.barmen-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%); /* Фотографии в серых оттенках */
    transition: filter 0.2s;
}

.avatar-active {
    filter: grayscale(0%) !important;
}

.barmen-avatar.selected {
    border: 2px solid #4caf50;
    transform: scale(1.1);
}

.barmen-avatar.selected img {
    filter: grayscale(0%); /* Цветная фотография при выборе */
}

.barmen-avatar span {
    color: #ddd;
    font-size: 12px;
    margin-top: 5px; /* Отступ сверху, чтобы имя было под аватаром */
    text-align: center;
    width: 100%; /* Убеждаемся, что текст занимает доступное место */
    word-wrap: break-word; /* Перенос длинных имен */
}

.barmen-avatar .remove-user-btn {
    position: absolute;
    top: -10px; /* Поднимаем кнопку над аватаром */
    right: -5px; /* Смещаем вправо */
    width: 20px;
    height: 20px;
    background-color: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Убеждаемся, что кнопка выше аватара */
}

.barmen-avatar .remove-user-btn:hover {
    background-color: #cc0000;
}



.form-section {
￼    border: 1px solid #444;
￼    border-radius: 5px;
￼    padding: 15px;
￼    background-color: #333;
     width: 96%;
     display: flex;
     flex-direction: row;
     margin-top: 10px;
}

