/* Lion Page Loader - styles */
#lion-loader-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity .45s ease, visibility .45s ease;
}

#lion-loader-overlay.lion-loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.lion-loader-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional spinning ring in logo brand colors, around the badge */
.lion-loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.08);
    border-top-color: #8b1e1e;
    border-right-color: #1e6b3c;
    animation: lion-ring-spin 1s linear infinite;
}

/* White badge behind the logo. Padding stays fixed at 5px around the image. */
.lion-loader-circle {
    position: relative;
    width: 96px;
    height: 96px;
    background: #ffffff;
    padding: 5px;
    box-sizing: border-box;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lion-loader-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* --- Shape variants --- */
.lion-shape-circle {
    border-radius: 50%;
}
.lion-shape-circle img {
    border-radius: 50%;
}

.lion-shape-rounded {
    border-radius: 18px;
}
.lion-shape-rounded img {
    border-radius: 12px;
}

.lion-shape-rectangle {
    width: 160px;
    height: 96px;
    border-radius: 14px;
}
.lion-shape-rectangle img {
    border-radius: 8px;
}

/* --- Animation variants (applied to the badge) --- */
.lion-anim-pulse {
    animation: lion-anim-pulse 1.6s ease-in-out infinite;
}

.lion-anim-spin img {
    animation: lion-anim-spin 1.4s linear infinite;
}

.lion-anim-bounce {
    animation: lion-anim-bounce 1s ease-in-out infinite;
}

.lion-anim-none {
    animation: none;
}

@keyframes lion-ring-spin {
    to { transform: rotate(360deg); }
}

@keyframes lion-anim-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes lion-anim-spin {
    to { transform: rotate(360deg); }
}

@keyframes lion-anim-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@media (max-width: 480px) {
    .lion-loader-wrap { width: 100px; height: 100px; }
    .lion-loader-circle,
    .lion-shape-circle,
    .lion-shape-rounded { width: 72px; height: 72px; }
    .lion-shape-rectangle { width: 120px; height: 72px; }
}
