input[type="password"]::-ms-clear{display: none;}
input[type="password"]::-ms-reveal{display: none;}
input[type="password"]::-o-reveal{display: none;}

/* add watermark */
.row {
    margin: 0;
}


.watermark-process-box {
    display: flex;
    max-width: 100%;
}

.watermark-pages-area {
    flex-grow: 1;
    border-right: 1px solid #e0e0e0;
    position: relative;
    overflow: auto;
    width: calc(100% - 450px);
}

.watermark-pdf-thumbnail {
    width: 100%;
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    padding: 0 15px;
}

.watermark-pdf-thumbnail .pdf-thumbnail {
    border: 2px solid transparent;
    box-shadow: rgb(0 0 0 / 20%) 0px 0px 10px 0px;
    margin: 15px;
    width: 200px;
    height: 240px;
    padding: 15px;
    display: flex;
    align-items: center;
}
.watermark-pdf-thumbnail .pdf-thumbnail .pdf-thumbnail-box {
    position: relative;
}

.watermark-pdf-thumbnail .pdf-thumbnail .pdf-thumbnail-box img {
    max-width: 100%;
    max-height: 100%;
}

.watermark-pdf-thumbnail .pdf-thumbnail .pdf-thumbnail-box>div {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4DA892;
    position: absolute;
    display: none;
}

.watermark-pdf-thumbnail .pdf-thumbnail .pdf-thumbnail-box>div.active {
    display: block;
}

.watermark-pdf-thumbnail .pdf-thumbnail .noWatermark>div.active {
    display: none;
}

.watermark-pdf-thumbnail .pdf-thumbnail .leftTop {
    top: 10px;
    left: 10px;
}

.watermark-pdf-thumbnail .pdf-thumbnail .middleTop {
    top: 10px;
    left: calc(50% - 10px);
}

.watermark-pdf-thumbnail .pdf-thumbnail .rightTop {
    top: 10px;
    right: 10px;
}

.watermark-pdf-thumbnail .pdf-thumbnail .leftMiddle {
    top: calc(50% - 10px);
    left: 10px;
}

.watermark-pdf-thumbnail .pdf-thumbnail .middleMiddle {
    top: calc(50% - 10px);
    left: calc(50% - 10px);
}

.watermark-pdf-thumbnail .pdf-thumbnail .rightMiddle {
    top: calc(50% - 10px);
    right: 10px;
}

.watermark-pdf-thumbnail .pdf-thumbnail .leftBottom {
    bottom: 10px;
    left: 10px;
}

.watermark-pdf-thumbnail .pdf-thumbnail .middleBottom {
    bottom: 10px;
    left: calc(50% - 10px);
}

.watermark-pdf-thumbnail .pdf-thumbnail .rightBottom {
    bottom: 10px;
    right: 10px;
}

.watermark-options-area {
    width: 450px;
    height: 100%;
    background: #fff;
    position: relative;
}

.watermark-process-box .processing-box {
    width: 100%;
}

.watermark-process-box .processing-box .progress {
    border-radius: 0;
}

.watermark-process-box .progress-bar {
    background: #a72711;
}

.watermark-title {
    width: 100%;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
    color: #1C1C1C;
     font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    padding: 20px 0;
    margin: 0;
    text-align: center;
}

.watermark-type {
    display: flex;
    align-items: baseline;
}

.watermark-type .place {
    width: 50%;
    padding: 15px;
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    cursor: pointer;
}

.watermark-type .place>* {
    opacity: 0.5;
}

.watermark-type .place.active>* {
    opacity: 1;
}

.watermark-type .place input[type='radio']:checked {
    appearance: none;
    border-radius: 50%;
    border: 2px solid #ffffff;
    outline: 1px solid var(--security-color);
    background: var(--security-color);

}

.watermark-type .place-text:not(.active) {
    border-right-color: #c4c5c7;
    border-bottom-color: #c4c5c7;
}

.watermark-type .place-img:not(.active) {
    border-left-color: #c4c5c7;
    border-bottom-color: #c4c5c7;
}

.watermark-type .place input {
    position: absolute;
    top: 20px;
    left: 20px;
}

.watermark-tools-setting {
    height: 100%;
    overflow: auto;
    padding-bottom: 140px;
}

