/* Вертикальная схема стилей */ .flowchart-container { display: flex; justify-content: center; padding: 2rem 0; } .flowchart { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; } .node { width: 180px; padding: 0.75rem; border-radius: 8px; text-align: center; font-family: 'Courier New', monospace; font-size: 0.9rem; color: white; position: relative; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: transform 0.3s ease; } .node:hover { transform: scale(1.05); } .connector { height: 30px; width: 2px; background: #4a5568; margin: 0 auto; position: relative; } .connector::after { content: ''; position: absolute; bottom: 0; left: -4px; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 10px solid #4a5568; } .branch { display: flex; gap: 2rem; } .branch-connector { position: relative; } .branch-connector::before { content: ''; position: absolute; top: 0; left: 50%; width: 2px; height: 15px; background: #4a5568; } .decision-point { border: 2px dashed white; } @media (max-width: 768px) { .node { width: 140px; font-size: 0.8rem; } .branch { flex-direction: column; gap: 1rem; } .branch-connector::before { height: 1px; width: 100%; left: 0; top: 50%; } }