/* overwrite */
.gd-file-format__name {
    font-size: 2rem !important;
}


.convert-form__select {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1rem + .4rem), calc(100% - 15px) calc(1rem + .4rem), calc(100% - 2.5rem);
    background-size: 5px 5px, 5px 5px, 1px 0;
    background-repeat: no-repeat;
    /* margin: 0 10px 0 0;*/
    font-size: .875rem;
    height: 3rem;
    border: 1px solid #f9f9f9;
    background-color: #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;
}



.convert-form {
    width: 100%;
    max-width: 46rem;
    background-color: #fff;
    border-radius: 2px;
    padding: 4rem 3rem;
    margin: 0 auto;
    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);
    margin-bottom:7rem;
}

.convert-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;
}

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

    .convert-form__btn:hover {
        background: #4880eb;
    }

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

    .convert-form__btn[disabled]:hover {
        background: #558fff;
    }


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



.convert-form__file-box {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.convert-form__file {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 14rem;
}

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

.convert-form__file-name {
    width: 100%;
    padding: 1rem 0;
    font-weight: 500;
    color: #222222;
    position: relative;
    box-sizing: border-box;
    max-width: 14rem;
    overflow: hidden;
    text-align: center;
}

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


.convert-form__row {
    margin-bottom: 1.75rem;
    padding: 0 2rem;
 /*   justify-content: center;
     display: flex;*/
}

.convert-form__label {
    display: block;
    margin-bottom: 0.75rem;
    color: #939AA8;
    font-size: 0.75rem;
}



.convert-form__footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111111;
    font-size: 0.875rem;
    gap: 1.5rem;
}

    .convert-form__footer-links > a {
        color: #111111;
    }

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

.convert-form__link--repeat {
    background-image: url(../img-redesign/conversion-icons.svg#reload);
}



.convert-result-box {
    margin-bottom:7rem;
}


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


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


.convert-result__btn-box {
    display: flex;
    justify-content: center;
}

.convert-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;
}


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

.convert-result__btn--disabled:hover {
    color: #fff;
    background: #0DC268;
}
.convert-result__btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.convert-result__footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    font-size: 0.875rem;
    gap: 1.5rem;
}

    .convert-result__footer-links > a {
        color: #111;
    }

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

