/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    background: linear-gradient(120deg, #f6d365, #fda085);
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Контейнер для центрирования */
.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

/* Контейнер */
.container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

/* Шапка */
header {
    width: 100%;
    background: transparent;
    padding: 1rem;
    display: flex;
    justify-content: flex-start;
    user-select: none;
}
header h1 {
    font-size: 2.2rem;
    color: #333;
}

header p {
    font-size: 1rem;
    color: #666;
}

header a {
    text-decoration: none; /* Убирает нижнее подчеркивание */
    color: #333; /* Цвет как у заголовка */
}

/* Стили для шапки */
.left-menu-header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем логотип */
}

.left-menu-logo {
    font-size: 2.2rem;
    color: #333;
}

.left-menu-logo a {
    text-decoration: none;
    color: #333;
}

/* Контейнер для меню */
.left-menu-container {
    position: absolute; /* Меню не влияет на поток документа */
    top: calc(100% + 10px); /* Расположить меню под логотипом с отступом */
    left: 50%; /* Центрируем относительно родителя */
    transform: translateX(-50%); /* Смещаем на половину ширины */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10; /* Установим приоритет отображения */
}

/* Элементы меню */
.left-menu-item {
    position: relative;
    width: 30px; /* Размер иконки */
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s;
    margin-bottom: 10px;
}

.left-menu-item:hover {
    transform: scale(1.1);
}

/* Иконка меню */
.left-menu-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Всплывающая подсказка */
.left-menu-tooltip {
    position: absolute;
    top: 50%;
    left: 110%; /* Отступ справа от иконки */
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

.left-menu-item:hover .left-menu-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Навигация */
.navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 1rem;
}

.nav-blocks {
    display: flex;
    flex-wrap: wrap; /* Адаптивное оборачивание */
    gap: 1.5rem;
    justify-content: center;
}

.nav-block {
    width: 250px;
    height: 250px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    padding: 1rem;
}

.nav-block:hover {
    transform: scale(1.1);
    background: #f6d365;
}

.nav-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.nav-block p {
    font-size: 0.9rem;
    color: #666;
}

/* Форма */
.form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

input, textarea, select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #fda085;
    box-shadow: 0 0 4px rgba(253, 160, 133, 0.5);
}

/* Кнопка */
.btn {
    background: #fda085;
    color: #fff;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #f6d365;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .nav-block {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .nav-block {
        width: 100%; /* Блоки занимают всю ширину */
        height: auto; /* Высота автоматически подстраивается */
    }
}

/* Контейнер формы */
.form-container {
    position: relative; /* Устанавливаем контекст для абсолютного позиционирования */
}

/* Загрузочный экран */
.loading-overlay {
    position: absolute; /* Абсолютное позиционирование относительно .form-container */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    display: none; /* По умолчанию скрыт */
}

/* Анимация спиннера */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
    background-color: #4caf50; /* зеленый цвет для успеха */
    display: none; /* Изначально скрыто */
    z-index: 1000;
}

.notification.error {
    background-color: #f44336; /* красный цвет для ошибок */
}
/* Описание под заголовком */
.description {
    margin-bottom: 1rem; /* Отступ снизу */
    font-size: 1rem;
    color: #666;
}
/* Кнопка "Назад" */
.back-button {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.back-button svg {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    fill: #333; /* Начальный цвет иконки */
    transition: fill 0.3s ease; /* Анимация изменения цвета */
}

.back-button:hover {
    color: #fda085;
}

.back-button:hover svg {
    fill: #fda085; /* Цвет иконки при наведении */
}
        .header-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .refresh-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .refresh-button svg {
            width: 24px;
            height: 24px;
            fill: #030104;
        }

        .refresh-button:hover svg {
            fill: #555;
        }
.link {
  color: #f8bf71;               /* Основной цвет ссылки */
  text-decoration: none;         /* Убираем подчёркивание */
  font-weight: 500;              /* Полужирный шрифт */
  transition: color 0.3s ease;   /* Плавное изменение цвета */
}

.link:hover {
  color: #ff9e3a;               /* Оранжевый при наведении */
  cursor: pointer;              /* Курсор в виде руки */
}
/* Стиль для обязательных полей */
.form-group.required label::after {
    content: " *";
    color: red;
}

/* Стиль для ошибок валидации */
.form-group.error input {
    border-color: red;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.form-group.error label {
    color: red;
    transition: color 0.3s ease;
}

/* Стиль для полей с введенным текстом */
.form-group input:not(:placeholder-shown):valid,
.form-group input:focus:valid {
    border-color: #ccc;
}

.form-group input:not(:placeholder-shown):valid + label,
.form-group input:focus:valid + label {
    color: inherit;
}
.history-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    width: 100%;
}

.history-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
}

