/* Desktop Adaptation - Sidebar Layout */
@media (min-width: 768px) {
    /* Sidebar navigation on the left */
    .nav-bottom {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 180px;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px 0;
        border-top: none;
        border-right: 1px solid var(--glass-border);
        gap: 0;
        background: rgba(15, 12, 41, 0.95);
    }

    /* Nav items vertical layout */
    .nav-item {
        flex-direction: row;
        justify-content: flex-start;
        padding: 15px 25px;
        gap: 12px;
        font-size: 1rem;
        border-radius: 0;
    }

    .nav-item:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-item.active {
        background: rgba(255, 0, 153, 0.1);
        border-left: 3px solid var(--primary-color);
    }

    .nav-item i {
        font-size: 1.2rem;
        width: 24px;
        text-align: center;
    }

    /* Scan button as "Nuevo Ticket" at top */
    .scan-wrapper {
        order: -1;
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .scan-fab {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 45px;
        border-radius: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none !important;
    }

    .scan-fab::after {
        content: 'Nuevo Ticket';
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none !important;
    }

    .scan-fab i {
        font-size: 1rem !important;
    }

    /* Main container - full width minus sidebar */
    .container {
        margin-left: 180px;
        margin-right: 0;
        max-width: none !important;
        width: calc(100% - 180px);
        padding: 30px 50px;
        padding-bottom: 40px;
        box-sizing: border-box;
    }

    /* Remove any max-width restrictions on app */
    #app.container {
        max-width: none !important;
    }

    /* Content area centered within container */
    #view-content {
        max-width: 1000px;
        margin: 0 auto;
    }

    /* Header also centered */
    header.glass-panel {
        max-width: 1000px;
        margin: 0 auto 20px auto;
    }

    /* Glass panels */
    .glass-panel {
        padding: 30px !important;
    }

    /* Show desktop-only items */
    .desktop-only {
        display: flex !important;
    }

    /* Hide mobile-only items */
    .mobile-only {
        display: none !important;
    }
}

/* Larger screens - wider sidebar */
@media (min-width: 1200px) {
    .nav-bottom {
        width: 220px;
    }

    .container {
        margin-left: 220px;
        width: calc(100% - 220px);
        padding: 40px 80px;
    }

    .nav-item {
        padding: 15px 30px;
    }

    #view-content,
    header.glass-panel {
        max-width: 1100px;
    }
}
