/* LOB Planner - Estilos do Módulo */

#lobPlannerFullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f8fafc;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.lob-header {
    height: 60px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lob-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.lob-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lob-workspace {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

/* Sidebar */
.lob-sidebar {
    width: 320px;
    background: white;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    z-index: 10;
}

.lob-sidebar.collapsed {
    transform: translateX(-320px);
    position: absolute;
}

.lob-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Canvas Área */
.lob-canvas-wrapper {
    flex: 1;
    overflow: auto;
    background: #f1f5f9;
    position: relative;
    cursor: grab;
}

.lob-canvas-wrapper:active {
    cursor: grabbing;
}

#lobSvg {
    display: block;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 40px;
}

/* Elementos do SVG */
.lob-grid-line {
    stroke: #f1f5f9;
    stroke-width: 1;
}

.lob-axis-label {
    font-size: 11px;
    fill: #64748b;
    font-weight: 500;
}

.lob-weekend-band {
    fill: rgba(0, 0, 0, 0.02);
}

.lob-today-line {
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-dasharray: 4 4;
}

.lob-activity-band {
    cursor: move;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.lob-activity-band:hover {
    opacity: 1;
    filter: brightness(1.1);
}

.lob-conflict-highlight {
    fill: none;
    stroke: #ef4444;
    stroke-width: 2;
    stroke-dasharray: 4 2;
    pointer-events: none;
}

/* UI Components */
.lob-activity-item {
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.lob-activity-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.lob-activity-info {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 1024px) {
    .lob-sidebar {
        width: 260px;
    }
}
