div#page1 {
    display: block;
    width: 100%;
    max-width: 550px;
    text-align: center;
    padding: 25px;
    box-shadow: 0 0 15px 0px #0002;
    border-radius: 10px;
    margin: 10px auto 30px;
}
.file-input {
    color: #0e65bf;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 3px;
    font-family: system-ui;
    font-size: 24px;
    min-height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 2px dashed;
    margin: auto;
}
input#pdfUpload {
    display: none;
}

div.main-wrap {
    display: none;
}
div.hiderLoader.displayLoader .main-wrap{
    display: block;
}
.textDrawBtns {
    display: flex;
    gap: 10px;
}


.penWidth label {
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.penWidth label input {
    width: 40%;
}
.penColor label {
    display: flex;
    gap: 10px;
    align-items: baseline;
}


.functionalButtona button#clearDraw {
    background: #D34305 !important;
     border:1px solid #D34305;
}
.functionalButtona button#clearDraw:hover {
     border-color:#D34305;
    background:#fff !important;
    color:#D34305;
}
.functionalButtona button#downloadBtn {
    background: #029820 !important;
    border:1px solid #029820;
}
.functionalButtona button#downloadBtn:hover {
    background: #fff !important;
    color:#029820;
    border-color:#029820;
}
.functionalButtona {
    padding-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

button.blue-btn{
    border:1px solid #2a68d1;
    transition:0.5s !important;
}
button.blue-btn:hover {
    background: #fff !important;
    color: #2a68d1;
    border-color: #2a68d1;
}


div.toolBarInnerDiv.drawClicked .drawBlock {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}
div.toolBarInnerDiv.drawClicked .textBlock {
    display: none;
}
div.toolBarInnerDiv.textClicked .textBlock {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 600;
    padding-top: 20px;
}
div.toolBarInnerDiv.textClicked .drawBlock{
    display: none;
}

.page-container {
    position: relative;
    /*margin-bottom: 40px;*/
    border: 1px solid #ccc;
    display: inline-block;
    margin: 0 auto;
}
        .background-layer img {
            width: 100%;
            display: block;
        }

        .text-layer {
            position: absolute;
            top: 0;
            left: 0;
        }

        .text-layer span {
            position: absolute;
            display: inline-block;
            white-space: nowrap;
            overflow: visible;
            text-overflow: ellipsis;
            pointer-events: none;
            background-color: rgba(255, 255, 255, 0.01);
            resize: horizontal;
            min-width: 5px;
        }

        .text-layer span.editable {
            pointer-events: auto;
            border-color: red;
        }

        canvas.draw-layer {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 5;
            pointer-events: none;
        }

        canvas.draw-layer.active {
            pointer-events: auto;
        }
        .text-layer span{
         background: #fff;
}

    
#pdfViewer {
    margin: 0 auto;
    max-width: 1800px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 60px;
    overflow:auto;
}


div.toolBarDiv {
    display: none;
}
div.toolBarDiv.showDiv {
    display: flex;
    justify-content:center;
}







/*loader1 css begins*/
.main-wrap {
    background-color: #2b4661;
    color: #fff;
    display: flex;
    justify-content:center;
    align-items:center;    
}

.main-wrap--white {
  background-color: #ffffff;
}



cssLoader17 {
position: relative;
width: 2.5em;
height: 2.5em;
transform: rotate(165deg);
}
.cssLoader17:before, .cssLoader17:after {
content: '';
position: absolute;
top: 80%;
left: 50%;
display: block;
width: 0.5em;
height: 0.5em;
border-radius: 0.25em;
transform: translate(-50%, -50%);
}
.cssLoader17:before {
animation: before 2s infinite;
}
.cssLoader17:after {
animation: after 2s infinite;
}

@keyframes before {
0% {
width: 0.5em;
box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
}
35% {
width: 2.5em;
box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
}
70% {
width: 0.5em;
box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
}
100% {
box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
}
}
@keyframes after {
0% {
height: 0.5em;
box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
}
35% {
height: 2.5em;
box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
}
70% {
height: 0.5em;
box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
}
100% {
box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
}
}

.shape-box {
    box-sizing: border-box;
    border: 2px dashed #007bff;
    background: rgba(0, 123, 255, 0.2);
    z-index: 10;
}

.draggable-image {
    z-index: 10;
    border: 1px solid #ddd;
}
div#imageOptions {
    margin-top:10%;
}

div#shapeOptions {
     margin-top:10%;
}
    .tool-subblock {
        display: none;
    }

    .imageClicked #imageOptions,
    .shapeClicked #shapeOptions {
        display: block;
    }

    .image-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: auto;
    }

    .draggable-image {
        position: absolute;
        cursor: move;
        user-select: none;
    }

    .resizable-wrapper {
        border: 1px dashed #ccc;
        box-sizing: border-box;
    }

    .resize-handle {
        background-color: #000;
        border-radius: 2px;
    }

    .drawn-shape {
    box-sizing: border-box;
    cursor: move;
    position: absolute;
}

.drawn-shape.circle {
    border-radius: 50%;
}

.drawn-shape.triangle {
    cursor: move;
    pointer-events: auto;
}

.shape-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}