/* painel/public/css/responsive.css */
/* Responsive Styles */

/* Desktop styles (1024px and up) */
@media (min-width: 1024px) {
    header.d-lg-none {
        display: none;
    }

    .sidebar {
        transform: translateX(0);
        position: fixed;
        height: 100vh;
        overflow-y: auto;
        top: 0;
        z-index: 1000;
    }

    .sidebar-logo {
        display: block !important;
    }

    .col-md-10 {
        margin-left: 250px;
        width: calc(100% - 250px);
    }

    .overlay {
        display: none !important;
    }

    header {
        display: none;
    }

    .content-area {
        padding-top: 2.5rem;
    }
}

/* Tablet styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023.98px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.5rem 1.5rem;
        height: 60px;
        z-index: 1000;
        display: flex;
        align-items: center;
    }

    .sidebar {
        position: fixed;
        top: 60px;
        left: -300px;
        width: 300px;
        height: calc(100vh - 60px);
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .sidebar.show {
        transform: translateX(300px);
    }

    .content-area {
        width: 100%;
        padding: 1.5rem;
        padding-top: 80px;
    }

    .overlay.show {
        display: block;
    }

    #sidebarToggle {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}

/* Mobile styles (below 768px) */
@media (max-width: 767.98px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 0.5rem 1.5rem;
        height: 60px;
        z-index: 1000;
        display: flex;
        align-items: center;
    }

    .sidebar {
        position: absolute;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
    }

    .sidebar.show {
        transform: translateX(100%);
    }

    .sidebar .nav-link {
        padding: 15px 25px;
        font-size: 1.1rem;
    }

    .content-area {
        padding: 1rem;
        padding-top: 70px;
    }

    .overlay.show {
        display: block;
    }

    #sidebarToggle {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
}
