* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #f5f6f7;
    color: #15191d;
    font-family: Arial, Helvetica, sans-serif;
}

.qc-header {
    height: 82px;
    background: #ffffff;
    border-bottom: 1px solid #e3e5e7;
    display: flex;
    align-items: center;
}

.qc-header__inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qc-logo img {
    display: block;
    width: 126px;
    height: auto;
}

.qc-header__title {
    color: #6d7379;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
}

.qc-main {
    min-height: calc(100vh - 82px);
    display: flex;
    justify-content: center;
    padding: 80px 24px;
}

.qc-container {
    width: 100%;
    max-width: 820px;
}

.qc-eyebrow {
    margin-bottom: 14px;
    color: #777d82;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.qc-title {
    margin: 0;
    max-width: 720px;
    color: #111417;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.qc-subtitle {
    max-width: 620px;
    margin: 22px 0 42px;
    color: #686e73;
    font-size: 17px;
    line-height: 1.6;
}

.qc-card {
    padding: 36px;
    background: #ffffff;
    border: 1px solid #e1e4e6;
    border-radius: 4px;
    box-shadow: 0 14px 45px rgba(20, 28, 34, .06);
}

.qc-upload {
    min-height: 220px;
    padding: 40px 24px;
    border: 1.5px dashed #b9bec2;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}

.qc-upload:hover {
    border-color: #71777c;
    background: #fafafa;
}

.qc-upload__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 1px solid #cfd3d6;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: #555c61;
}

.qc-upload__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.qc-upload__hint {
    margin: 0 0 22px;
    color: #7b8186;
    font-size: 14px;
}

.qc-file {
    max-width: 100%;
}

.qc-actions {
    margin-top: 24px;
}

.qc-button {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 2px;
    background: #15191d;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: opacity .2s ease, transform .2s ease;
}

.qc-button:hover {
    opacity: .88;
}

.qc-button:active {
    transform: translateY(1px);
}

.qc-security {
    margin-top: 18px;
    color: #858b90;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 640px) {
    .qc-header {
        height: 70px;
    }

    .qc-header__inner {
        width: calc(100% - 32px);
    }

    .qc-header__title {
        display: none;
    }

    .qc-main {
        padding: 48px 16px;
    }

    .qc-card {
        padding: 22px;
    }

    .qc-upload {
        min-height: 190px;
    }
}
.qc-progress {
    margin-top: 24px;
    padding: 20px;
    background: #f7f8f8;
    border: 1px solid #e1e4e6;
    border-radius: 3px;
}

.qc-progress[hidden] {
    display: none;
}

.qc-progress__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    color: #252a2e;
    font-size: 14px;
    font-weight: 700;
}

.qc-progress__track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    background: #dfe2e4;
    border-radius: 20px;
}

.qc-progress__bar {
    width: 0;
    height: 100%;
    background: #15191d;
    border-radius: 20px;
    transition: width .2s ease;
}

.qc-progress__detail {
    margin-top: 10px;
    color: #7b8186;
    font-size: 12px;
    line-height: 1.4;
}
.qc-result {
    margin-top: 24px;
    border: 1px solid #dfe2e4;
    border-radius: 3px;
    background: #ffffff;
    overflow: hidden;
}

.qc-result[hidden] {
    display: none;
}

.qc-result__header {
    padding: 13px 18px;
    background: #15191d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.qc-result__content {
    padding: 24px;
}

.qc-result__content h2 {
    margin: 0 0 14px;
    color: #15191d;
    font-size: 24px;
}

.qc-result__content p {
    margin: 8px 0;
    color: #686e73;
    font-size: 14px;
    line-height: 1.6;
}

#qc-result-file {
    color: #15191d;
    font-weight: 700;
}