.watermark-tools-setting p {
    font-size: 16px;
    font-weight: normal;
    color: #161616;
    line-height: 24px;
    margin: 0 0 6px;
}

.watermark-text-content {
    padding: 20px;
}

/* .watermark-tools-setting .text-tile {
    color: var(--security-color);
} */

.place-text-setting input {
    display: block;
    width: 100%;
    padding: 6px 12px;
    color: #333;
    margin: 6px auto;
    border-radius: 4px;
    border: 1px solid #949494;
}

.text-format-setting {
    display: flex;
    align-items: center;
    position: relative;
}

.font-family-select {
    background: transparent;
    border: 0;
    outline: none;
}

.text-format-setting button {
    display: flex;
    border: 0;
    border-radius: 4px;
    background: transparent;
}

.text-format-setting .font-color .font-setting>div {
    position: relative;
}

.text-format-setting .font-color .font-color-bar {
    position: absolute;
    top: 16px;
    left: 4px;
    width: 15px;
    height: 4px;
    background-color: #000000;
    border-radius: 5px;
}


.font-family-select {
    border-radius: 4px;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .2);
}

.font-family-select.active,
.font-family-select:active,
.text-format-setting button.active,
.text-format-setting button:active {
    background: #f6f6f8;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, .2);
}


.font-size-setting,
.font-color-setting {
    display: none;
}

.font-size-setting.active {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .14);
}

.font-size-setting>span {
    font-size: 16px;
    font-weight: normal;
    color: #161616;
    line-height: 24px;
    margin: 6px auto;
}

.font-size-setting input[type=range] {
    width: 40%;
    height: 5px;
    padding: 0;
}

.font-size-setting input[type=number] {
    width: 80px;
}

.font-size-setting input[type=number]::-webkit-inner-spin-button,
.font-size-setting input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.font-style {
    display: flex;
    align-items: center;
}

.font-color-setting.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    z-index: 2;
    width: 100%;
    background: #fff;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .14);
}

.font-color-value {
    display: flex;
    flex-wrap: wrap;
}

.font-color-value>div {
    width: 24px;
    height: 24px;
    margin: 2px 1px;
    border: 1px solid #d0d0d0;
    position: relative;
}

.font-color-value .active::after {
    position: absolute;
    top: 1px;
    left: 8px;
    width: 8px;
    height: 16px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 2px 2px 0;
    transform: rotateZ(45deg);
    content: "";
}

.font-color-value .C000000 {
    background-color: #000000;
}

.font-color-value .C444444 {
    background-color: #444444;
}

.font-color-value .C666666 {
    background-color: #666666;
}

.font-color-value .C999999 {
    background-color: #999999;
}

.font-color-value .Ccccccc {
    background-color: #cccccc;
}

.font-color-value .Ceeeeee {
    background-color: #eeeeee;
}

.font-color-value .Cf3f3f3 {
    background-color: #f3f3f3;
}

.font-color-value .Cffffff {
    background-color: #ffffff;
}

.font-color-value .Cff0000 {
    background-color: #ff0000;
}

.font-color-value .Cff9900 {
    background-color: #ff9900;
}

.font-color-value .Cffff00 {
    background-color: #ffff00;
}

.font-color-value .C00ff00 {
    background-color: #00ff00;
}

.font-color-value .C00ffff {
    background-color: #00ffff;
}

.font-color-value .C0000ff {
    background-color: #0000ff;
}

.font-color-value .C9900ff {
    background-color: #9900ff;
}

.font-color-value .Cff00ff {
    background-color: #ff00ff;
}

.font-color-value .Cf4cccc {
    background-color: #f4cccc;
}

.font-color-value .Cfce5cd {
    background-color: #fce5cd;
}

.font-color-value .Cfff2cc {
    background-color: #fff2cc;
}

.font-color-value .Cd9ead3 {
    background-color: #d9ead3;
}

.font-color-value .Cd0e0e3 {
    background-color: #d0e0e3;
}

.font-color-value .Ccfe2f3 {
    background-color: #cfe2f3;
}

.font-color-value .Cd9d2e9 {
    background-color: #d9d2e9;
}

.font-color-value .Cead1dc {
    background-color: #ead1dc;
}

.font-color-value .Cea9999 {
    background-color: #ea9999;
}

