/* Mobile Improvements CSS */

/* Melhorias para o Menu Hambúrguer */
@media (max-width: 768px) {
    /* Aumentar área de clique do botão hambúrguer */
    .mobile-menu-toggle {
        padding: 0.5rem 0.7rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Menu hambúrguer com melhor contraste */
    nav {
        background: linear-gradient(135deg, rgba(5, 8, 18, 0.99) 0%, rgba(10, 14, 39, 0.99) 100%);
        border-left: 4px solid var(--neon-cyan);
        box-shadow: -5px 0 40px rgba(0, 0, 0, 0.8);
    }

    nav a {
        display: block;
        padding: 1rem;
        color: var(--text-light);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
        font-weight: 500;
    }

    nav a:hover {
        background: rgba(0, 217, 255, 0.1);
        border-left-color: var(--neon-cyan);
        color: var(--neon-cyan);
    }

    /* Botões menores em mobile */
    .btn-primary, .btn-secondary, .btn-header, button, .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.7rem;
        border-radius: 6px;
        min-height: 36px;
    }

    /* Inputs menores em mobile */
    input, select, textarea {
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
        border-radius: 6px;
    }

    /* Melhorar espaçamento em mobile */
    .header-content {
        gap: 0.5rem;
    }

    /* Ajustar logo em mobile */
    .logo {
        font-size: 1.1rem !important;
        letter-spacing: 0.5px;
        margin-top: 10px !important;
        display: inline-block !important;
    }
    
    /* Garantir exibição de imagens de produtos no mobile */
    .product-image img, .product-card img {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Painel Administrativo - Melhorias para Mobile */
@media (max-width: 768px) {
    /* Sidebar com melhor visibilidade */
    .sidebar {
        background: linear-gradient(180deg, rgba(5, 8, 18, 0.98) 0%, rgba(10, 14, 39, 0.98) 100%);
        border-right: 4px solid rgba(0, 217, 255, 0.6);
        box-shadow: 3px 0 30px rgba(0, 0, 0, 0.8);
    }

    .sidebar a {
        color: var(--text-light);
        padding: 0.8rem 1rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .sidebar a:hover {
        background: rgba(0, 217, 255, 0.15);
        border-left-color: var(--neon-cyan);
        color: var(--neon-cyan);
    }

    /* Header do admin com melhor contraste */
    header {
        background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 18, 0.95) 100%);
        border-bottom: 2px solid rgba(0, 217, 255, 0.4);
    }

    /* Botão toggle do sidebar */
    #sidebar-toggle {
        color: var(--neon-cyan);
        font-size: 1.3rem;
        padding: 0.4rem 0.6rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    #sidebar-toggle:hover {
        color: var(--neon-pink);
        transform: scale(1.1);
    }

    /* Overlay do sidebar */
    .sidebar-overlay {
        background: rgba(0, 0, 0, 0.6);
        z-index: 900;
    }

    /* Melhorar visibilidade dos cards */
    .modern-card {
        background: rgba(26, 31, 58, 0.6);
        border: 1px solid rgba(0, 217, 255, 0.2);
        border-radius: 12px;
    }

    /* Botões do admin menores */
    .btn-modern, .btn-neon-cyan, .btn-neon-pink {
        padding: 0.4rem 0.8rem;
        font-size: 0.65rem;
        border-radius: 6px;
    }

    /* Melhorar espaçamento */
    .p-4, .p-6, .p-8 {
        padding: 0.8rem;
    }

    .gap-4, .gap-6, .gap-8 {
        gap: 0.8rem;
    }
}

/* Melhorias gerais de acessibilidade */
button, a.btn, .btn-header, .mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
}

/* Melhorar contraste do texto */
.text-light {
    color: #e0e0ff;
}

.text-muted {
    color: #a0a0c0;
}

/* Transições suaves */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Remover transição de scroll */
html {
    scroll-behavior: smooth;
}
