body {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.nav-pills .nav-link {
    color: #333;
    margin-bottom: 0.5rem;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
}

.nav-pills .nav-link:hover {
    background-color: #e9ecef;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.playlist-card {
    cursor: pointer;
    border: none;
}

.playlist-card .card-header {
    border-bottom: 2px solid #f0f0f0;
}

.playlist-card .card-footer {
    border-top: 1px solid #f0f0f0;
}

.table th {
    font-weight: 600;
    color: #6c757d;
}

.btn-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

#loginSection {
    max-width: 500px;
}

.device-status-online {
    color: #198754;
}

.device-status-offline {
    color: #dc3545;
}

.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Анимации для таблиц */
.table tbody tr {
    transition: background-color 0.2s;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Стики панель */
.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
}