.font-color-value .Cf9cb9c {
    background-color: #f9cb9c;
}

.font-color-value .Cffe599 {
    background-color: #ffe599;
}

.font-color-value .Cb6d7a8 {
    background-color: #b6d7a8;
}

.font-color-value .Ca2c4c9 {
    background-color: #a2c4c9;
}

.font-color-value .C9fc5e8 {
    background-color: #9fc5e8;
}

.font-color-value .Cb4a7d6 {
    background-color: #b4a7d6;
}

.font-color-value .Cd5a6bd {
    background-color: #d5a6bd;
}

.font-color-value .Ce06666 {
    background-color: #e06666;
}

.font-color-value .Cf6b26b {
    background-color: #f6b26b;
}

.font-color-value .Cffd966 {
    background-color: #ffd966;
}

.font-color-value .C93c47d {
    background-color: #93c47d;
}

.font-color-value .C76a5af {
    background-color: #76a5af;
}

.font-color-value .C6fa8dc {
    background-color: #6fa8dc;
}

.font-color-value .C8e7cc3 {
    background-color: #8e7cc3;
}

.font-color-value .Cc27ba0 {
    background-color: #c27ba0;
}

.font-color-value .Ccc0000 {
    background-color: #cc0000;
}

.font-color-value .Ce69138 {
    background-color: #e69138;
}

.font-color-value .Cf1c232 {
    background-color: #f1c232;
}

.font-color-value .C6aa84f {
    background-color: #6aa84f;
}

.font-color-value .C45818e {
    background-color: #45818e;
}

.font-color-value .C3d85c6 {
    background-color: #3d85c6;
}

.font-color-value .C674ea7 {
    background-color: #674ea7;
}

.font-color-value .Ca64d79 {
    background-color: #a64d79;
}

.font-color-value .C990000 {
    background-color: #990000;
}

.font-color-value .Cb45f06 {
    background-color: #b45f06;
}

.font-color-value .Cbf9000 {
    background-color: #bf9000;
}

.font-color-value .C38761d {
    background-color: #38761d;
}

.font-color-value .C134f5c {
    background-color: #134f5c;
}

.font-color-value .C0b5394 {
    background-color: #0b5394;
}

.font-color-value .C351c75 {
    background-color: #351c75;
}

.font-color-value .C741b47 {
    background-color: #741b47;
}

.font-color-value .C660000 {
    background-color: #660000;
}

.font-color-value .C783f04 {
    background-color: #783f04;
}

.font-color-value .C7f6000 {
    background-color: #7f6000;
}

.font-color-value .C274e13 {
    background-color: #274e13;
}

.font-color-value .C0c343d {
    background-color: #0c343d;
}

.font-color-value .C073763 {
    background-color: #073763;
}

.font-color-value .C20124d {
    background-color: #20124d;
}

.font-color-value .C4c1130 {
    background-color: #4c1130;
}

.font-color-value .Cffebcd {
    background-color: #ffebcd;
}

.place-img-setting input[type=file] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
}

.img-setting {
    position: relative;
    width: 250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2);
    border-radius: 0 4px 4px 0;
}

