/**
 * Estilos Padronizados do Menu Raiz
 * Inclua este arquivo em todos os arquivos da pasta raiz para garantir consistência visual
 */

/* Importar fonte Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* Estilos base do sidebar */
.sidebar-root {
    min-height: 100vh;
    background-color: #111827; /* bg-gray-900 */
    width: 16rem; /* w-64 */
    padding: 1.5rem; /* p-6 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', sans-serif; /* Fonte padronizada */
    border-right: 1px solid #1f2937; /* border-gray-800 */
}

/* Logo */
.sidebar-root .logo-root {
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.sidebar-root .logo-root:hover {
    animation: logoPulse 0.6s ease-in-out infinite;
    transform: scale(1.05);
}

/* Animação de flutuação suave */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animação de pulso no hover */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Informações do servidor */
.sidebar-root .text-sm {
    font-size: 0.875rem;
}

.sidebar-root .text-gray-400 {
    color: #9ca3af;
}

.sidebar-root .font-bold {
    font-weight: 700;
}

.sidebar-root .mb-4 {
    margin-bottom: 1rem;
}

.sidebar-root .mb-8 {
    margin-bottom: 2rem;
}

.sidebar-root .border-b {
    border-bottom-width: 1px;
    border-color: #1f2937; /* border-gray-800 */
}

.sidebar-root .pb-4 {
    padding-bottom: 1rem;
}

/* Botões */
.sidebar-root button {
    transition: all 0.3s ease;
}

.sidebar-root button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Navegação */
.sidebar-root nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* space-y-2 */
}

/* Itens do menu */
.sidebar-root .nav-item-root {
    display: block;
    padding: 0.5rem 0.75rem; /* py-2 px-3 - igual ao menu membro */
    border-radius: 0.5rem; /* rounded-lg - igual ao menu membro */
    text-decoration: none;
    font-size: 0.875rem; /* text-sm - igual ao menu membro */
    line-height: 1.5;
    transition: all 0.2s ease-in-out;
}

/* Item inativo */
.sidebar-root .nav-item-root:not(.text-lime-400):not(.font-medium) {
    color: #e5e7eb; /* text-gray-200 */
}

.sidebar-root .nav-item-root:not(.text-lime-400):not(.font-medium):hover {
    color: #84cc16; /* text-lime-400 */
    background-color: #1f2937; /* bg-gray-800 - igual ao menu membro */
}

/* Item ativo */
.sidebar-root .nav-item-root.text-lime-400,
.sidebar-root .nav-item-root.font-medium {
    color: #84cc16; /* text-lime-400 */
    background-color: #1f2937; /* bg-gray-800 - igual ao menu membro */
    font-weight: 500;
}

/* Rodapé */
.sidebar-root .text-xs {
    font-size: 0.75rem;
}

.sidebar-root .mt-8 {
    margin-top: 2rem;
}

.sidebar-root .mb-2 {
    margin-bottom: 0.5rem;
}

.sidebar-root .font-semibold {
    font-weight: 600;
}

.sidebar-root a[href*="discord"] {
    color: #84cc16; /* text-lime-400 */
    transition: color 0.2s ease-in-out;
}

.sidebar-root a[href*="discord"]:hover {
    color: #a3e635; /* text-lime-300 */
}

/* Wrapper do conteúdo principal */
.main-content-wrapper {
    margin-left: 16rem; /* margin-left: w-64 */
    min-height: 100vh;
    flex: 1;
}

/* Responsividade */
@media (max-width: 1024px) {
    .sidebar-root {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
    }
    
    .main-content-wrapper {
        margin-left: 0;
        padding-left: 0;
    }
}

/* Estilos para mobile menu */
@media (max-width: 1024px) {
    .sidebar-root.mobile-open {
        transform: translateX(0);
    }
    
    .sidebar-root:not(.mobile-open) {
        transform: translateX(-100%);
        position: fixed;
    }
}


