body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
}

.table th {
    border-top: none;
}

.alert {
    margin-bottom: 1rem;
}

footer {
    margin-top: auto;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .btn-group .btn {
        margin-bottom: 0.25rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}
.table-responsive {
    max-height: 400px;
    overflow-y: auto;
}
.table th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 1;
}