.img-setting .img-icon {
    width: 60px;
    height: 50px;
    background: var(--security-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0 0 4px;
}

.img-setting .place-img-icon {
    width: 24px;
    height: auto;
}

.img-setting .place-img-upload {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    background: #ffffff;
    box-shadow: 1px 0px 4px 1px rgb(0 0 0 / 12%)
}

.img-setting .img-text {
    height: 48px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.watermark-position-setting {
    margin-top: 20px;
}

.watermark-position-setting .text-tile {
    margin-bottom: 6px;
}

.position-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.position-item {
    width: 22px;
    height: 22px;
    border: 1px dashed #aeaeb2;
}

.position-item.active {
    background: #4da89154;
}

.position-item.active>span {
    display: block;
    width: 16px;
    height: 16px;
    transform: translate(2px, 2px);
    background: var(--security-color);
    border-radius: 50%;
}

.position-item.active.opacity0 {
    background: transparent;
}

.position-item.active.opacity0>span {
    opacity: 0;
}

.mosaic {
    margin-left: 25px;
    height: 30px;
    display: flex;
    align-items: center;
}

.mosaicCheck {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 8px;
}

.watermark-transparency-setting {
    margin-top: 20px;
}

.watermark-transparency-setting select {
    display: block;
    width: 100%;
    padding: 6px 12px;
    color: #333;
    margin: 6px auto;
    border-radius: 4px;
    border: 1px solid #949494;
}

.watermark-pages-setting {
    margin-top: 20px;
}

.select-pages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #949494;
    border-radius: 4px;
    height: 38px;
}

.select-pages span {
    display: block;
    padding: 0 10px;
}

.select-pages input[type=number] {
    width: 70px;
    height: 100%;
    border: 0;
    box-shadow: inset 1px 1px 3px 0 rgba(0, 0, 0, .2);
    padding-left: 15px;
    border-radius: 0 4px 4px 0;
}

.select-pages input[type=number]::-webkit-inner-spin-button,
.select-pages input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.watermark-layer-setting {
    margin-top: 20px;
}

.watermark-layer-setting .col-md-6 {
    padding-right: 10px;
}

.watermark-layer-setting .col-md-6:last-child {
    padding-left: 10px;
}

.layer-setting {
    background: #f4f5f9;
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
}

.layer-setting.active {
    color: var(--security-color);
    border: 2px solid var(--security-color);
}

.layer-setting img {
    margin-bottom: 6px;
}

.layer-setting span {
    display: block;
    color: #161616;
    font-size: 16px;
    line-height: 22px;
}

.add-watermark {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px;
    background: linear-gradient(0deg, #fff, #fff 70%, rgba(255, 255, 255, .5) 95%, rgba(255, 255, 255, 0));
}

.add-watermark button {
    display: block;
    font-size: 24px;
    height: 60px;
    line-height: 40px;
    background: var(--security-color);
    color: #fff;
    width: 100%;
    border: 0;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
}

.add-watermark button[disabled] {
    background-color: #ccc;
}


.show-thumbnails {
    height: 100%;
    overflow-y: auto;
    background-color: #ebebeb;
    width: 200px;
    border-radius: 0;
}

.show-thumbnails .pdf-thumbnails {
    max-width: 100%;
}

.show-thumbnails .list-group-item {
    display: block;
    padding: 0;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
}

.show-thumbnails .list-group-item.active {
    background: #DFEAFA;
    border-color: #A9CCFE;
}

/* .list-group-item-action:focus, .list-group-item-action:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #DFEAFA;
} */

.show-thumbnails .list-group-item span {
    display: block;
    color: #6E6F73;
    margin: 8px 0 0;
}

.sign-pdf-thumbnail {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: auto;
}

.sign-pdf-thumbnail .pdf-thumbnail-box {
    height: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto 20px;
}

#protect-pdf-thumbnail .pdf-thumbnail-box,
#unlock-pdf-thumbnail .pdf-thumbnail-box {
    margin: 0;
}

#unlock-pdf-thumbnail .unlock-pdf-thumbnail-box img {
    box-shadow: 4px 4px 3px 2px #cecece;
} 

#protect-pdf-thumbnail .pdf-thumbnail-box img,
#unlock-pdf-thumbnail .pdf-thumbnail-box img {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 210px;
    height: 300px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
}

.sign-pdf-thumbnail .esign-box {
    position: absolute;
    z-index: 1;
    border: none;
    cursor: move;
    /* box-shadow: 0px 4px 10px 0px #271b1245; */
}

.signature-pdf .sign-pdf-thumbnail .esign-box {
    box-shadow: none;
}

.sign-pdf-thumbnail .esign-box .box-esign-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.sign-pdf-content .sign-pdf-thumbnail .esign-box .box-esign-img {
    outline: rgb(21, 37, 134) solid 1px;
}

.sign-pdf-content .sign-pdf-thumbnail .esign-box .box-esign-img:hover {
    outline: rgb(21, 37, 134) solid 1px;
}

.sign-pdf-thumbnail .esign-box.notSelected .box-esign-img {
    outline: none;
}

.sign-pdf-thumbnail .esign-box.notSelected .delete-sign-btn,
.sign-pdf-thumbnail .esign-box.notSelected .ui-resizable-handle {
    display: none;
}
.sign-pdf-thumbnail .esign-box.notSelected .box-esign-img {
    background: transparent;
    border: transparent;
}

