﻿.jubilant {
    user-select: none;
}

.jubilant .force-hover {
    background-color: var(--mud-palette-action-default-hover)
}

.jubilant #main-content {
    background-color: color-mix(in oklab, var(--mud-palette-background) 95%, transparent);
}

html, body {
    height: 100%;
}

    body.jubilant {
        background: #f5f7fb;
    }

#app {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-card {
    width: min(520px, 94%);
    padding: 22px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(16,24,40,0.12), 0 6px 12px rgba(16,24,40,0.08);
    border: 1px solid rgba(16,24,40,0.04);
}

.loader-svg {
    width: 220px;
    height: 220px;
    display: block;
    margin: 6px auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.18));
    transform-origin: 50% 50%;
    animation: loader-rotate 8s linear infinite, loader-pulse 3.6s ease-in-out infinite;
}

    .loader-svg path {
        animation: colorShift 4.8s ease-in-out infinite;
        transform-origin: 50% 50%;
    }

.loading-title {
    margin-top: 8px;
    color: #111827;
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.loading-subtext {
    font-size: 0.96rem;
    color: #6b7280;
    margin-top: 6px;
}

@keyframes loader-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes loader-pulse {
    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes colorShift {
    0% {
        fill: #1976d2;
    }

    50% {
        fill: #ff4081;
    }

    100% {
        fill: #1976d2;
    }
}

/* MudBlazor overrides */
@media(max-width: 960px) {
    .jubilant .mud-stepper.mud-stepper__vertical .mud-step {
        padding-left: 0px;
    }

    .jubilant .mud-stepper.mud-stepper__vertical .mud-stepper-content {
        margin-inline-start: 12px;
    }

    .jubilant .mud-stepper.mud-stepper__vertical .mud-stepper-nav-connector {
        margin-inline-start: 12px;
    }
}

.jubilant .ingredient-highlight {
    background-color: transparent;
    font-weight: bold;
    color: var(--mud-palette-primary-lighten);
}

.w-full {
    width: 100%;
}
