body {
    background-color: #f8f9fa;
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.table {
    margin-bottom: 0;
}

.table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
}

.table-responsive {
    max-height: 500px;
    overflow-y: auto;
}

.progress {
    height: 30px;
    border-radius: 15px;
}

.progress-bar {
    font-size: 14px;
    font-weight: 500;
    line-height: 30px;
}

#loadingIndicator {
    padding: 40px;
}

textarea {
    font-family: monospace;
    font-size: 14px;
}

.btn {
    border-radius: 6px;
    font-weight: 500;
}

/* Стили для кнопки статуса времени */
#timeStatusBtn {
    transition: all 0.3s ease;
}

#timeStatusBtn.time-normal {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

#timeStatusBtn.time-warning {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

#timeStatusBtn.time-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.alert {
    border-radius: 10px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.badge {
    font-size: 14px;
    padding: 6px 12px;
}

/* Стили для таблицы результатов */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,.075);
}

/* Стили для списка таблиц */
#tablesList {
    max-height: 200px;
    overflow-y: auto;
}

#tablesList .badge {
    font-size: 12px;
    margin: 2px;
}

#toggleTablesLink {
    cursor: pointer;
}

#toggleTablesLink:hover {
    text-decoration: underline !important;
}