/**
 * Manual Técnico - Admin
 * Estilos para a página de documentação do sistema
 */

/* Navegação Lateral */
.manual-nav {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.manual-nav .nav-link {
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-left: 2px solid transparent;
    font-size: 0.875rem;
}

.manual-nav .nav-link:hover {
    color: #0d6efd;
    border-left-color: #0d6efd;
}

.manual-nav .nav-link.active {
    color: #0d6efd;
    border-left-color: #0d6efd;
    font-weight: 500;
}

/* Seções */
.manual-section {
    scroll-margin-top: 80px;
}

/* Cards */
.manual-card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

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

/* Hierarquia de Perfis */
.hierarchy-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.2s;
}

.hierarchy-box:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.hierarchy-box.level-0 { border-color: #dc3545; }
.hierarchy-box.level-1 { border-color: #fd7e14; }
.hierarchy-box.level-2 { border-color: #ffc107; }
.hierarchy-box.level-3 { border-color: #28a745; }
.hierarchy-box.level-4 { border-color: #17a2b8; }

.hierarchy-arrow {
    font-size: 1.5rem;
    color: #6c757d;
}

/* Tabela de Permissões */
.table-permissions th {
    background: #f8f9fa;
    font-weight: 600;
}

.table-permissions td {
    vertical-align: middle;
}

.check-yes {
    color: #28a745;
    font-weight: bold;
}

.check-no {
    color: #dc3545;
}

/* Estrutura de Pastas */
.folder-structure {
    font-family: monospace;
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.folder-structure .folder {
    color: #569cd6;
}

.folder-structure .file {
    color: #ce9178;
}

.folder-structure .comment {
    color: #6a9955;
}

/* Badges de Status */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Cards de Áreas */
.area-card {
    border-left: 4px solid;
    background: white;
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.area-card.admin { border-color: #dc3545; }
.area-card.empresa { border-color: #0d6efd; }
.area-card.cliente { border-color: #28a745; }
.area-card.widget { border-color: #6f42c1; }
