/* layout.css - Layout Principal */

.app-container { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-header {
    height: var(--header-height);
    padding: 0 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;  /* centralizar logo */
}

.logo-container {
    width: 32px; height: 32px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-primary-hover));
}

.logo-container img { width: 100%; height: 100%; object-fit: contain; }
.logo-placeholder { font-weight: 700; font-size: 14px; color: white; }
.logo-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    font-size: 13px;
}

.nav-item:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.nav-item.active { background: var(--bg-tertiary); color: var(--text-primary); border-left-color: var(--accent-primary); }
.nav-item svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    font-size: 10px;
    color: var(--text-muted);
}

.main-content { flex: 1; margin-left: var(--sidebar-width); display: flex; flex-direction: column; }

.header {
    height: var(--header-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-title { font-size: 15px; font-weight: 600; }
.content { flex: 1; padding: 20px 24px; overflow-y: auto; }
