/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 12. 12. 2025, 18:06:38
    Author     : Makovec
*/
/* Top progress bar přes horní okraj stránky */

#ajax-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}

#ajax-progress.active { opacity: 1; }

#ajax-progress .ajax-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  animation: ajax-progress-stripes 1s linear infinite;
}

@keyframes ajax-progress-stripes {
  0% { width: 10%; transform: translateX(0); }
  50% { width: 55%; transform: translateX(35%); }
  100% { width: 90%; transform: translateX(110%); }
}

/* Malý centrální spinner */

#ajax-spinner {
  position: fixed;
  top: 140px; left: 48%;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .15s ease, transform .15s ease;
}

#ajax-spinner.active {
  opacity: 1;
  transform: scale(1);
}

.ajax-spinner__dot {
  width: 30px; height: 30px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: ajax-spinner-rotate .8s linear infinite;
}

@keyframes ajax-spinner-rotate {
  to { transform: rotate(360deg); }
}


/* MIN */

/* Top bar */
/*#ajax-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s ease;
}
#ajax-progress.active { opacity: 1; }
#ajax-progress .ajax-progress__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
  animation: ajax-progress-stripes 1s linear infinite;
}
@keyframes ajax-progress-stripes {
  0%   { width: 10%; transform: translateX(0); }
  50%  { width: 55%; transform: translateX(35%); }
  100% { width: 90%; transform: translateX(110%); }
}
*/
/* Spinner v rohu */
/*#ajax-spinner {
  position: fixed;
  top: 16px; right: 16px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 9999px;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  opacity: 0;
  transform: scale(.95);
  transition: opacity .15s ease, transform .15s ease;
}
#ajax-spinner.active { opacity: 1; transform: scale(1); }
.ajax-spinner__dot {
  width: 14px; height: 14px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: ajax-spinner-rotate .8s linear infinite;
}
@keyframes ajax-spinner-rotate { to { transform: rotate(360deg); } }

#ajax-progress {
    display: block !important;
}*/
