/* size fixes */
.gd-about__picture {
    background-size: 54rem;
    height: 39rem;
}

.gd-step__icon {
    width: 5rem;
    height: 5rem;
}

.gd-step__icon > svg {
    width: 1.6rem;
    height: 1.6rem;
}


/* app */
.gd-form__field {
    font-size: .875rem;
    height: 3rem;
    border: 1px solid #f9f9f9;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.02), 0 2px 4px rgba(0,0,0,.08);
    -webkit-box-shadow: 0 0 6px rgba(0,0,0,.02), 0 2px 4px rgba(0,0,0,.08);
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    outline: none;
    -webkit-appearance: none;
}

.gd-form__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.2rem;
    height: 2.5rem;
    color: #fff;
    background: var(--control-color);
    border-radius: 6px;
    font-weight: 500;
    font-size: .875rem;
    outline: none;
    border: none;
    cursor: pointer;
    letter-spacing: .3px
}

.gd-form__btn:hover {
    background: var(--link-color-hover)
}

.gd-form__btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.gd-form__btn[disabled]:hover {
    background: var(--control-color);
}

#compressForm > form > div {
    display: flex;
    gap: 1.5rem;
}

.gd-form__quality-select-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.gd-form__quality-select-container > span {
    font-size: 1.5rem;
    color: var(--text-header-color);
    text-align: center;
    font-weight: 500;
}


.gd-form__quality-select {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.gd-form__quiality-option {
    width: 100%;
}


.gd-compress-quality {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--promo-background);
    padding: 1.5rem;
    font-size: 1.5rem;
    border-radius: 0.5rem;
    position: relative;
    padding-left: 4.5rem;
}

.gd-compress-quality-radio {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

    .gd-compress-quality h3 {
        font-size: 1.25rem;
        color: var(--header-font-color);
    }

    .gd-compress-quality span {
        font-size: 1rem;
        color: var(--text-color);
    }




.gd-form__btn-box {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}


.gd-form, .gd-result {
    width: 100%;
    max-width: 46rem;
    background-color: #fff;
    border-radius: 2px;
    padding: 4rem 2rem;
    margin: 0 auto;
    margin-bottom: 4rem;
    box-shadow: 0 10px 20px rgba(0,0,0,.04), 0 2px 6px rgba(0,0,0,.04), 0 0 1px rgba(0,0,0,.04);
}


.gd-result__header {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.6rem;
    text-align: center;
    margin-bottom: 3rem;
}


.gd-result__btn-box {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.gd-result__btn {
    color: #fff;
    background: #0DC268;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.2rem;
    height: 2.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    outline: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}


.gd-result__btn:hover {
    color: #fff;
    background: #0baf5d;
}


.gd-result__footer-links, .gd-form__footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color-active);
    font-size: 0.875rem;
    gap: 1.5rem;
}

    .gd-result__footer-links > a, .gd-form__footer-links > a {
        color: var(--text-color-active);
    }

.gd-result__link, .gd-form__link {
    padding-left: 1.7rem;
    background-size: 1.2rem;
    background-repeat: no-repeat;
    line-height: 1.2rem;
}

.gd-result__link--repeat, .gd-form__link--repeat {
    background-image: url(../img-redesign/compress-icons.svg#reload);
}

.gd-compress-form {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gd-compress-form__row {
    margin-bottom: 1.5rem;
    justify-content: center;
    display: flex;
}
.gd-compress-form__field {
    max-width:24rem;
}

.gd-compress-form__file-box {
    display: flex;
    justify-content: center;
}
.gd-compress-form__file {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14rem;
}

.gd-compress-form__file-img {
    width: 5.3rem;
    height: 5.3rem;
    background-size: 5.3rem;
    background-repeat: no-repeat;
    background-image: url(../img-redesign/compress-icons.svg#file);
   
}

.gd-compress-form__file-name {
    width: 100%;
    padding: 1rem 0;
    font-weight: 500;
    color: var(--text-header-color);
    position: relative;
    box-sizing: border-box;
    max-width: 14rem;
    overflow: hidden;
    text-align: center;
}

.gd-compress-form__file-name > span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}


.gd-form-radio {
    appearance: none;
    background-color: rgba(85, 143, 255, 0.12);
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.5rem;
    height: 1.5rem;
    border: 0.125rem solid rgba(85, 143, 255, 0.24);
    border-radius: 50%;
    transition: 120ms all ease-in-out;
    min-width: 1.5rem;
    min-height: 1.5rem;
}

.gd-form-radio:checked {
    background-color: #fff;
    border: 0.375rem solid #558FFF;
}