.sign-pdf-thumbnail .esign-box .box-esign-img img {
    max-width: 100%;
    max-height: 100%;
    cursor: all-scroll;
}

.sign-pdf-thumbnail .esign-box .delete-sign-btn {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 999999;
    cursor: pointer;
}

.sign-pdf-thumbnail .esign-box .delete-sign-btn img {
    background-color: transparent;
    border: 0;
    width: 12px;
    height: 12px;
}

.sign-pdf-thumbnail .esign-box .signature-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #000;
}

.sign-pdf-thumbnail .esign-box.sign-draggable-box .signature-area, 
.sign-pdf-thumbnail .esign-box.initials-draggable-box .signature-area {
    color: rgb(33 37 41 / 75%);
    box-shadow: 0px 4px 10px 0px #271b1245;
}

.sign-pdf-thumbnail .esign-box .signature-area>span
 {
    margin-left: 10px;
}

.sign-pdf-thumbnail .esign-box .signature-area .signer-email {
    font-size: 12px;
    border-top: 1px solid hsla(0,0%,9%,.3);
    margin-top: 6px;
    width: 100%;
    height: 36px;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    justify-content: start;
    align-items: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    color: #161616;
    display: none;
}

.sign-pdf-thumbnail .esign-box .ui-resizable-e {
    width: 0;
}

.sign-pdf-thumbnail .esign-box .ui-resizable-s {
    height: 0;
}

.sign-pdf-thumbnail .esign-box.Text-draggable-box input {
    /* width: auto; */
    height: 26px;
    line-height: 36px;
    border-radius: 4px;
    border-color: red;
    outline: 0;
}

.sign-process-box {
    display: flex;
    max-width: 100%;
    overflow: hidden;
    height: 100%;
}

.sign-pages-area {
    max-width: calc(100% - 330px);
    height: 100%;
    flex-grow: 1;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-self: flex-start;
    position: relative;
}

.sign-process-box .processing-box {
    width: 100%;
    height: 16px;
    background-image: linear-gradient(90deg, #499E34 0%, #4ab130 100%), linear-gradient(90deg, #499E34 0%, #4ab130 100%), linear-gradient(#1a1a1a, #1a1a1a);
    border-radius: 0;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.sign-process-box .processing-box .progress {
    border-radius: 0;
}

.sign-process-box .progress-bar {
    background: #499E34;
}

.OperationProcessPrompts {
    width: 380px;
    height: 130px;
    background: #FFE096;
    color: #000000;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    position: fixed;
    top: 170px;
    right: 360px;
}

.OperationProcessPrompts p {
    margin: 0;
}

.OperationProcessPrompts .triangle {
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left: 10px solid #FFE096;
    bottom: 50px;
    left: 100%;
}


.sign-options-area {
    width: 330px;
    height: 100%;
    background: #fff;
    position: relative;
}

.sign-title {
    width: 100%;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
    color: #1C1C1C;
     font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    padding: 20px 0;
    margin: 0;
    text-align: center;
}

.sign-setting {
    overflow: auto;
    /* height: calc(100% - 76px - 120px); */
}

.sign-type-setting {
    padding: 10px 30px 30px;
}

.sign-type-setting #stand-fields {
    border-color: #949494;
    width: 80%;
    height: 36px;
    border: solid #949494 1px;
    background-color: #fff;
    border-radius: 4px;
    padding: 0px 10px;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    color: #000;
}

.sign-type-setting .add-stand-fields {
    float: right;
    color: #ffffff;
    border: transparent;
    padding: 2px 18px;
    border-radius: 4px;
    height: 36px;

    cursor: not-allowed;
    background: #cfcfcf;
}

.sign-type-setting .add-stand-fields.active {
    background: var(--primary-color);
    cursor: pointer;
}

.sign-user-setting {
    padding: 0 30px;
    overflow-y: auto;
    min-height: 100px;
}
.sign-type-setting p,
.sign-user-setting p {
    font-size: 20px;
    color: #050B29;
    line-height: 24px;
    margin: 10px 0;
    font-weight: 700;
}

.required-fields,.other-fields,
.sign-user-setting,
#name-fields, #date-fields, #text-fields,
#sign-fields svg, #initials-fields svg
{
    display: none;
}

.multiplePeople .required-fields,.multiplePeople .other-fields {
    color: #5F637C;
    font-weight: normal;
    font-size: 16px;
}
.multiplePeople .required-fields {
    padding-left: 8px;
}

.multiplePeople .required-fields,.multiplePeople .other-fields,
.multiplePeople .sign-user-setting,
.multiplePeople #name-fields, .multiplePeople #date-fields, .multiplePeople #text-fields,
.multiplePeople #sign-fields svg, .multiplePeople #initials-fields svg
{
    display: block;
}

.sign-type-setting .sign-fields {
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
}

#name-fields, #date-fields, #text-fields {
    margin-top: 15px;
}

