/**
 * Responzivní úpravy
 */

@media (max-width: 768px) {
    .filters-search-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .filters-container {
        width: 100%;
        overflow-x: auto;
        margin-right: 0;
    }
    
    .search-panel {
        width: 100%;
    }
    
    .search-container {
        width: 100%;
    }
    
    .section-header-row,
    .page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
    
    .filter-tab {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .filter-tab i {
        margin-right: 0.25rem;
    }
    
    .client-form-container,
    .client-detail-container,
    .invoice-detail-container,
    .invoice-form-container,
    .home-container,
    .settings-container {
        padding: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: left;
    }
    
    .action-buttons-container .d-flex:first-child {
        flex-direction: column;
        gap: 1rem;
    }
    
    .status-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .invoice-amount {
        text-align: center;
    }
    
    .client-type-option,
    .modern-checkbox-label {
        padding: 1rem;
    }
    
    .checkbox-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .checkbox-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .welcome-section .row {
        text-align: center;
    }
    
    .welcome-section .col-md-4 {
        margin-top: 1rem;
    }
    
    .quick-actions {
        text-align: center;
    }
    
    .setup-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-icon {
        margin: 0 auto;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .stat-content {
        order: -1;
    }
    
    .stat-action {
        position: static;
        margin-top: 0.5rem;
    }

    .table-container {
        overflow-x: auto;
        overflow-y: visible;
    }
    
    .data-table .dropdown-menu {
        position: fixed;
        z-index: 1060;
    }

    .dropdown-menu-responsive {
        min-width: 180px;
        font-size: 0.9rem;
    }
    
    .table-bottom-space {
        height: 60px;
    }
    
    .color-settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 600px) {
    .dropdown-menu {
        position: fixed !important;
        z-index: 1060 !important;
    }
}