@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

html, body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    background-color: #07130d;
    color: #ffffff;
    scroll-behavior: smooth;
}

.material-icons,
.material-symbols-rounded {
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
}

.material-symbols-rounded {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.site-shell {
    min-height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjI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IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.tg-loading-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 18%, rgba(16, 185, 129, 0.16), transparent 22%),
        radial-gradient(circle at 18% 22%, rgba(59, 130, 246, 0.08), transparent 20%),
        linear-gradient(180deg, #04110c 0%, #071b14 100%);
}

.tg-loading-card {
    width: min(100%, 27rem);
    margin: 0 auto;
    padding: 2.25rem 2rem 2rem;
    text-align: center;
    border: 1px solid rgba(110, 231, 183, 0.16);
    border-radius: 1.75rem;
    background: rgba(7, 24, 17, 0.84);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}

.tg-loading-logo {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    box-shadow: 0 14px 28px rgba(6, 107, 70, 0.3);
    margin-bottom: 1.4rem;
}

.tg-loading-ring-wrap {
    position: relative;
    display: grid;
    place-items: center;
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto 1.25rem;
}

.loading-progress {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
}

    .loading-progress circle {
        fill: none;
        stroke: rgba(255, 255, 255, 0.12);
        stroke-width: 0.5rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #38bdf8;
            stroke-linecap: round;
            filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.28));
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.15s ease-in-out;
        }

.loading-progress-value {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #f8fffb;
    letter-spacing: 0.02em;
}

    .loading-progress-value:after {
        content: var(--blazor-load-percentage-text, "0%");
    }

.tg-loading-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.tg-loading-copy {
    margin: 0;
    color: rgba(240, 253, 250, 0.76);
    line-height: 1.7;
    font-size: 1rem;
}

.tg-not-found {
    min-height: calc(100vh - 4rem);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3rem 1.5rem;
    background:
        radial-gradient(circle at 50% 12%, rgba(110, 231, 183, 0.12), transparent 22%),
        radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.09), transparent 28%),
        radial-gradient(circle at top, rgba(16, 185, 129, 0.2), transparent 35%),
        linear-gradient(180deg, #07130d 0%, #0d1f17 100%);
}

.tg-not-found-scene {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tg-not-found-glow {
    position: absolute;
    top: 8%;
    left: 50%;
    width: min(32rem, 68vw);
    height: min(32rem, 68vw);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(110, 231, 183, 0.2) 0%, rgba(16, 185, 129, 0.08) 38%, transparent 72%);
    filter: blur(12px);
}

.tg-not-found-stars {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(209, 250, 229, 0.8) 0 1px, transparent 1.2px),
        radial-gradient(circle, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.2px);
    background-position: 12% 18%, 76% 22%, 58% 12%;
    background-size: 180px 180px, 240px 240px, 320px 320px;
    background-repeat: repeat;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
}

.tg-not-found-hill {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.tg-not-found-hill-back {
    bottom: -20rem;
    width: min(88rem, 135vw);
    height: 34rem;
    background: radial-gradient(circle at 50% 10%, rgba(52, 211, 153, 0.24), rgba(6, 95, 70, 0.92) 58%, #052e25 100%);
}

.tg-not-found-hill-front {
    bottom: -25rem;
    width: min(74rem, 120vw);
    height: 30rem;
    background: radial-gradient(circle at 50% 8%, rgba(134, 239, 172, 0.2), rgba(22, 101, 52, 0.95) 56%, #052e16 100%);
    box-shadow: 0 -24px 80px rgba(16, 185, 129, 0.12);
}

.tg-not-found-hole {
    position: absolute;
    bottom: 9.5rem;
    left: 50%;
    width: 5rem;
    height: 1.2rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.55) 62%, transparent 70%);
}

.tg-not-found-flagpole {
    position: absolute;
    bottom: 10.2rem;
    left: calc(50% + 0.85rem);
    width: 0.28rem;
    height: 9rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(209, 250, 229, 0.7));
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.tg-not-found-flag {
    position: absolute;
    bottom: 16.6rem;
    left: calc(50% + 1.05rem);
    width: 4.8rem;
    height: 2.8rem;
    background: linear-gradient(135deg, rgba(236, 254, 255, 0.98), rgba(167, 243, 208, 0.86));
    clip-path: polygon(0 0, 100% 12%, 72% 50%, 100% 100%, 0 100%);
    border-radius: 0.2rem;
    box-shadow: 0 12px 24px rgba(8, 145, 178, 0.14);
}

.tg-not-found-ball {
    position: absolute;
    bottom: 11.2rem;
    left: calc(50% - 5.5rem);
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96) 62%, rgba(203, 213, 225, 0.94) 100%);
    box-shadow:
        inset -0.15rem -0.2rem 0.25rem rgba(148, 163, 184, 0.28),
        0 0.3rem 1rem rgba(15, 23, 42, 0.22);
}

.tg-not-found-ball-shadow {
    position: absolute;
    bottom: 10.65rem;
    left: calc(50% - 5.35rem);
    width: 2.2rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(2, 6, 23, 0.5);
    filter: blur(4px);
}

.tg-not-found-card {
    position: relative;
    z-index: 1;
    width: min(100%, 42rem);
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(110, 231, 183, 0.2);
    border-radius: 1.75rem;
    background: rgba(8, 23, 16, 0.82);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.tg-not-found-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #86efac;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tg-not-found-card h1 {
    margin: 1.5rem 0 1rem;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.tg-not-found-card p {
    margin: 0 auto 2rem;
    max-width: 30rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.tg-not-found-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
    color: #f8fffb;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-not-found-home:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(15, 118, 110, 0.36);
    color: #ffffff;
}

.tg-not-found-home:focus-visible {
    outline: 3px solid rgba(110, 231, 183, 0.55);
    outline-offset: 4px;
}

@media (max-width: 640px) {
    .tg-not-found-card {
        padding: 2.25rem 1.5rem;
        border-radius: 1.25rem;
    }

    .tg-not-found-glow {
        top: 12%;
        width: 22rem;
        height: 22rem;
    }

    .tg-not-found-hill-back {
        bottom: -14rem;
        width: 58rem;
        height: 24rem;
    }

    .tg-not-found-hill-front {
        bottom: -16rem;
        width: 48rem;
        height: 21rem;
    }

    .tg-not-found-hole {
        bottom: 7.6rem;
    }

    .tg-not-found-flagpole {
        bottom: 8.25rem;
        height: 6.8rem;
    }

    .tg-not-found-flag {
        bottom: 13.15rem;
        width: 3.8rem;
        height: 2.2rem;
    }

    .tg-not-found-ball {
        bottom: 8.95rem;
        left: calc(50% - 4.6rem);
        width: 1.45rem;
        height: 1.45rem;
    }

    .tg-not-found-ball-shadow {
        bottom: 8.55rem;
        left: calc(50% - 4.45rem);
        width: 1.7rem;
    }

    .tg-loading-shell {
        min-height: 100svh;
    }

    .tg-loading-card {
        padding: 1.75rem 1.25rem 1.5rem;
        border-radius: 1.35rem;
    }

    .tg-loading-logo {
        width: 4rem;
        height: 4rem;
    }

    .tg-loading-ring-wrap,
    .loading-progress {
        width: 6.5rem;
        height: 6.5rem;
    }

    .tg-loading-title {
        font-size: 1.2rem;
    }

    .tg-loading-copy {
        font-size: 0.95rem;
    }
}

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
