body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    background-color: #fafafa;
}
/* Верхнее меню */
.top-menu {
    display: flex;
    border-bottom: 1px solid #ddd;
}
.top-menu a {
    padding: 12px 20px;
    text-decoration: none;
    color: #9e9e9e;
    font-weight: 500;
}
.top-menu a.active {
    background-color: #4CAF50;
    color: white;
}

.working {
    background-color: #c8e6c9; /* зеленый для рабочих дней */
}

.non-working {
    background-color: #ffcdd2; /* красный для выходных/нерабочих */
}

.worker-list {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}



.list-group-item.active {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.btn-success {
    background-color: #4CAF50;
    color: white;
}

.card-header {
    background-color: #4CAF50;
    color: white;
}

.active {
    background-color: #4CAF50;
    color: white;
}

.form-select {
    border-color:  #4CAF50;
}

.form-select:focus {
    border-color:  #4CAF50;
    box-shadow: 0 0 0 0.25rem rgba(0, 53, 0, 0.25);
    outline: none;
}

.form-select option:focus {
    background-color: #4CAF50;
    color: white;
}

.form-select option:checked {
    background-color: #4CAF50;
    color: white;
}

.form-select option:hover {
    background-color: #4CAF50;
    color: white;
}

/* Заголовок заказа + поиск */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
/* Раздел с основной инфой */
.order-section {
    padding: 15px;
}
.order-section p {
    margin: 0;
    line-height: 1.6;
}
/* Нижняя секция */
.order-info {
    padding: 15px;
    border-top: 1px solid #000;
}
/* Кнопка добавления */
.fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: none;
    cursor: pointer;
}
.fab:hover {
    background-color: #45a049;
}

.timeline {
    display: flex;
    flex-direction: column; /* размещаем задачи сверху вниз */
    gap: 5px; /* расстояние между задачами */
    position: relative;
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
}
.task-block {
    position: relative; /* нужен для left */
    height: 25px;
    background-color: #4caf50;
    color: #fff;
    padding-left: 5px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Зеленые ссылки для пагинации */
.pagination .page-link {
    color: #28a745; /* bootstrap green */
}

.pagination .page-link:hover {
    color: #218838;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Переопределяем цвет фона для заголовка таблицы с table-success */
thead.table-success tr {
    background-color: #45a049; /* светло-зелёный, можно поставить свой */
    color: #fff; /* цвет текста */
}

/* Ховер по строкам (если нужно) */
thead.table-success tr:hover {
    background-color: #28a745; /* темнее при наведении */
}

.status-IN_PROGRESS { background-color: #f39c12; }
.status-NEW { background-color: #3498db; }
.status-COMPLETED { background-color: #2ecc71; }
.status-CANCELED { background-color: #FF0033; }

.timeline-form {
    margin-bottom: 20px;
}