/* Общие стили для страницы заказа */
.order-details {
    font-family: 'Arial', sans-serif;
    margin: 30px;
}

/* Заголовок страницы */
.order-details h2 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Стиль для контейнеров */
.details-container, .financial-info {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.details-container h3, .financial-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Сетка для деталей заказа */
.details-grid, .financial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Стили для отдельных элементов */
.detail-item, .financial-item {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.detail-item strong, .financial-item strong {
    font-weight: bold;
}

/* Фильтр */
.filter-container {
    text-align: center;
    margin-bottom: 40px;
}

.department-filter {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}

/* Сетка для заказов */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.task {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.task p {
    font-size: 14px;
    color: #555;
}

/* Кнопка */
.action-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #5E81F5;
    color: white;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}

.action-button:hover {
    background-color: #005bb5;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .details-grid, .financial-grid {
        grid-template-columns: 1fr; /* 1 колонка для планшетов */
    }

    .tasks-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .order-details h2 {
        font-size: 22px;
    }

    .details-grid, .financial-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .tasks-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .department-filter {
        width: 100%; /* Фильтр по ширине экрана */
    }

    .action-button {
        width: 100%; /* Кнопка на всю ширину для мобильных */
    }
}

/* Дополнительная адаптация для маленьких экранов */
@media (max-width: 480px) {
    .order-details h2 {
        font-size: 20px;
    }

    .task {
        padding: 15px;
    }
}




/* Основной контейнер для задач */
/* Общие стили для страницы задач */
.task-details {
    font-family: 'Arial', sans-serif;
    margin: 30px;
}

/* Заголовок страницы */
.task-details h2 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Стиль для контейнеров */
.task-details-container, .task-info {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task-details-container h3, .task-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Сетка для деталей задачи */
.task-details-grid, .task-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Стили для отдельных элементов задачи */
.task-detail-item, .task-financial-item {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.task-detail-item strong, .task-financial-item strong {
    font-weight: bold;
}

/* Фильтр для задач */
.task-filter-container {
    text-align: center;
    margin-bottom: 40px;
}

.task-filter {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}

/* Сетка для задач */
.task-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.task {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.task p {
    font-size: 14px;
    color: #555;
}

/* Кнопка для добавления задачи */
.add-task-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #5E81F5;
    color: white;
    border-radius: 3px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
}

.add-task-button:hover {
    background-color: #005bb5;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .task-details-grid, .task-info-grid {
        grid-template-columns: 1fr; /* 1 колонка для планшетов */
    }

    .task-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .task-details h2 {
        font-size: 22px;
    }

    .task-details-grid, .task-info-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .task-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .task-filter {
        width: 100%; /* Фильтр по ширине экрана */
    }

    .add-task-button {
        width: 100%; /* Кнопка на всю ширину для мобильных */
    }
}

/* Дополнительная адаптация для маленьких экранов */
@media (max-width: 480px) {
    .task-details h2 {
        font-size: 20px;
    }

    .task {
        padding: 15px;
    }
}







/* Общие стили для страницы задач */
/* Общие стили для страницы задач */
.task-details {
    font-family: 'Arial', sans-serif;
    margin: 30px;
}

/* Заголовок страницы */
.task-details h2 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

/* Стиль для контейнеров */
.task-details-container, .task-info {
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.task-details-container h3, .task-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

/* Сетка для деталей задачи */
.task-details-grid, .task-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Стили для отдельных элементов задачи */
.task-detail-item, .task-financial-item {
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.task-detail-item strong, .task-financial-item strong {
    font-weight: bold;
}

/* Фильтр для задач */
.status-filter-form {
    text-align: center;
    margin-bottom: 40px;
}

.status-filter-form select {
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.status-filter-form input[type="submit"] {
    padding: 6px 20px;
    background-color: #5E81F5;
    color: white;
    border-radius: 3px;
    text-decoration: none;
    font-size: 16px;
}

/* Сетка для задач */
.tasks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.task-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стиль для фото задачи */
.task-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

/* Стиль для названия задачи */
.task-title h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

/* Даты задачи */
.task-dates p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* Статус задачи */
.task-status p {
    font-size: 14px;
    color: #555;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .task-details-grid, .task-info-grid {
        grid-template-columns: 1fr; /* 1 колонка для планшетов */
    }

    .tasks-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки для планшетов */
    }

    .task-card {
        padding: 15px; /* Уменьшаем отступы для планшетов */
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .task-details h2 {
        font-size: 22px;
    }

    .task-details-grid, .task-info-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .tasks-grid {
        grid-template-columns: 1fr; /* 1 колонка для мобильных */
    }

    .status-filter-form {
        width: 100%; /* Фильтр по ширине экрана */
    }

    .status-filter-form input[type="submit"] {
        width: 100%; /* Кнопка на всю ширину для мобильных */
    }

    .task-card {
        padding: 10px; /* Уменьшаем отступы для мобильных */
    }
}

/* Дополнительная адаптация для маленьких экранов */
@media (max-width: 480px) {
    .task-details h2 {
        font-size: 20px;
    }

    .task-card {
        padding: 10px;
    }
}

.tasks-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}





