.soulha-ytd {
    margin: 32px 0;
    padding: 24px;

    /*
     * v1.2.1 디자인 변경:
     * 입력창만이 아니라 도구 전체 영역을 옅은 회색으로 구분한다.
     */
    background: #f7f7f7;
    border: 1px solid #eeeeee;
}

.soulha-ytd__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.soulha-ytd__label {
    font-size: 13px;
    line-height: 20px;
    font-weight: 700;
}

.soulha-ytd__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.soulha-ytd__input,
.soulha-ytd__button {
    min-height: 44px;

    border: 1px solid #d9d9d9;
    border-radius: 0;

    font: inherit;
}

.soulha-ytd__input {
    width: 100%;
    padding: 0 12px;

    /*
     * 전체 박스와 입력 영역의 역할을 분리하기 위해
     * 실제 입력창은 다시 흰색으로 둔다.
     */
    background: #ffffff;
    color: #212121;

    outline: none;
}

.soulha-ytd__input:focus {
    background: #ffffff;
    border-color: #999999;
}

.soulha-ytd__input::placeholder {
    color: #8a8a8a;
}

.soulha-ytd__button {
    padding: 0 18px;

    background: #212121;
    color: #ffffff;

    cursor: pointer;
}

.soulha-ytd__button:disabled {
    opacity: 0.5;
    cursor: wait;
}

.soulha-ytd__status {
    margin-top: 14px;

    font-size: 14px;
    line-height: 22px;
}

.soulha-ytd__status:empty {
    display: none;
}

.soulha-ytd__progress {
    position: relative;

    height: 3px;
    margin-top: 10px;

    overflow: hidden;

    background: #e5e5e5;
}

.soulha-ytd__progress[hidden] {
    display: none !important;
}

.soulha-ytd__progress-bar {
    display: block;

    width: 0;
    height: 100%;

    background: #212121;

    transition: width 0.2s ease;
}

.soulha-ytd__download {
    display: inline-block;

    margin-top: 16px;

    font-weight: 700;

    text-underline-offset: 3px;
}

.soulha-ytd__download[hidden] {
    display: none !important;
}

.soulha-ytd__notice,
.soulha-ytd__admin-note {
    margin: 18px 0 0;

    color: #666666;

    font-size: 12px;
    line-height: 20px;
}

.soulha-ytd__admin-note {
    padding-top: 12px;

    border-top: 1px solid #e5e5e5;
}

@media (max-width: 640px) {
    .soulha-ytd {
        padding: 18px;
    }

    .soulha-ytd__row {
        grid-template-columns: 1fr;
    }

    .soulha-ytd__button {
        width: 100%;
    }
}
