/* Стили для поисковых полей и фильтров */
.search-field-container {
    position: relative;
}

.clear-search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    display: none;
}

.clear-search-button:hover {
    color: #555;
}

.search-field-container input:focus + .clear-search-button,
.search-field-container input:not(:placeholder-shown) + .clear-search-button {
    display: block;
}

/* Стили для полей даты и времени */
.date-field, .time-field {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.date-control-btn, .time-control-btn {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.clear-date-button, .clear-time-button {
    cursor: pointer;
    font-size: 14px;
    color: #999;
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.clear-date-button:hover, .clear-time-button:hover {
    color: #fff;
    background-color: #dc3545;
}

/* Улучшение видимости заголовков таблицы */
.card-body {
    position: relative;
}

.table thead th {
    padding-top: 15px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
}

.filter-box {
    width: 100%;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.filter-button {
    flex: 1;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    color: #495057;
}

.filter-button.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.filter-button:hover:not(.active) {
    background-color: #e9ecef;
} 