body {
    margin: 0;
    font-family: system-ui, sans-serif;
}

#root {
    min-height: 100dvh;
    visibility: hidden;
    animation: reveal-application 0s 500ms forwards;
}

.startup-state {
    box-sizing: border-box;
    min-height: 100dvh;
    padding: 1.5rem;
    display: grid;
    place-items: center;
    text-align: center;
}

.startup-state[hidden] {
    display: none;
}

.startup-loading-content,
.startup-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.startup-loading-content {
    gap: 1.5rem;
}

.startup-spinner {
    box-sizing: border-box;
    width: 1.6rem;
    height: 1.6rem;
    border: 3px solid #e2e4ee;
    border-top-color: #282a67;
    border-radius: 50%;
    animation: spin 800ms linear infinite;
}

.startup-card {
    box-sizing: border-box;
    width: min(100%, 26rem);
    padding: 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 1.5rem rgb(15 23 42 / 8%);
}

.startup-card h1 {
    margin: 1.75rem 0 0;
    color: #282a67;
    font-size: 1.375rem;
}

.startup-card p {
    margin: 0.75rem 0 1.75rem;
    color: #5f6675;
}

.startup-card button {
    padding: 0.6875rem 1.25rem;
    border: 0;
    border-radius: 0.25rem;
    color: #fff;
    background: #282a67;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

@keyframes reveal-application {
    to {
        visibility: visible;
    }
}

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