/* Индикатор синхронизации */
.sync-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 10, 10, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'NTSomic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.sync-indicator.active {
    opacity: 1;
    transform: translateY(0);
}

.sync-indicator .sync-icon {
    font-size: 18px;
    animation: sync-spin 1s linear infinite;
    display: inline-block;
}

.sync-indicator .sync-text {
    white-space: nowrap;
}

@keyframes sync-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .sync-indicator {
        bottom: 80px; /* Выше кнопки "Обсудить проект" */
        right: 20px;
        left: 20px;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }

    .sync-indicator .sync-icon {
        font-size: 16px;
    }
}
