:root {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #172033;
    background: #f4f7fb
}

* {
    box-sizing: border-box
}

body {
    margin: 0
}

.upload-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative
}

.dashboard-link {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #3659c9;
    text-decoration: none;
    font-weight: 650
}

.upload-card {
    width: min(100%, 460px);
    text-align: center;
    background: #fff;
    border: 1px solid #e6eaf2;
    border-radius: 24px;
    padding: 44px 32px;
    box-shadow: 0 18px 45px #18254b12
}

.icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #eaf0ff;
    color: #315bd6;
    font-size: 32px;
    font-weight: bold
}

h1 {
    font-size: 2rem;
    margin: 0
}

.lead {
    margin: 10px 0 30px;
    color: #657087
}

.primary-button,
.secondary-button {
    border: 0;
    border-radius: 12px;
    padding: 14px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer
}

.primary-button {
    background: #315bd6;
    color: #fff;
    box-shadow: 0 6px 14px #315bd640
}

.primary-button:disabled {
    opacity: .65;
    cursor: wait
}

.secondary-button {
    margin-top: 18px;
    background: #edf1fb;
    color: #284ea8
}

.status {
    min-height: 24px;
    margin: 25px 0 0;
    color: #657087
}

.status.success {
    color: #16804c
}

.status.error {
    color: #b42318
}

.progress-area {
    text-align: left;
    margin-top: 22px
}

.progress-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .9rem;
    font-weight: 700
}

.progress-track {
    height: 10px;
    border-radius: 99px;
    overflow: hidden;
    background: #e5eaf4;
    margin-top: 10px
}

.progress-bar {
    width: 0;
    height: 100%;
    background: #315bd6;
    transition: width .2s
}

.hint {
    color: #7c8597;
    font-size: .85rem;
    margin: 10px 0 0
}

@media(max-width:480px) {
    .upload-card {
        padding: 36px 22px
    }

    .dashboard-link {
        position: static;
        justify-self: end;
        margin-bottom: 22px
    }

    .upload-shell {
        align-content: center
    }
}