html,
body,
#app {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

.startup-screen,
.startup-screen * {
    box-sizing: border-box;
}

.startup-screen {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow: hidden;
    background: url("../images/bg-1.jpg") center / cover no-repeat;
    color: #344b66;
    font-family: Vazirmatn, Tahoma, sans-serif;
}

.startup-card {
    width: min(100%, 23rem);
    display: grid;
    justify-items: center;
    padding: 2rem 1.75rem 2.25rem;
    border: 1px solid #e1e8ef;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(52, 75, 102, 0.08);
}

.startup-brand {
    color: #007BFF;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.startup-message {
    margin: 1rem 0 0;
    color: #344b66;
    font-size: 1rem;
    font-weight: 600;
}

.startup-hint {
    margin: 0.4rem 0 1.4rem;
    color: #7b8b9d;
    font-size: 0.82rem;
}

.startup-loader {
    position: relative;
    width: 100%;
    height: 0.2rem;
    overflow: hidden;
    border-radius: 999px;
    background: #dce6f0;
    direction: ltr;
}

.startup-loader-value {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--blazor-load-percentage, 0%);
    border-radius: inherit;
    background: #007BFF;
}

.startup-loader-percent {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    color: #9aa8b7;
    text-align: left;
    font: 300 0.65rem/1.2 Tahoma, sans-serif;
    direction: ltr;
}

.startup-loader-percent::after {
    content: var(--blazor-load-percentage-text, "0%");
}