.sign-type-fields {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin-top: 10px;
}

.sign-type-fields span {
    color: #6E6F73;
    font-size: 24px;
    font-weight: normal;
    padding-left: 10px;
}

.sign-fields>div:not(.signature-name),
.sign-user-setting .signer-item {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #D6D9E1;
    background: #F4F6F8;
}

.sign-user-setting .signer-item {
    width: auto;
    height: 35px;
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 3px solid #fff;
    cursor: pointer;
    padding: 4px 16px;
    margin-right: -36px;
}

.sign-user-setting .signer-item .signer-email span{
    max-width: 65px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 20px;
    display: inline-block;
}


.multiplePeople .sign-fields>div {
    background-color: #fff;
}

.sign-fields #sign-fields .sign-draggable:hover,
.sign-fields #initials-fields .initials-draggable:hover {
    background-color: #DFEAFA;
    border: 1px solid #A9CCFE;
}



.sign-user-setting:not(:first-child) .signer-item {
    margin-left: 6px;
}

.sign-user-setting .signers-box {
    display: flex;
    align-items: center;
    padding: 2px;
    height: 60px;
}

.sign-user-setting .signers-box .signer-item.active {
    /* outline: 2px dotted var(--primary-color); */
    z-index: 99 !important;
    height: 44px;
}

.multiplePeople .sign-box {
    display: flex;
    align-content: center;
    justify-content: space-between;
}

.multiplePeople .sign-box span {
    padding-bottom: 0;
}

.multiplePeople .sign-box svg {
    margin-top: 6px;
}

.sign-box span {
    display: block;
    width: 120px;
    font-size: 16px;
    line-height: 24px;
    color: #6E6F73;
    padding-bottom: 8px;
}

.required-fields {
    position: relative;
}

.required-fields svg {
    position: absolute;
    top: 3px;
    left: 0px;
}

.sign-preview {
    /* width: calc(100% - 120px);
    height: 100%; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    min-height: 60px;
    background-color: #fff;
    border-radius: 4px;
}

.sign-preview img {
    max-width: 180px;
    max-height: 60px;
    cursor: move;
}

.sign-pdf {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
}

.sign-pdf button {
    display: block;
    font-size: 18px;
    height: 56px;
    line-height: 56px;
    background: var(--primary-color);
    color: #fff;
    width: 100%;
    border: 0;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
}

.sign-pdf button[disabled] {
    background: #cfcfcf;
    cursor: not-allowed;
}

.modal#esignModal {
    z-index: 1057;
}
#esignModal .modal-content {
    border: 0;
}

#esignModal .modal-dialog {
    max-width: 1000px;
}

#esignModal .modal-header {
    background-color: #FCFCFC;
}

/* #esignModal .btn-close {
    visibility: hidden;
}

#esignModal .btn-close:focus {
    box-shadow: none;
} */

#esignModal .modal-title {
    font-size: 22px;
    font-weight: normal;
    line-height: 30px;
    color: #1C1C1C;

}

#esignModal .modal-body {
    background: #F1F1F1;
    padding: 10px 30px;
}

.sign-name-fields label {
    display: block;
    width: 100px;
    font-size: 16px;
    line-height: 24px;
    color: #1C1C1C;

    text-align: left;
    margin-bottom: 6px;
}

.sign-name-fields input {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    padding: 6px 10px;
    border: 2px solid transparent;
    outline: none;
    box-shadow: none;
    outline: none;
    color: #000;
}

.sign-name-fields input.error {
    border: 2px solid red !important;
}

.sign-tabs-fields {
    margin-top: 30px;
}