.convert-result__link--repeat {
    background-image: url(../img-redesign/conversion-icons.svg#reload);
}

.convert-result__link--feedback {
    background-image: url(../img-redesign/conversion-icons.svg#reload);
}


.convert-email__header {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem
}

.convert-email-form {
    display: flex;
    justify-content: center;
}

.convert-email-form__email {
    all: unset;
    border-bottom-left-radius: 0.3rem;
    border-top-left-radius: 0.3rem;
    border: 1px solid #ebebec;
    border-right: none;
    height: 2.75rem;
    width: 20rem;
    box-sizing: border-box;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    background-color: #fff;
}

.convert-email-form__btn {
    all: unset;
    cursor: pointer;
    background-color: #558fff;
    color: #fff;
     background-image: url(../img-redesign/conversion-icons.svg#mail);
    background-size: 1.6rem;
    background-repeat: no-repeat;
    background-position: center center;
    width: 2.75rem;
    height: 2.75rem;
    border-bottom-right-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.convert-email-form__btn[disabled] {
    opacity: 0.5;
    cursor: wait;
}


.convert-form__header {
    text-align:center;
    font-size:1.25rem;
    font-weight:500;
    margin-bottom: 3rem;
}

.convert-form__files-header {
    color: #A6A6A6;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.convert-form__files-col-2 {
    min-width: 12rem;
}

    .convert-form__files-col-1 {
        padding-left:1.25rem;
    }

.convert-form__files {
    margin-bottom:1.5rem;
}

.convert-form__file-row {
    background-color: #F9F9F9;
    border-radius: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3.25rem;
    padding-left: 3rem;
    margin-bottom: 1rem;
    position:relative;
}

.convert-form__file-row-remove {
    position: absolute;
    font-size: 1rem;
    color: #FE5F55;
    cursor: pointer;
    opacity: 0;
    right: -1.5rem;
    top: 1rem;
    display: block;
    /* background-color: #ccc; */
    padding-left: 0.75rem;
}

.convert-form__files--remove-disabled .convert-form__file-row-remove {
    display:none;
}

.convert-form__file-row:hover .convert-form__file-row-remove {
    opacity: 1;
}

.convert-form__file-row-name {
    position: relative;
    font-size: 1rem;
    color: #2B2B2B;
    max-width: 15rem;
    /* overflow:hidden;*/
}

    .convert-form__file-row-name::before {
        content: "";
        display:block;
        width: 1.25rem;
        height: 1.5rem;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url(../img-redesign/conversion-icons.svg#file_small);
        left: -1.75rem;
        position: absolute;
    }

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



.convert-form__file-row-format {
    min-width: 12rem;
    background-color: #EFEFEF;
    font-size: 1rem;
    height: 3.25rem;
    border: none;
    border-top-right-radius: 0.625rem;
    border-bottom-right-radius: 0.625rem;
    box-sizing: border-box;
    padding: 0 1rem;
    outline: none;
    -webkit-appearance: none;
  
}

.convert-form__file-row-format-box {
    position:relative;
}
    .convert-form__file-row-format-box::after {
        content: "";
        width: 1rem;
        height: 1rem;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url(../img-redesign/conversion-icons.svg#select_arrow);
        right: 0.75rem;
        top: 1rem;
        position: absolute;
    }

    .convert-form__add {
        width: 100%;
        background: #fff;
        border: 2px dashed #e3e3e3;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 2rem;
        position: relative;
        border-radius: 2px;
        min-height: 3rem;
    }



        .convert-form__add-label {
            color: #558FFF;
            font-size: 1rem;
            position: relative;
        }

    .convert-form__add-label::after {
        content: "";
        /* display: block; */
        width: 1rem;
        height: 1rem;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url(../img-redesign/conversion-icons.svg#file_add);
        /* left: 1.5rem; */
        position: absolute;
        margin-left: 0.5rem;
    }

.convert-form__add-premium {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 0.9rem;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../img-redesign/conversion-icons.svg#file_premium);
    position: absolute;
    right: 0.5rem;
    /* top: 0.75rem; */
    top: 50%;
    transform: translateY(-50%);
    opacity:0.8;
    display:none;
}

    .convert-form__add-premium:hover {
        opacity: 1;
    }

    .convert-form__add-premium-tip {
        background-color: rgba(0, 0, 0, 0.7);
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.75rem;
        padding: 0.5rem;
        border-radius: 0.3rem;
        width: 12rem;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 1.5rem;
        left: -2rem;
        line-height: 0.9rem;
    }

.convert-form__add-premium-tip a, .convert-form__add-premium-tip a:hover {
    color: #fff;
}

.convert-form__add-premium:hover .convert-form__add-premium-tip {
    opacity: 1;
    visibility:visible;
}

.convert-form__add--disabled .convert-form__add-label {
    color: #C1C1C1;
}

.convert-form__add--disabled .convert-form__add-label::after {
    background-image: url(../img-redesign/conversion-icons.svg#file_add_disabled);
}
 .convert-form__add-input {
    width: 100%;
    opacity: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.convert-form__add--with-premium .convert-form__add-premium {
    display: block;
}

.convert-form__add--disabled .convert-form__add-input {
    cursor: default;
}

.convert-result__files {
    margin-bottom: 3rem;
}

.convert-result__file-row {
    background-color: #F9F9F9;
    border-radius: 0.625rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 3.25rem;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.convert-result__file-row-name {
    position: relative;
    font-size: 1rem;
    color: #2B2B2B;
    width: 50%;
    /* overflow:hidden;*/
}

.convert-result__file-row-name::before {
        content: "";
        display: block;
        width: 1.25rem;
        height: 1.5rem;
        background-size: 100%;
        background-repeat: no-repeat;
        background-image: url(../img-redesign/conversion-icons.svg#file_small);
        left: -1.75rem;
        position: absolute;
    }

    .convert-result__file-row-name > span {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
    }

.convert-result__file-row-format {
    width: 25%;
    display: flex;
}

.convert-result__file-row-format > i {
    color: #ACACAC;
    margin-right:0.75rem;
}

.convert-result__file-row-format > span {
      
}

.convert-result__file-row-status {
    width: 25%;
    padding: 0.75rem;
}

.convert-result__status {
   
    background-color: #fff;
    border-radius: 0.312rem;
    padding: 0.5rem;
    min-width: 6.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow:hidden;
}

.convert-result__status--ready {
    color: rgba(10, 189, 101, 0.75);
}

   .convert-result__status--ready:hover {
        color: rgba(10, 189, 101, 0.95);
    }

.convert-result__status--error {
    color: rgba(229, 102, 94, 0.85);
}


.convert-result__loader-box {
   
    padding: 0.5rem;
    min-width: 6.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
 
}


.convert-result__loader {
    width: 0.65rem;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

.convert-result__error {
    color: rgb(214 77 68);
    font-size: 1rem;
    text-align: center;
}

@keyframes l5 {
    0% {
        box-shadow: 1rem 0 rgba(177,177,177,1), -1rem 0 rgba(177,177,177,0.15);
        background: rgba(177,177,177,1);
    }

    33% {
        box-shadow: 1rem 0 rgba(177,177,177,1), -1rem 0 rgba(177,177,177,0.15);
        background: rgba(177,177,177,0.15)
    }

    66% {
        box-shadow: 1rem 0 rgba(177,177,177,0.15),-1rem 0 rgba(177,177,177,1);
        background: rgba(177,177,177,0.15)
    }

    100% {
        box-shadow: 1rem 0 rgba(177,177,177,0.15),-1rem 0 rgba(177,177,177,1);
        background: rgba(177,177,177,1);
    }
}

@media screen and (max-width: 750px) {
    .convert-form {
        padding: 3rem 1.5rem;
    }

    .convert-form__file-row {
        padding-left: 1rem;
    }

    .convert-form__file-row-name::before {
        display: none;
    }

    .convert-form__file-row-name {
        max-width: 60%;
    }


    .convert-form__file-row-format {
        min-width: 8rem;
    }

    .convert-form__files-col-2 {
        min-width: 8rem;
    }


    .convert-result__file-row {
        padding-left: 1rem;
    }

    .convert-result__file-row-name::before {
        display: none;
    }

    .convert-result__file-row-name {
        max-width: 55%;
    }


    .convert-result__file-row-format {
        display:none;
    }


    .convert-result__file-row-status {
        width: 45%;
    }
        .convert-result {
        padding: 3rem 1.5rem;
    }
    }
