/* sogno loader: the logo's twelve dots, for every place a sogno product is busy (sending, loading, saving).
   A bright pulse runs round the ring like a comet, each dot swelling and fading as it passes, while the whole
   ring turns slowly the other way, so it never looks like a generic spinner. Transform and opacity only.
   Markup (copy as is):
   <svg class="sogno-loader" viewBox="-12 -12 24 24" role="img" aria-label="טוען"><g class="sogno-loader__ring">
     <circle r="1.7" cy="-8"/><circle r="1.7" cx="4" cy="-6.93"/><circle r="1.7" cx="6.93" cy="-4"/><circle r="1.7" cx="8"/>
     <circle r="1.7" cx="6.93" cy="4"/><circle r="1.7" cx="4" cy="6.93"/><circle r="1.7" cy="8"/><circle r="1.7" cx="-4" cy="6.93"/>
     <circle r="1.7" cx="-6.93" cy="4"/><circle r="1.7" cx="-8"/><circle r="1.7" cx="-6.93" cy="-4"/><circle r="1.7" cx="-4" cy="-6.93"/>
   </g></svg>
   Size with width/height; colour with `color` (defaults to the brand teal). Inside a button that already says
   what is happening, give the svg aria-hidden="true" instead of role and label. */
.sogno-loader { width: 28px; height: 28px; color: #00897F; overflow: visible; }
.sogno-loader__ring { transform-origin: 0 0; animation: sogno-loader-turn 7.2s linear infinite reverse; }
.sogno-loader circle { fill: currentColor; transform-box: fill-box; transform-origin: center; opacity: .28; transform: scale(.55); animation: sogno-loader-pulse 1.2s cubic-bezier(.3, 0, .2, 1) infinite; }
.sogno-loader circle:nth-child(2) { animation-delay: .1s; } .sogno-loader circle:nth-child(3) { animation-delay: .2s; } .sogno-loader circle:nth-child(4) { animation-delay: .3s; }
.sogno-loader circle:nth-child(5) { animation-delay: .4s; } .sogno-loader circle:nth-child(6) { animation-delay: .5s; } .sogno-loader circle:nth-child(7) { animation-delay: .6s; }
.sogno-loader circle:nth-child(8) { animation-delay: .7s; } .sogno-loader circle:nth-child(9) { animation-delay: .8s; } .sogno-loader circle:nth-child(10) { animation-delay: .9s; }
.sogno-loader circle:nth-child(11) { animation-delay: 1s; } .sogno-loader circle:nth-child(12) { animation-delay: 1.1s; }
/* the head of the comet is full size and bright; its tail shrinks back over the next few dots */
@keyframes sogno-loader-pulse { 0% { opacity: 1; transform: scale(1.15); } 40% { opacity: .5; transform: scale(.78); } 100% { opacity: .28; transform: scale(.55); } }
@keyframes sogno-loader-turn { to { transform: rotate(360deg); } }
/* less motion: the ring stands still and breathes once a second, so it still says "working" */
@media (prefers-reduced-motion: reduce) {
  .sogno-loader__ring { animation: none; }
  .sogno-loader circle { animation: sogno-loader-breathe 1.6s ease-in-out infinite alternate; opacity: .6; transform: none; }
  @keyframes sogno-loader-breathe { to { opacity: 1; } }
}