.sign-type .sign-type-select {
    display: inline-block;
    width: 120px;
    height: 46px;
    line-height: 48px;
    text-align: center;
    font-size: 16px;
    color: #000;

    cursor: pointer;
    box-shadow: inset 0px 4px 0px transparent;
}

.sign-type .sign-type-select.active {
    background: #FCFCFC;
    box-shadow: inset 0px 4px 0px var(--primary-color);

    font-weight: 500;
}

.sign-type a:hover {
    color: #000;
}

.sign-content-editing {
    display: flex;
}

.sign-content-editing .sign-mode {
    background: #DFDFDF;
    width: 80px;
    padding: 10px 0 10px 10px;
    margin-top: 48px;
    min-height: 200px;
    border-radius: 4px 0px 0px 4px;
}

.sign-content-editing .sign-mode-select {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: #6E6F73;

    margin: 10px 0 20px;
    border-radius: 4px 0px 0px 4px;
}

.sign-content-editing .sign-mode-select.active {
    background-color: #fff;
    color: #000;
}

.sign-mode-content {
    width: calc(100% - 80px);
}

.sign-mode-editing {
    background-color: #fff;
    text-align: center;
    position: relative;
    padding-bottom: 40px;
}

.sign-tab-content {
    display: none;
    padding: 30px 40px;
}

.sign-tab-content .sign-font-lists {
    padding: 3.5px 0;
}

.sign-tab-content.active {
    display: block;
}

.color-select-lists {
    position: absolute;
    left: 30px;
    bottom: 10px;
    display: flex;
    align-items: center;
}

.color-select-lists .color-select {
    display: flex;
    align-items: center;
}

.color-select-lists>span {
    padding: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #6E6F73;

}

.color-select .color-item {
    height: 26px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid transparent;
}

.color-select .color-item.active {
    border: 1px solid #ff0000;
    border-radius: 50%;
}

.color-select .color-item span {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.color-select .color-item .color-black {
    background-color: #000;
}

.color-select .color-item .color-blue {
    background-color: blue;
}

.color-select .color-item .color-red {
    background-color: red;
}

.sign-operation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 0 10px;
}

.sign-operation button {
    padding: 8px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: var(--primary-color);
    border: 2px solid transparent;
    font-size: 14px;
    line-height: 20px;
    color: #FCFCFC;

    margin-left: 20px;
}

/* .sign-operation button#clear {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
} */

.sign-mode-editing button#clear{
    display: none;
    position: absolute;
    bottom: 12px;
    right: 35px;
    padding: 4px 20px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.sign-operation button[disabled] {
    cursor: not-allowed;
    background: #cfcfcf;
}

.sign-operation button#clear[disabled] {
    cursor: not-allowed;
    border: 2px solid transparent;
    background: #cfcfcf;
    color: #FCFCFC;
}

.draw-canvas-area canvas {
    border: 1px solid #d7d7d7;
}

.sign-font-select {
    display: flex;
    flex-direction: column;
    border: 1px solid #d7d7d7;
}

.sign-font-radio {
    border-bottom: 1px solid #d7d7d7;
    text-align: left;
    padding: 10px 20px;
    width: 100%;
    display: flex;
    align-items: center;
}

.sign-font-radio:last-child {
    border-bottom: 0;
}

.sign-font-radio input[type=radio] {
    width: 20px;
    height: 20px;
}

.sign-font-radio span {
    display: inline-block;
    padding-left: 15px;
    font-size: 20px;
    line-height: 30px;
    color: #000;
}

.sign-font-radio .font-raleway span  {
    font-family: 'Raleway-Regular';
}

.sign-font-radio .font-margenta span  {
    font-family: 'Margenta';
}

.sign-font-radio .font-photograph-signature span  {
    font-family: 'Photograph-Signature';
}

.sign-font-radio .font-ansteryScript span  {
    font-family: 'AnsteryScript';
}

.sign-font-radio .font-newfrench span {
    font-family: 'newfrench';
}


.signed-progress-bar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.signed-progress-bar p {
    font-size: 22px;
}

.signed-progress-bar .loader {
    border-width: 4px;
    border-style: solid;
    border-color: #dcdcdc #dcdcdc #40882E #dcdcdc;
    border-radius: 50%;
    display: block;
    width: 64px;
    height: 64px;
    -webkit-animation: rotateloader 1.5s linear infinite;
    animation: rotateloader 1.5s linear infinite;
    top: 50%;
    left: 50%;
    overflow: hidden;
}

