/* Adicione ao final do arquivo style.css existente */

/* Layout com Sidebar */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.sidebar.collapsed .sidebar-header h4 {
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar-menu i {
    font-size: 1.1rem;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.sidebar.collapsed .sidebar-menu span {
    display: none;
}

.sidebar.collapsed .sidebar-menu a {
    justify-content: center;
    padding: 15px 10px;
}

.sidebar.collapsed .sidebar-menu i {
    margin-right: 0;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 250px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.main-content.expanded {
    margin-left: 70px;
}

/* Top Navbar */
.top-navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
    display: flex;
    justify-content: between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.navbar-right {
    margin-left: auto;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

/* Content Area */
.content-area {
    padding: 30px;
}

/* User Dropdown */
.user-dropdown .dropdown-toggle {
    background: none;
    border: none;
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-dropdown .dropdown-toggle:hover {
    background: var(--light-color);
}

.user-dropdown .dropdown-toggle::after {
    margin-left: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(-100%);
        position: fixed;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .main-content.expanded {
        margin-left: 0;
    }
    
    .content-area {
        padding: 20px 15px;
    }
}

/* Breadcrumb customizado */
.custom-breadcrumb {
    background: white;
    padding: 15px 30px;
    margin: 0;
    border-bottom: 1px solid #dee2e6;
}

.custom-breadcrumb .breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

/* Cards aprimorados */
.dashboard-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
}

.dashboard-card .card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px;
    font-weight: 600;
}

.dashboard-card .card-body {
    padding: 25px;
}

/* Menu indicator */
.sidebar-menu .menu-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-menu a.active .menu-indicator {
    opacity: 1;
}


/* Adicione ao seu arquivo public/assets/css/style.css */

pre {
    background-color: #2d2d2d; /* Fundo escuro */
    color: #cccccc; /* Cor do texto clara */
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto; /* Adiciona scroll horizontal se o conteúdo for muito largo */
    white-space: pre-wrap; /* Quebra linhas longas */
    word-break: break-word; /* Quebra palavras longas */
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; /* Fonte monoespaçada */
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 20px; /* Espaço abaixo do bloco de código */
    border: 1px solid #3c3c3c; /* Borda sutil */
}

pre code {
    color: #cccccc; /* Garante que o texto dentro do code também seja claro */
    background-color: transparent; /* Remove fundo extra se houver */
    padding: 0;
    font-size: inherit; /* Usa o tamanho da fonte do pre */
    line-height: inherit; /* Usa o line-height do pre */
}

/* Opcional: Estilos para destacar sintaxe (requer uma biblioteca JS como Prism.js ou Highlight.js) */
/* Exemplo básico sem highlight.js/prism.js */
pre .keyword { color: #cc99cc; } /* Ex: function, class */
pre .string { color: #7ec699; } /* Ex: "texto" */
pre .comment { color: #5c6370; font-style: italic; } /* Ex: // comentário */
pre .number { color: #f08d49; } /* Ex: 123, 4.5 */
pre .operator { color: #61afef; } /* Ex: =, +, == */
pre .variable { color: #e06c75; } /* Ex: $variavel */

/* Se você estiver usando a classe .content-box para envolver o pre */
.content-box pre {
    margin-top: 0; /* Remove o margin-top extra se estiver dentro de .content-box */
}

.content-box {
    height: 400px;
    overflow: auto;
}
