/* debug-loader.css - CSS для диагностики */

/* Подсветка всех подозрительных элементов */
.debug-highlight {
    border: 3px solid #ff0000 !important;
    box-shadow: 0 0 15px #ff0000 !important;
    background-color: rgba(255, 0, 0, 0.1) !important;
    z-index: 99998 !important;
}

/* Принудительное скрытие всех анимаций */
* {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

/* Блокировка всех вращений */
@keyframes spin { to { transform: rotate(0deg); } }
@keyframes rotate { to { transform: rotate(0deg); } }
@keyframes spinner-border { to { transform: rotate(0deg); } }
@keyframes spinner-grow { to { transform: scale(1); opacity: 1; } }

/* Принудительное скрытие всех возможных прелоадеров */
div[class*="loader"],
div[class*="spinner"],
div[class*="loading"],
div[id*="loader"],
div[id*="spinner"],
div[id*="loading"],
div[style*="animation"][style*="spin"],
div[style*="animation"][style*="rotate"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Особое внимание к верхнему левому углу */
body > div:first-child,
html > body > div:nth-child(1),
div[style*="position: fixed"][style*="top: 0"],
div[style*="position: absolute"][style*="top: 0"],
div[style*="position: fixed"][style*="left: 0"],
div[style*="position: absolute"][style*="left: 0"] {
    display: none !important;
}

/* Отключаем все вращающиеся трансформы */
*[style*="transform"][style*="rotate"] {
    transform: none !important;
}

/* Скрываем элементы с высоким z-index */
*[style*="z-index: 9999"],
*[style*="z-index: 99999"],
*[style*="z-index: 10000"] {
    display: none !important;
}