#esignModal .loader-content {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9999;
}

#esignModal .loader {
    border-width: 4px;
    border-style: solid;
    border-color: #dcdcdc #dcdcdc var(--primary-color) #dcdcdc;
    border-radius: 50%;
    display: block;
    width: 64px;
    height: 64px;
    -webkit-animation: rotateloader 1.5s linear infinite;
    animation: rotateloader 1.5s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    overflow: hidden;
}

#esignModal.loading .loader-content {
    display: block;
}

.editReceivers {
    position: fixed;
    z-index: 999;
    right: 360px;
    width: 36px;
    min-width: 0;
    padding: 0;
    margin: 14px 10px 0 0;
    height: 36px;
    border-radius: 100%;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: 0 3px 6px 0 rgba(0,0,0,.14);
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.14);
}

.editReceivers svg {
    fill: #fff;
}

@-webkit-keyframes rotateloader {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateloader {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* protect */
.protected-password-section {
    border-top: 1px solid #e0e0e0;
    padding: 20px;
}

/* unlock page subtitle2*/
.protected-password-section .subtitle2 {
    padding: 24px 10px;
    background-color: #d9edf7;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
}

.protected-password-section .subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

.protected-password-section .form-input {
    position: relative;
    margin-bottom: 24px;
}

.protected-password-section .form-input + .form-input {
    margin-bottom: 15px;
}

.protected-password-section .form-input input {
    padding-right: 35px;
}

.protected-password-section .form-input img {
    position: absolute;
    right: 5px;
    top: calc(50% - 14px);
    width: 28px;
    height: auto;
    opacity: .6;
}

#passwprd-open-eye,
#repeatPassword-open-eye {
    display: none;
}

.protected-password-section .error_tips {
    color: red;
    font-size: 14px;
}

.protected-password-section .error_tips_match {
    color: red;
    font-size: 14px;
}

/* .right-container {
    position: relative;
} */

.loading.multipleSignatures .text {
    font-size: 18px;
    font-weight: 600;
    top: 37%;
    left: calc(50% - 80px);
    position: absolute;
}

.loading.multipleSignatures .loader {
    width: 90px;
    height: 90px;
}


/* signin signup modal */
#verificationSigninModal .modal-dialog,
#signinModal .modal-dialog,
#signupModal .modal-dialog,
#recoverPasswordModal .modal-dialog,
#signupThankyouModal .modal-dialog {
    max-width: 603px;
}

#verificationSigninModal .modal-body,
#signinModal .modal-body,
#signupModal .modal-body,
#recoverPasswordModal .modal-body,
#signupThankyouModal .modal-body {
    padding: 0px;
}

#signinModal .modal-body input,
#signupModal .modal-body input,
#recoverPasswordModal .modal-body input {
    height: 36px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #949494;
    box-shadow: none;
    border-radius: 0;
    padding-left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#signinModal .form_recaptcha,
#signupModal .form_recaptcha {
    opacity: 0;
    height: 0 !important;
    padding: 0;
    position: relative;
    top: 64px;
    left: -30px;
}

#signinModal .g-recaptcha,
#signupModal .g-recaptcha {
    margin: 0px 0 10px;
}

#verificationSigninModal .modal-body input {
    width: 39px;
    height: 46px;
    border-radius: 6px;
    text-align: center;
    font-size: 20px;
    border-style: solid;
    border-color: var(--primary-color);
    color: var(--primary-color);
    outline-color: var(--primary-color);
    padding: 0;
    flex: none;
}

#verificationSigninModal .modal-body input:focus {
    background-color: var(--accent-color);
}

#recoverPasswordModal .modal-body input {
    background-position: left center;
    background-size: 20px;
    padding-left: 48px;
}


.drag-helper {
    opacity: 1;
    box-shadow: none;
    padding: 0 !important;
    border: none !important;
    position: absolute;
    top: 0;
    z-index: -1;
    /* 确保拖动时不会触发其他鼠标事件 */
    pointer-events: none; 
}

.drag-helper .signature-area {
    background: #FFD966 !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drag-helper .signature-area svg {
    margin-right: 5px;
}