.history-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.history-item {
    position: relative; /* Для позиционирования внутренних элементов */
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px 40px; /* Увеличиваем нижний padding для даты */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 6px solid #ff8c42;
    transition: box-shadow 0.3s ease;
    min-height: 60px; /* Минимальная высота для карточек с малым текстом */
}

.history-date {
    position: absolute;
    right: 20px;
    bottom: 16px; /* Фиксированное положение от нижнего края */
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
    pointer-events: none;
}

.history-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95em;
    color: #666;
}

.history-tab {
    background: #ffd9a8;
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85em;
}

.history-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1em;
    color: #333;
}

.field strong {
    color: #222;
}

.history-empty {
    text-align: center;
    color: #999;
    font-size: 1.1em;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .history-item {
        padding: 14px 16px;
    }

    .history-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-link {
    text-decoration: none;
    padding: 8px 16px;
    background-color: #f1f1f1;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination-link:hover {
    background-color: #ff8c42;
    color: #fff;
}

.pagination-link.active {
    background-color: #ff8c42;
    color: #fff;
    font-weight: bold;
}

.pagination-ellipsis {
    padding: 8px 16px;
    background-color: #f1f1f1;
    color: #333;
}
.loginf-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.loginf-container h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.loginf-container label {
    font-size: 1rem;
    color: #333;
    display: block;
    margin-bottom: 8px;
    text-align: left;
}

.loginf-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.loginf-container .btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.btn .spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.btn.loading .spinner-overlay {
    visibility: visible;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loginf-notification {
    font-size: 0.9rem;
    color: #d9534f; /* Красный цвет для ошибок */
    margin-bottom: 15px;
    display: none; /* По умолчанию скрыт */
}

.loginf-notification--success {
    color: #5cb85c; /* Зеленый цвет для успеха */
}

.loginf-notification--visible {
    display: block;
}

a {
    color: #fab07a;
    text-decoration: none;
}
.divider {
    border-top: 1px solid #eee;
    margin: 24px 0;
}


        .buhi-applications-wrapper {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 50px 20px 50px 90px;
            gap: 30px;
            box-sizing: border-box;
            width: 100%;
        }

        .buhi-applications-menu {
            background-color: #fff;
            border-radius: 12px;
            padding: 20px;
            min-width: 200px;
            max-width: 250px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

        .buhi-applications-menu ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .buhi-applications-menu li {
            margin-bottom: 12px;
        }

        .buhi-applications-menu a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            display: block;
            padding: 6px 10px;
            border-radius: 6px;
            transition: background-color 0.2s, color 0.2s;
        }

        .buhi-applications-menu a:hover,
        .buhi-applications-menu a.active {
            background-color: #f2f2f2;
        }

        .buhi-applications-content {
            background-color: #fff;
            border-radius: 12px;
            padding: 30px;
            flex-grow: 1;
            min-width: 600px;
            max-width: 1000px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .buhi-applications-title {
            font-size: 26px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .search-form {
            display: flex;
            margin-bottom: 20px;
            max-width: 100%;
            position: relative;
        }

        .search-form input[type="text"] {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid #ccc;
            border-right: none;
            border-radius: 8px 0 0 8px;
            font-size: 16px;
        }

        .search-form button.search-button {
            padding: 0 16px;
            background-color: #f7cd69;
            border: 1px solid #ccc;
            border-left: none;
            border-radius: 0 8px 8px 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-form button img {
            width: 20px;
            height: 20px;
        }

        .search-form .filter-button {
            margin-left: 8px;
            padding: 0 14px;
            background-color: #f7cd69;
            border: 1px solid #ccc;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-form .filter-button:hover {
            background-color: #f9da86;
        }

        .filter-dropdown {
            position: absolute;
            top: 45px;
            right: 0;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 10px;
            padding: 10px 15px;
            z-index: 999;
            display: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            width: 220px; /* фиксированная ширина */
            overflow: visible; /* чтобы текст не обрезался */
        }
        
        .filter-dropdown label {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            font-size: 14px;
            cursor: pointer;
            white-space: nowrap; /* текст не переносится */
        }
        
        .filter-dropdown input[type="checkbox"] {
            margin-right: 8px;
            flex-shrink: 0; /* не сжимать чекбокс */
            width: 16px;
            height: 16px;
        }


        .filter-dropdown button {
            margin-top: 10px;
            padding: 5px 10px;
            background-color: #f7cd69;
            border: 1px solid #ccc;
            border-radius: 6px;
            cursor: pointer;
        }

        
        .search-count {
            color: #818c99;
            font-size: 14px;
        }

        /* Новые стили для заявки */
        .buhi-applications-application {
            border-bottom: 1px solid #eee;
            padding: 20px 0;
        }

        .buhi-applications-application-title {
            font-weight: 600;
            font-size: 16px;
            color: #f9b975;
            text-decoration: none;
            display: inline-block;
            margin-bottom: 10px;
            cursor: pointer;
            transition: color 0.3s;
        }
        .buhi-applications-application-title:hover {
            color: #e8a84a;
            text-decoration: none;
        }

        .buhi-applications-tags {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .buhi-applications-tag {
            background-color: rgba(249, 185, 117, 0.3); /* прозрачный вариант #f9b975 */
            border-radius: 12px;
            padding: 4px 12px;
            font-size: 12px;
            color: #7a5a3c;
            user-select: none;
            white-space: nowrap;
        }

        .buhi-applications-footer {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #666;
            font-weight: 500;
        }

        .buhi-applications-footer-left {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .buhi-applications-footer-left::after {
            content: '・';
            margin-left: 6px;
            margin-right: 6px;
            color: #ccc;
        }

        .buhi-applications-footer-status {
            color: #818c99;
            font-weight: 600;
        }

        @media (max-width: 900px) {
            .buhi-applications-wrapper {
                flex-direction: column;
                padding: 30px 20px;
            }

            .buhi-applications-content {
                min-width: auto;
                width: 100%;
            }

            .buhi-applications-menu {
                width: 100%;
                max-width: 100%;
            }
        }
        
        
        
        
        
        
        
        
        
        
        
        .buhi-application-details {
            margin-top: 10px;
            font-family: Arial, sans-serif;
            font-size: 14px;
            color: #333;

            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px 40px;
            max-width: 700px;
        }

        .buhi-application-detail-block {
            display: flex;
            flex-direction: column;
        }

        .buhi-application-detail-label {
            font-weight: 600;
            color: #888888;
            font-size: 13px;
            margin-bottom: 3px;
            user-select: none;
        }

        .buhi-application-detail-value {
            color: #222;
            word-break: break-word;
        }

        .buhi-application-detail-files {
            margin-top: 20px;
            font-weight: 600;
            color: #888888;
            font-size: 15px;
            margin-bottom: 3px;
            user-select: none;
        }

        /* Новый блок комментария (вопрос исполнителя) */
        .buhi-application-comment {
            margin-top: 20px;
            max-width: 700px;
            font-size: 14px;
            color: #333;
            /* никаких особых стилей — просто текст */

        }

        .buhi-application-footer {
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            width: 100%; /* Занимать всю ширину родителя */
            /* max-width: 700px; */ /* Можно убрать или оставить, если нужно */
            font-size: 13px;
            font-style: normal;
            padding: 0; /* Убедиться, что нет внутренних отступов */
        }

        .buhi-application-user {
            font-weight: 700;
            color: #333;
            margin: 0;
        }

        .buhi-application-date {
            color: #888;
            margin: 0;
            text-align: right;
            white-space: nowrap;
        }

        .buhi-applications-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 12px;
        }
        
        .buhi-applications-layout {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

        .buhi-applications-sidebar {
            background-color: #fff;
            border-radius: 12px;
            padding: 20px;
            min-width: 200px;
            max-width: 250px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
        }

        .buhi-sidebar-block p {
            margin: 10px 0;
        }
        
        .create-application-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            width: 100%;
            margin-top: 20px;
        }

        .create-application-label {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .create-application-input,
        .create-application-textarea,
        .create-application-select {
            width: 100%;
            padding: 8px;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 14px;
            box-sizing: border-box;
        }

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

        .create-application-button {
            padding: 12px 20px;
            background-color: #fda085;
            color: #fff;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
        }

        .create-application-button:hover {
            background-color: #fb8a61;
        }

        .buhi-applications-content {
            flex-grow: 1;
        }
        
        .file-upload-wrapper {
          position: relative;
          display: flex;
          align-items: center;
          gap: 12px;
        }
        
        .file-upload-input {
          position: absolute;
          left: 0;
          top: 0;
          width: 100%;
          height: 100%;
          opacity: 0;
          cursor: pointer;
        }
        
        .file-upload-button {
          padding: 8px 14px;
          background-color: #fda085;
          border: none;
          border-radius: 6px;
          color: white;
          font-size: 14px;
          cursor: pointer;
          transition: background-color 0.3s ease;
          user-select: none;
        }
        
        .file-upload-button:hover {
          background-color: #fb8a61;
        }
        
        .file-upload-filename {
          font-size: 14px;
          color: #666;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          max-width: 250px;
        }

.buhi-application-attachments {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.attachment-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.attachment-thumb:hover img {
    transform: scale(1.05);
}

.attachment-file {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f7cc6a, #fca581);
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    border: none;
}

.attachment-file:hover {
    transform: scale(1.05);
}

/* Стили модального окна */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.image-modal img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.modal-close:hover {
    color: #f7cd69;
}
.buhi-application-comment-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.buhi-application-comment-item {
    display: flex;
    align-items: flex-start;
    padding: 0;
    border-radius: 8px;
    max-width: 700px;
}

.buhi-application-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.buhi-application-comment-content {
    flex: 1;
}

.buhi-application-comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.buhi-application-comment-text {
    font-size: 14px;
    color: #444;
    white-space: pre-line;
}

/* Форма комментария */
.buhi-application-comment-form {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    max-width: 700px;
    gap: 8px;
}

.buhi-application-comment-textarea {
    flex: 1;
    resize: vertical;
    min-height: 60px;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-family: inherit;
}

/* Кнопка отправки */
.buhi-application-comment-submit {
    width: 30px;    /* ширина кнопки */
    height: 30px;   /* высота кнопки */
    position: relative; /* для псевдоэлемента */
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    transition: color 0.2s ease;
    color: gray;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    box-sizing: content-box;
    z-index: 1; /* чтобы кнопка была поверх псевдоэлемента */
    margin-top: 10px;
}

.buhi-application-comment-submit svg {
    width: 40px;  
    height: 40px;
    stroke-width: 2;
}


.buhi-application-comment-submit:disabled {
    cursor: default;
    color: gray;
}

.buhi-application-comment-submit.enabled {
    color: #fbad7d;
}

/* Псевдоэлемент под кнопкой */
.buhi-application-comment-submit::before {
    content: "";
    position: absolute;
    top: 45%;
    left: 55%;
    width: 40px;  /* больше кнопки */
    height: 40px; /* больше кнопки */
    background-color: rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1; /* под кнопкой */
}

.buhi-application-comment-submit.enabled:hover::before {
    opacity: 1;
}
.buhi-user-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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