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

.gd-form__header {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4rem;
    text-align: center;
    margin-bottom: 3rem;
}

.gd-form__body {
    width: 100%;
    max-width: 29rem;
    margin: 0 auto;
}

.gd-form__row {
    display: flex;
    align-items: center;
    margin-bottom: 1.7rem;
}

.gd-form__label {
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;
}

.gd-form__tabs {
    display: flex;
    font-size: 0.875rem;
    align-items: center;
}

.gd-form__tabs > li {
    background-color: var(--control-background);
    color: var(--control-color);
    padding: 0 1rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    min-width: 5.75rem;
    box-sizing: border-box;
    justify-content: center;
    cursor: pointer;
    text-transform: capitalize;
    user-select: none;
}
.gd-form__tabs > li.active {
    background-color: var(--control-color);
    color: #fff;
}

.gd-form__tabs > li:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.gd-form__tabs > li:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.gd-form__field {
    font-size: 0.875rem;
    height: 3rem;
    border: 1px solid #f9f9f9;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    outline: none;
    -webkit-appearance: none;
}

.gd-form__field::placeholder {
    opacity: 0.6;
}

.gd-form__separator {
    border-top: 1px solid #EBECEF;
    margin: 0 2rem;
    margin-bottom: 2.75rem;
}


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

.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: 0.875rem;
    outline: none;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}

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

    .gd-form__upload {
        width: 100%;
        height: 3rem;
        border: 2px dashed rgba(85, 143, 255, 0.20);
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        color: var(--control-color);
        font-size: 0.875rem;
    }

.gd-form__upload-input {
    width: 100%;
    opacity: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.gd-form__preview {
    background-color: var(--background);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
}

    .gd-form__preview > img {
        max-width: 80%;
        max-height: 20rem;
    }


.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-form__footer-links > a {
    color: var(--text-color-active);
    padding-left: 1.7rem;
    background-size: 1.2rem;
    background-repeat: no-repeat;
    line-height: 1.2rem;
}



a.gd-form__repeat-link {
    background-image: url(../img-redesign/watermark-icons.svg#reload);
  
}

a.gd-form__feedback-link {
    background-image: url(../img-redesign/watermark-icons.svg#feedback);
   /*   padding-left: 1.5rem;*/
     /*   color: #4b88fd;*/
    background-color: #f5f5f5;
    padding: 0.5rem 0.7rem;
    padding-left: 1.7rem;
    background-position: 0.3rem center;
    border-radius: 0.25rem; 
}


.gd-form-result {
    max-width: 46rem;
}

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




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

.gd-form-result__btn {
    color:#fff;
    background: #0DC268;
    margin-bottom: 3rem;
}

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

    

/* add-watermark.css */
.gd-form__font-style {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    align-items: center;
    display: flex;
    justify-content: center;
    background: #EBF1FF;
    margin: 0.3rem;
    cursor: pointer;
    color: var(--control-color);
    user-select: none;
}

    .gd-form__font-style.active {
        background: var(--link-color-medium);
        color: white;
    }

.gd-form__select {
    margin: 0 10px 0 0;
    font-size: 0.875rem;
    height: 3rem;
    border: 1px solid #f9f9f9;
    background: #FFFFFF;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
    outline: none;
    -webkit-appearance: none;
}


.gd-form__position-option.active {
    background: var(--link-color-medium);
}

.gd-form__position-option {
    border-right: 2px dashed #c0c6cb;
    border-bottom: 2px dashed #c0c6cb;
    width: 2.7rem;
    height: 2.7rem;
    display: table-cell
}

    .gd-form__position-option:last-child {
        border-right: 0;
    }

.gd-form__position-box {
    border: 1px solid rgba(130, 141, 152, 0.5);
    border-radius: 1rem;
    width: 8rem;
    height: 8rem;
    display: inline-table;
}

.gd-form__position-row:last-child > .gd-form__position-option {
    border-bottom: 0;
}

.gd-form__position-row:first-child > .gd-form__position-option:first-child {
    border-top-left-radius: 1rem;
}

.gd-form__position-row:first-child > .gd-form__position-option:last-child {
    border-top-right-radius: 1rem;
}

.gd-form__position-row:last-child > .gd-form__position-option:first-child {
    border-bottom-left-radius: 1rem;
}

.gd-form__position-row:last-child > .gd-form__position-option:last-child {
    border-bottom-right-radius: 1rem;
}

.gd-form--mini {
    padding: 2rem 2rem 1rem;
    margin-bottom: 0;
}

.gd-form__position-row {
    display: table;
}

.gd-form__row-label {
    font-weight: 500;
    font-size: 1rem;
    margin-right: 2rem;
    margin-bottom: 0.5rem;
}

.gd-form__col {
    align-items: center;
    width: 100%;
}

.gd-form__col-label {
    margin-bottom: 0.5rem;
    display: flex;
}

.gd-form__col:first-child {
    margin-right: 1rem;
}

.gd-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(1em + 0.5em), calc(100% - 15px) calc(1em + 0.5em), calc(100% - 2.5em);
    background-size: 5px 5px, 5px 5px, 1px 0;
    background-repeat: no-repeat;
}

.gd-form__tabs-block {
    margin: 0 auto 0.5rem;
    width: 100%;
    max-width: 46rem;
    display: flex;
    justify-content: center;
}

.watermark-form {
    display: flex;
    justify-content: center;
    gap: 2rem;

}

.gd-form__font-styles-block {
    display: flex;
}

.fs-underline {
    text-decoration: underline;
    font-weight: 200;
}

.fs-italic {
    font-style: italic;
    font-weight: 200;
}

.fs-bold {
    font-weight: bold;
}

.gd-form__font-color-block {
    display: flex;
    background: #FFFFFF;
    font-size: 0.875rem;
    height: 3rem;
    border: 1px solid #f9f9f9;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02), 0px 2px 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
}

.gd-form__color-input {
    padding: 0.1rem;
    border: 0;
    align-items: center;
    -webkit-appearance: none;
    height: 3rem;
    width: 4.5rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

    .gd-form__color-input::-webkit-color-swatch {
        border-radius: 10px;
        border: none;
    }

    .gd-form__color-input::-moz-color-swatch {
        border-radius: 15px;
        border: none;
    }

.gd-form__font-color-selected {
    display: flex;
    align-items: center;
}






.single-form {
    margin: 0 auto;
    padding: 3rem 2rem 3rem;
}



@media screen and (max-width: 480px) {
    .gd-form:first-child {
        margin-bottom: auto;
    }
}

@media screen and (max-width: 1024px) {
    .watermark-form {
        flex-direction: column;
        align-items: center;
    }

    .gd-form:first-child {
        margin-bottom: 1rem;
    }

    .gd-form {
        margin: auto;
    }

    .gd-form:first-child,
    .gd-form:last-child {
        margin-left: unset;
        margin-right: unset;
    }

    .gd-form .gd-animation-slidein {
        width: 100%;
    }
}


@media screen and (max-width: 750px) {
    .gd-form__separator {
        margin: 0;
        margin-bottom: 2.75rem;
    }

    .gd-form__row--mobile {
        flex-direction: column;
        gap: 1.7rem;
    }

     .gd-form__label {margin-right:0}


    .gd-form__footer-links {
        flex-direction: column;
    }
}
