#pdfviewer {
    height: 640px;
}

#linear-pdfviewer {
    width: -moz-fit-content;
    width: fit-content;
}

#uploader-pdfviewer {
    display: none;
}

.content-wrapper-pdfviewer {
    border: 1px dashed #c3c3cc;
    position: relative;
    text-align: center;
    padding: 20px 0 10px;
}

.e-pv-e-sign.control-section {
    margin-top: 0px !important;
}

#e-pv-e-sign-userMenu .e-input-value {
    width: 84% !important;
}

.e-pv-e-sign-user-dropdown .e-input-group-icon.e-ddl-icon.e-search-icon {
    padding: 0px;
}

.e-pv-sign-hide-toolbar {
    display: none;
}

.e-pv-sign-show-toolbar {
    display: block;
}

.e-pv-fit-page-icon::before {
    content: '\e91b';
    font-family: "e-icons-pv";
}

@font-face {
    font-family: "e-icons-pv";
    font-style: normal;
    font-weight: normal;
    src: url(data:application/x-font-ttf;charset=utf-8;base64,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ZWd1bGFyY3VzdG9tLXRvb2xiYXJbMTkwOF1jdXN0b20tdG9vbGJhclsxOTA4XVZlcnNpb24gMS4wY3VzdG9tLXRvb2xiYXJbMTkwOF1Gb250IGdlbmVyYXRlZCB1c2luZyBTeW5jZnVzaW9uIE1ldHJvIFN0dWRpb3d3dy5zeW5jZnVzaW9uLmNvbQAgAGMAdQBzAHQAbwBtAC0AdABvAG8AbABiAGEAcgBbADEAOQAwADgAXQBSAGUAZwB1AGwAYQByAGMAdQBzAHQAbwBtAC0AdABvAG8AbABiAGEAcgBbADEAOQAwADgAXQBjAHUAcwB0AG8AbQAtAHQAbwBvAGwAYgBhAHIAWwAxADkAMAA4AF0AVgBlAHIAcwBpAG8AbgAgADEALgAwAGMAdQBzAHQAbwBtAC0AdABvAG8AbABiAGEAcgBbADEAOQAwADgAXQBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIAB1AHMAaQBuAGcAIABTAHkAbgBjAGYAdQBzAGkAbwBuACAATQBlAHQAcgBvACAAUwB0AHUAZABpAG8AdwB3AHcALgBzAHkAbgBjAGYAdQBzAGkAbwBuAC4AYwBvAG0AAAAAAgAAAAAAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAQIBAwEEAQUBBgEHAQgBCQEKAQsBDAENAQ4BDwAIVG9wLWljb24LZG93bi1hcnJvdzIKUFZfWm9vbW91dAlQVl9ab29taW4LUFZfRG93bmxvYWQLUFZfQm9va21hcmsJUFZfU2VhcmNoCFBWX1ByaW50C1BWX1ByZXZpb3VzB1BWX05leHQIUFZfQ2xvc2UMUFZfRml0VG9QYWdlB1BWX09wZW4AAA==) format('truetype');
}

.e-pv-e-sign-form-field-property {
    width: 72px;
    height: 72px;
    margin: 9px;
    border: 1px solid lightgrey !important;
    border-radius: 8px !important;
    display: grid !important;
    place-content: center;
    font-size: 12px;
}

#e-pv-e-sign-download {
    width: 115px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 16px;
    border: 1px solid var(--Color-variables-outline, #79747E);
}

#e-pv-e-sign-finishbtn {
    width: 115px !important;
    height: 28px;
    padding: 0;
    font-size: 12px;
    flex-shrink: 0;
    border-radius: 16px;
}

.e-pv-e-sign-user-dropdown .e-input-group:not(.e-float-icon-left):not(.e-float-input).e-input-focus::before,
.e-pv-e-sign-user-dropdown .e-input-group:not(.e-float-icon-left):not(.e-float-input).e-input-focus::after {
    width: 0px;
}

#e-pv-e-sign-user-field {
    color: #222933;
    font-family: Heebo, open sans, "sans-serif", -apple-system, BlinkMacSystemFont;
    border-radius: 4px;
    display: flex;
    position: relative;

}

#e-pv-e-sign-toolbar-user-viewer.e-toolbar .e-toolbar-items .e-toolbar-left .e-toolbar-item:first-child {
    margin-left: 0px !important;
}

#e-pv-e-sign-toolbar-user-viewer {
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 1px 0px rgba(0, 0, 0, 0.30);
    z-index: 1111;
}

.e-pv-e-sign-form-field-property-mob {
    border: none !important;
    box-shadow: none;
}

.e-pv-e-sign-toolbar-user-viewer,
.e-pv-e-sign-toolbar-user-viewer-mob {
    z-index: 1001;
    width: 100% !important;
    height: 48px !important;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
}

#e-pv-e-sign-defaultSidebar {
    height: 640px;
    position: absolute;
    box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
}

.e-pv-e-sign-user-dropdown> :first-child {
    border: none !important;
}

#magnificationToolbar {
    background: transparent;
    height: auto;
    min-height: 56px;
    width: auto;
    border: none;
    position: absolute;
    z-index: 900;
    top: calc(100% - 140px);
    left: calc(100% - 150px);
    transform: rotate(90deg);
}

div#magnificationToolbar.e-toolbar .e-toolbar-items {
    background: transparent;
    padding: 2px 3px 2px 2px;
}

#magnificationToolbar.e-toolbar .e-tbar-btn {
    border-radius: 50%;
    min-height: 30px;
    min-width: 30px;
    border: 1px solid #c8c8c8;
    transform: rotate(90deg);
}

#customToolbar {
    top: 20px;
    z-index: 900;
}

.e-bookmark-popup {
    height: 300px;
    max-width: 300px;
}

.e-text-search-popup {
    height: 104px;
    max-width: 348px;
}

.e-custom-search-input {
    width: 234px;
}

.e-text-search-popup .e-footer-content,
.e-bookmark-popup .e-footer-content {
    padding: 0;
    height: 0;
}

.search-button,
.search-button:disabled,
.search-button:focus,
.search-button:hover {
    background: transparent;
    box-shadow: none;
}

#popup .e-dlg-content {
    padding-left: 0;
    padding-bottom: 0;
}

.e-pv-bookmarks {
    min-width: 234px;
}

.e-pv-current-page-number {
    width: 46px !important;
    height: 28px;
    text-align: center;
}

.material .e-pv-current-page-number {
    border-width: 1px;
}

.e-btn-icon.e-pv-zoom-out-icon.e-icons {
    transform: rotate(90deg);
}

.pdfviewer-property-section {
    padding: 20px 15px;
}

.pdfviewer-contextmenu-checkbox-label {
    padding: 10px;
}

.pdfviewer-control-section {
    border-right: 1px solid #D7D7D7;
}

.pdfviewer-property-container {
    padding: 20px 15px;
}

.pdfviewer-document-list {

    #defaultDialog {
        left: 23%;
        top: 0% ! important;
    }

    #targetElement .dlgbtn {
        margin-right: 10px;
    }

    @media screen and (min-width: 150px) and (max-width: 480px) {
        .control-section {
            margin-bottom: 30px;
        }

        .control-wrapper {
            margin-bottom: 0px;
        }
    }

    #defaultDialog .form-title {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 16px;
        font-weight: 500;
        color: rgba(0, 0, 0, 0.70);
    }

    #defaultDialog .e-error,
    #defaultDialog .e-float-text {
        font-weight: 500;
    }

    #defaultDialog .e-custom-label {
        font-size: 14px;
        font-weight: 500;
        margin-left: 20px;
    }

    #defaultDialog #formId {
        padding-top: 10px;
        border: 1px solid #ccc;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.36);
        border-radius: 5px;
        background: #f9f9f9;
        height: 250px;
        overflow-y: scroll;
    }

    .material-dark #defaultDialog #formId,
    .material3-dark #defaultDialog #formId,
    .bootstrap5-dark #defaultDialog #formId {
        background: #212529;
    }

    .bootstrap-dark #defaultDialog #formId {
        background: #1a1a1a;
    }

    .fabric-dark #defaultDialog #formId {
        background: #201f1f;
    }

    .tailwind-dark #defaultDialog #formId {
        background: #1f2937;
    }

    .fluent-dark #defaultDialog #formId {
        background: #111111;
    }

    .e-pv-fit-page-icon::before {
        content: '\e91b';
        font-family: "e-icons";
    }


    .material-dark #defaultDialog .form-title,
    .material3-dark #defaultDialog .form-title,
    .bootstrap-dark #defaultDialog .form-title,
    .fabric-dark #defaultDialog .form-title,
    .tailwind-dark #defaultDialog .form-title,
    .bootstrap5-dark #defaultDialog .form-title,
    .fluent-dark #defaultDialog .form-title {
        color: rgb(249 249 249);
    }

    .highcontrast #defaultDialog form,
    .highcontrast #defaultDialog .header {
        color: #fff;
        background: #000000;
    }

    #defaultDialog .header {
        color: rgba(0, 0, 0, 0.7);
    }

    #defaultDialog .form-horizontal .form-group {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 5px;
    }

    #defaultDialog .e-submit-btn {
        height: 40px;
        width: 150px;
    }

    #defaultDialog .e-reset-btn {
        height: 40px;
        width: 150px;
    }

    #defaultDialog .submitRow {
        width: 320px;
        margin: 0px auto;
        height: 100px;
        padding-top: 25px;
    }

    #defaultDialog #DialogChart {
        text-align: center;
    }

    #defaultDialog {
        max-height: 500px;
    }

    .file-name-container {
        display: flex;
        justify-content: left;
    }

    .file-name-content {
        display: flex;
        align-items: center;
    }

    .icon-and-text {
        display: flex;
        align-items: left;
    }

    .file-name-text {
        text-align: center;
        margin-left: 8px;
        margin-top: 5px;
    }
}

/*redaction style*/
#e-pv-redact-sb-toolbar-secondary .e-input-group {
    border: none !important;
}

#e-pv-redact-sb-panel.control-section .e-appbar {
    height: 36px;
    font-size: 14px !important;
}

#e-pv-redact-sb-toolbar.e-toolbar .e-toolbar-item .e-tbar-btn {
    flex-direction: column;
}

#e-pv-redact-sb-toolbar.e-toolbar .e-toolbar-item .e-tbar-btn .e-icons.e-btn-icon {
    font-size: 18px;
    padding: 4px !important;
}

#e-pv-redact-sb-toolbar {
    height: 72px !important;
}

#e-pv-redact-sb-toolbar .e-toolbar-items {
    gap: 5px;
}

#e-pv-redact-sb-toolbar .e-toolbar-item.e-separator {
    height: 48px !important;
}

#e-pv-redact-sb-toolbar,
#e-pv-redact-sb-toolbar.e-toolbar,
#e-pv-redact-sb-toolbar-secondary {
    border-left-width: 1px !important;
    border-right-width: 1px !important;
}

.e-pv-redact-sb-toolbar,
#e-pv-redact-sb-toolbar-secondary {
    border-top-width: 1px !important;
    border: 0 solid var(--color-sf-border-light);
    --color-sf-border-light: #e0e0e0;
}

.e-pv-current-page-number {
    font-size: 12px;
}

.e-pv-total-page-number {
    font-weight: 400;
}

.e-pv-redact-sb-black-out-container .black-out {
    background-color: black;
    width: 18px !important;
    height: 18px !important;
    border: 1px solid white;
    border-radius: 3px;
    margin: 4px !important;
}

.e-pv-redact-sb-white-out-container .white-out {
    background-color: white;
    width: 18px !important;
    height: 18px !important;
    border: 1px solid black;
    border-radius: 3px;
    margin: 4px !important;
}

.e-bigger .e-pv-redact-sb-black-out-container .black-out,
.e-bigger .e-pv-redact-sb-black-out-container .white-out {
    position: relative;
    top: -4px;
}

.e-bigger #e-pv-redact-sb-toolbar.e-toolbar .e-toolbar-item.e-pv-redact-sb-black-out-container .e-tbar-btn.e-btn,
.e-bigger #e-pv-redact-sb-toolbar.e-toolbar .e-toolbar-item.e-pv-redact-sb-white-out-container .e-tbar-btn.e-btn {
    padding-top: 5px !important;
}

.e-bigger .e-pv-redact-sb-black-out-container .e-tbar-btn .e-tbar-btn-text,
.e-bigger .e-pv-white-out-container .e-tbar-btn .e-tbar-btn-text {
    padding: 2px 4px 7px 4px !important;
}

/*upload image*/
#e-pv-redact-sb-dialog.e-dialog #e-pv-redact-sb-defaultfileupload.e-upload-files {
    border: none !important;
}

#e-pv-redact-sb-panel.control-section #file-uploader {
    display: flex;
    border: 1px dashed #c8c6c4;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 6px;
}

#e-pv-redact-sb-dialog.e-dialog .e-dlg-header-content {
    border-bottom: 1px solid #C4C7C5 !important;
    padding: 15px !important;
}

#e-pv-redact-sb-dialog.e-dialog .e-footer-content {
    border-top: 1px solid #C4C7C5 !important;
    padding: 10px !important;
}

#e-pv-redact-sb-dialog.e-dialog .e-dlg-header-content+.e-dlg-content {
    padding: 20px !important;
}

#e-pv-redact-sb-panel.control-section .e-file-select-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#e-pv-redact-sb-dialog.e-dialog .e-footer-content .e-btn {
    background: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    color: #242424;
}

#e-pv-redact-sb-defaultfileupload .e-upload-files {
    border: none !important;
}

.e-pv-redact-sb-image-source {
    width: 70px;
    height: 70px;
}

.e-pv-redact-sb-image-container {
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px;
    gap: 5px;
    border-radius: 4px;
}

.e-pv-redact-sb-image-list {
    display: flex;
    justify-content: center;
    padding: 24px 15px;
    gap: 35px;
}

.e-pv-redact-sb-image-container-selected {
    border: 1px solid #757575 !important;
}

.e-pv-redact-sb-image-container:hover {
    border: 1px solid #757575;
}

#e-pv-redact-sb-drop-area-wrap {
    display: flex;
    border: 1px dashed #c8c6c4;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 6px;
}

#e-pv-redact-sb-defaultfileupload .e-upload {
    border: none;
    margin-top: 10px;
    width: 100%;
    height: 100%;
}

.e-icons.e-redaction:before {
    content: "\e740";
}

#e-pv-redact-sb-panel.control-section .e-dlg-overlay {
    background: none;
    -webkit-backdrop-filter: blur(2px) !important;
            backdrop-filter: blur(2px) !important;
}

#e-pv-redact-sb-toolbar-secondary .e-toolbar-items .e-template {
    min-width: 0px !important;
}

#e-pv-redact-sb-defaultfileupload .e-upload-file-list {
    display: none !important;
}

.e-pv-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 2;
    background-color: white;
    border-bottom: 1px solid #D7D7D7;
    padding-bottom: 5px !important;
    margin-bottom: 16px;
}

.e-pv-annot-inner-table td {
    text-wrap: nowrap;
    padding: 12px 12px 0 12px;
    width: 50%;
}

.e-pv-main-panel {
    border-left: 1px solid #D7D7D7;
    height: 700px;
    overflow-y: scroll;
    padding-bottom: 0px;
}

.e-pv-input-item {
    margin-top: 0px;
}

.e-pv-annot-inner-container {
    margin-top: 15px;
    border: 1px solid rgba(196, 199, 197, 1);
    padding: 12px;
}

.e-pv-annot-inner-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.e-pv-pdfViewer-coordinate-table {
    border-spacing: 0px;
}

.e-pv-pdfViewer-coordinate-table td {
    border: 1px solid rgba(196, 199, 197, 1);
    font-size: 11px;
    text-align: center;
    width: auto;
    padding: 4px 0px;
}

.e-pv-property-panel-footer {
    padding: 10px 0px 16px 0px;
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 1;
    border-top: 1px solid #D7D7D7;
    margin-top: 16px;
}

.e-pv-annot-button-section {
    text-align: center;
    display: flex;
    justify-content: end;
    gap: 12px;
    flex-wrap: wrap-reverse;
}

.e-pv-pdfviewer-input-title .e-pv-check-box-row {
    padding: 5px;
    margin-top: 16px;
}

.fluent2 .e-pv-pdfviewer-input-title .e-pv-check-box-row,
.fluent2-dark .e-pv-pdfviewer-input-title .e-pv-check-box-row,
.fluent2-highcontrast .e-pv-pdfviewer-input-title .e-pv-check-box-row {
    padding: 0;
    margin-top: 16px;
}

.e-pv-pdfviewer-input-title {
    margin-top: 12px;
    font-size: 12px;
}

.e-pv-table-items {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2px;
}

.e-pv-pdfviewer-table-input-title {
    margin-top: 6px;
    font-size: 11px;
}

.e-pv-pdfviewer-text-content {
    font-size: 12px;
}

.e-pv-annot-bounds-list {
    border: 1px solid rgba(196, 199, 197, 1);
    border-spacing: 0px;
}

.e-pv-annot-bounds-list td {
    font-size: 11px;
    text-align: center;
    width: auto;
    padding: 4px 0px;
    border-bottom: 1px solid rgba(196, 199, 197, 1);
}

.e-pv-reply-container {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 12px;
}

.e-pv-reply-main-container {
    flex-grow: 1;
}

.e-pv-replies {
    overflow-y: auto;
    max-height: 180px;
    padding: 0px !important;
}

.reply-text {
    width: 100%;
    font-size: 12px;
    word-break: break-word;
}

.upload-image {
    width: 80px;
    height: 80px;
    margin: 12px;
    border-radius: 5px;
    border: 1px solid rgba(196, 199, 197, 1);
    padding: 4px;
}

div .file-name {
    font-size: 14px;
    padding: 0px 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    width: 90px;
    white-space: nowrap;
}

.wrapper {
    display: flex;
    align-items: center;
}

.bootstrap5_3-dark .e-pv-property-panel-footer,
.bootstrap5_3-dark .e-pv-header-panel {
    background-color: #212529;
}

.fluent2-highcontrast .e-pv-property-panel-footer,
.fluent2-highcontrast .e-pv-header-panel,
.material3-dark .e-pv-property-panel-footer,
.material3-dark .e-pv-header-panel,
.fluent2-dark .e-pv-property-panel-footer,
.fluent2-dark .e-pv-header-panel {
    background-color: #1C1B1F;
}

.tailwind3-dark .e-pv-property-panel-footer,
.tailwind3-dark .e-pv-header-panel {
    background: #111827;
}

.e-pv-visible-sign-input-item {
    margin-top: 4px;
}

.e-pv-visible-sign-group h4 {
    margin-bottom: 10px;
}

.e-pv-visible-sign-tab {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 12px 16px;
}

.e-view.e-bigger .e-pv-visible-sign-tab {
    padding: 12px 16px 16px;
}

.e-pv-visible-sign-tab hr {
    border-color: #D7D7D7;
    margin-top: 16px;
    margin-bottom: 16px;
}

.e-pv-visible-sign-tab-content-footer {
    display: flex;
    justify-content: flex-end;
    position: -webkit-sticky;
    position: sticky;
    padding-right: 12px;
    padding-top: 12px;
    margin-bottom: 12px;
    bottom: -1px;
    z-index: 1;
    flex-shrink: 0;
    background-color: var(--color-sf-content-bg-color);
    border-top: 1px solid var(--color-sf-border);
    flex: 0 0 auto;
}

#visibleSign_button_signDocument {
    width: 160px;
}

.material3 .e-pv-visible-sign-tab-content-footer,
.material3-dark .e-pv-visible-sign-tab-content-footer {
    background: rgba(var(--color-sf-background));
    border-top: 1px solid rgba(var(--color-sf-outline));
}

.fluent2-highcontrast .e-pv-visible-sign-tab-content-footer,
.fluent2-highcontrast .e-pv-visible-sign-tab-header {
    background-color: #1C1B1F;
}

.fluent2 .e-pv-visible-sign-tab-content-footer,
.fluent2 .e-pv-visible-sign-tab-header {
    background-color: #FFF;
}

.e-pv-visible-sign-uploaded-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.e-pv-visible-sign-tab-panel {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #D7D7D7;
    padding: 0 !important;
    height: 610px;
    overflow-x: hidden;
}

.e-pv-visible-sign-tab-content {
    flex-grow: 1;
}

.e-pv-visible-sign-header-title {
    padding: 12px;
}

.e-pv-visible-sign-tab-header {
    display: flex;
    border-bottom: 1px solid var(--color-sf-border);
    background: var(--color-sf-content-bg-color);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    flex: 0 0 auto;
}

.material3 .e-pv-visible-sign-tab-header,
.material3-dark .e-pv-visible-sign-tab-header {
    background: rgba(var(--color-sf-background));
    border-bottom: 1px solid rgba(var(--color-sf-outline));
}

.e-pv-visible-sign-tab-header-item {
    position: relative;
    padding: 0 15px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: var(--color-sf-content-text-color-alt3);
}

.material3 .e-pv-visible-sign-tab-header-item,
.material3-dark .e-pv-visible-sign-tab-header-item {
    color: rgba(var(--color-sf-on-surface-variant));
}

.e-pv-visible-sign-tab-header-item:hover {
    color: var(--color-sf-content-text-color-hover);
}

.material3 .e-pv-visible-sign-tab-header-item:hover {
    color: rgba(var(--color-sf-black));
}

.material3-dark .e-pv-visible-sign-tab-header-item:hover {
    color: rgba(var(--color-sf-white));
}

.fluent2-highcontrast .e-pv-visible-sign-tab-header-item:hover {
    color: var(--color-sf-white);
}

.e-pv-visible-sign-tab-header-item.active {
    font-weight: 600;
    border-bottom: 3px solid var(--color-sf-primary);
    color: var(--color-sf-primary);
}

.e-pv-visible-sign-tab-header-item.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-sf-primary);
}

.material3 .e-pv-visible-sign-tab-header-item.active::after,
.material3-dark .e-pv-visible-sign-tab-header-item.active::after {
    background-color: rgba(var(--color-sf-primary));
}

.material3 .e-pv-visible-sign-tab-header-item.active,
.material3-dark .e-pv-visible-sign-tab-header-item.active {
    border-bottom: 3px solid rgba(var(--color-sf-primary));
    color: rgba(var(--color-sf-primary));
}

.e-pv-visible-sign-tab-header-item.active:hover {
    color: var(--color-sf-primary);
}

.material3 .e-pv-visible-sign-tab-header-item.active:hover,
.material3-dark .e-pv-visible-sign-tab-header-item.active:hover {
    color: rgba(var(--color-sf-primary));
}

.e-pv-visible-sign-tab-header-item-text {
    height: 48px;
    display: inline-flex;
    align-items: center;
}

.e-pv-visible-sign-group-title,
.e-pv-visible-sign-dropdown-label {
    font-size: 14px;
    font-weight: 600;
}

.e-pv-visible-sign-text-content {
    font-size: 14px;
}

.e-view.e-bigger .e-pv-visible-sign-group-title,
.e-view.e-bigger .e-pv-visible-sign-dropdown-label {
    font-size: 16px;
    font-weight: 600;
}

.e-view.e-bigger .e-pv-visible-sign-text-content,
.e-view.e-bigger .e-pv-visible-sign-tab-header-item-text {
    font-size: 16px;
}

.e-pv-visible-sign-inner-table,
.e-pv-visible-sign-position-table,
.e-pv-visible-sign-size-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.e-pv-visible-sign-position-table,
.e-pv-visible-sign-size-table {
    table-layout: auto;
}

.e-pv-visible-sign-inner-table td,
.e-pv-visible-sign-position-table td,
.e-pv-visible-sign-size-table td {
    text-wrap: nowrap;
    padding: 6px;
}

.e-pv-visible-sign-inner-table td:first-child,
.e-pv-visible-sign-position-table td:first-child,
.e-pv-visible-sign-size-table td:first-child {
    padding-left: 0;
}

.e-pv-visible-sign-inner-table td:last-child,
.e-pv-visible-sign-position-table td:last-child,
.e-pv-visible-sign-size-table td:last-child {
    padding-right: 0;
}

.e-pv-visible-sign-inner-table td:first-child {
    width: 40%;
}

.e-pv-visible-sign-inner-table td:last-child {
    width: 60%;
}

.e-pv-visible-sign-signature-image-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.e-pv-visible-sign-signature-image-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.e-pv-visible-sign-image-wrapper {
    position: relative;
    border: 2px solid;
    border-color: lightgray;
    cursor: pointer;
    height: 60px;
    width: 60px;
    background-color: #fff;
}

.e-pv-visible-sign-image-wrapper.selected {
    border-color: #0078d4;
}

.e-pv-visible-sign-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.e-pv-visible-sign-image-wrapper .e-pv-visible-sign-image-delete {
    position: absolute;
    top: -10px;
    right: -10px;
}

.tailwind3-dark .e-pv-visible-sign-image-delete,
.tailwind3-dark .e-pv-visible-sign-image-delete:hover {
    color: #000;
}

#e-pv-visible-sign-image-uploader {
    display: none;
}

.e-pv-visible-sign-tab-panel .e-tab .e-tab-header {
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
    top: 0;
    background-color: var(--color-sf-content-bg-color);
}

.e-pv-visible-sign-pdfviewer-tab-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.e-pv-visible-sign-pdfviewer-tab-container .e-pv-visible-sign-toolbar,
.e-pv-visible-sign-pdfviewer-tab-container .e-pv-visible-sign-message {
    flex-shrink: 0;
}

.e-pv-visible-sign-pdfviewer-tab-container .e-pv-visible-sign-pdfviewer-container {
    flex-shrink: 1;
    flex-grow: 1;
}

/* Table styling */
#Grid table {
    border: 1px solid #d7d7d7;
    table-layout: fixed;
    width: 100%;
}

#Grid table th,
#Grid table td {
    border: 1px solid #d7d7d7;
    padding: 12px 8px;
    overflow: hidden;
    white-space: nowrap;
}

#Grid table th {
    width: 33.33%;
    font-weight: 600;
    text-align: left;
}

#Grid table th.e-pv-table-actions-header {
    text-align: center;
}

#Grid table td {
    width: 33.33%;
}

#Grid table td.e-pv-table-actions-cell {
    text-align: center;
}

#Grid table td.e-pv-table-author-cell {
    padding-top: 20px;
}

/* Hide center column (Author) borders */
#Grid table th:nth-child(1),
#Grid table td:nth-child(1) {
    border-right: none;
}

#Grid table td:nth-child(1) {
    overflow: hidden;
    white-space: nowrap;
}

#Grid table th:nth-child(2),
#Grid table td:nth-child(2) {
    border-left: none;
    border-right: none;
}

#Grid table th:nth-child(3),
#Grid table td:nth-child(3) {
    border-left: none;
}

#Grid table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Icon styling with e-pv prefix */
.e-pv-view-btn,
.e-pv-edit-btn {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 6px !important;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    text-decoration: none;
    outline: none;
    box-sizing: border-box;
}

.e-pv-view-btn:hover,
.e-pv-edit-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    outline: none;
}

.e-pv-view-btn:focus,
.e-pv-edit-btn:focus {
    outline: none;
    text-decoration: none;
}

.e-pv-view-btn:active,
.e-pv-edit-btn:active {
    background-color: #efefef;
    border-color: #999;
    outline: none;
}

.e-pv-view-icon,
.e-pv-edit-icon {
    font-size: 16px;
    color: #7a8a99;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
}

.e-pv-view-btn:hover .e-pv-view-icon,
.e-pv-edit-btn:hover .e-pv-edit-icon {
    color: #5a6a7a;
    text-decoration: none;
    font-weight: 600;
}

.e-pv-view-btn:active .e-pv-view-icon,
.e-pv-edit-btn:active .e-pv-edit-icon {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

#Grid table tbody tr:hover {
    background-color: var(--pv-row-hover, rgba(0, 0, 0, 0.04));
}

/* Dark theme override (scoped to this page via body classes) */
body.e-dark-mode #Grid table tbody tr:hover,
body[class*='-dark'] #Grid table tbody tr:hover {
    background-color: var(--pv-row-hover-dark, rgba(255, 255, 255, 0.07));
}

/* PDF Navigation Sample */
.bookmarks-listview.e-listview:not(.e-list-template) .e-list-item {
    height: auto !important;
    line-height: normal !important;
    padding: 12px 9px !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Stack the page tag above the title; title wraps cleanly underneath. */
.bookmarks-list-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 4px;
    padding-bottom: 4px;
    cursor: pointer;
}

.bookmarks-list-item .bookmarks-page-tag {
    font-weight: 600;
    font-size: 12px;
    text-transform: none;
    color: inherit;
}

.bookmarks-list-item .e-list-content {
    font-size: 13px;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    width: 100%;
}

.e-list-item-header {
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}

.e-list-content {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bookmarks-listview {
    height: 100%;
    border: none;
}

.bookmarks-listview .e-list-parent {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    margin: 0;
}

.bookmarks-listview .e-list-item {
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s;
    background: #f9f9f9;
    border-left: 4px solid transparent;
    min-height: 64px;
    box-sizing: border-box;
}

.bookmarks-listview .e-list-item .bookmarks-list-item {
    padding: 0;
    display: block;
}

.bookmarks-listview .e-list-item.e-active {
    background: #e8f0fe !important;
}

.bookmarks-listview .e-list-item .e-list-item-header {
    display: block;
    margin-bottom: 4px;
}

#pv_search_box {
    right: 315px !important;
}

#pv_search_box .e-pv-match-case-container {
    margin-top: 8px;
    padding: 4px 0;
}

#pv_search_box .e-pv-match-case-container label {
    display: flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

#pv_match_case {
    margin: 0 !important;
}

/* PDF Navigation Styles */

.pdf-navigation-container {
    display: flex;
    gap: 0px;
    height: 640px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.pdf-navigation-left-panel {
    flex: 1 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Input and Page Number */
.e-pv-current-page-number {
    width: 50px;
    padding: 4px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 13px;
    text-align: center;
}

#bookmark_listview {
    border: none !important;
}

.e-pv-current-page-number:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
}

/* Text Search Toolbar */
.text-search-toolbar {
    display: none;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}

.text-search-toolbar.active {
    display: block;
}

.e-pv-search-bar {
    padding: 8px 12px;
    gap: 12px;
}

.e-pv-search-bar-elements {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1 1;
}

.e-pv-search-input {
    flex: 1 1;
    display: flex;
    align-items: center;
}

.e-pv-search-input .e-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    font-size: 13px;
    background-color: #fff;
}

.e-pv-search-input .e-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.1);
}

.e-pv-search-input .e-input-group-icon {
    cursor: pointer;
    color: #666;
    padding: 0 8px;
}

.e-pv-search-btn {
    min-width: 32px;
    min-height: 32px;
    padding: 4px 8px;
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.e-pv-search-btn:hover {
    background-color: #e8e8e8;
    border-color: #b0b0b0;
}

.e-pv-match-case-container {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.e-pv-match-case-container label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.e-pv-match-case-container input[type="checkbox"] {
    cursor: pointer;
    width: 14px;
    height: 14px;
}

/* PDF Viewer Container */
.pdf-viewer-container {
    flex: 1 1;
    min-width: 0;
    background-color: #e8e8e8;
    overflow: hidden;
}

.pdf-viewer-container #pdfviewer_container {
    width: 100%;
    height: 100%;
}

/* Bookmarks Panel - Right Sidebar */
.pdf-navigation-bookmarks-panel {
    width: 300px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    background-color: #fafafa;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.05);
}

/* Bookmarks Header */
.bookmarks-header {
    padding: 16px 14px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
    font-weight: 700;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


/* Bookmarks Content */
.bookmarks-content {
    flex: 1 1;
    overflow: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

/* Bookmarks Count */
.bookmarks-count {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.bookmarks-count strong {
    font-weight: 700;
}

/* Bookmarks List */
.bookmarks-list {
    flex: 1 1;
    overflow: auto;
    min-height: 0;
    border-radius: 3px;
    background-color: #fff;
}

.bookmarks-listview {
    height: 100%;
}

.bookmarks-listview .e-listview {
    border: none !important;
    background-color: #fff;
}

.bookmarks-listview .e-list-item {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bookmarks-listview .e-list-item:last-child {
    border-bottom: none;
}

.bookmarks-listview .e-list-item:hover {
    background-color: #f5f9ff;
}

.bookmarks-listview .e-list-item.e-active {
    background-color: #e3f2fd;
}

/* Bookmark Item */
.bookmarks-list-item {
    padding: 2px 0;
}

.e-list-item-header {
    font-weight: 600;
    font-size: 11px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.e-list-content {
    font-size: 12px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* Empty State */
.bookmarks-empty {
    text-align: center;
    color: #999;
    padding: 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bookmarks-empty-title {
    margin: 0 0 8px 0;
    font-weight: 600;
    font-size: 13px;
    color: #666;
}

.bookmarks-empty-subtitle {
    margin: 0;
    color: #999;
    font-size: 12px;
    line-height: 1.4;
}


    #pageSelector_popup {
        z-index: 100000 !important;
    }

    .e-frame-custom::before {
        content: "\e8a9";
    }

    .e-extract-page::before {
        content: "\e95a";
    }

    .e-frame-custom:before,
    .e-extract-page:before {
        font-family: 'e-icons' !important;
        font-style: normal;
        font-weight: normal;
        display: inline-block;
    }

    .extract-text-container {
        border: 1px solid var(--e-border-color, #dcdcdc);
        border-radius: 6px;
        overflow: hidden;
        background-color: inherit;
    }

    .extract-text-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 14px;
        border-bottom: 1px solid var(--e-border-color, #dcdcdc);
        background-color: inherit;
    }

    .extract-text-content {
        color: inherit;
    }

    .extract-disabled {
        opacity: 0.5;
        pointer-events: none;
        cursor: not-allowed;
    }

    /* Primary Toolbar Customization Sample */
.property-panel-header { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.toolbar-dropdown { position: relative; width: 100%; }
.toolbar-dropdown-button {
    width: 100%; min-height: 36px; padding: 0 12px;
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid #c8c8c8; border-radius: 4px;
    background: #fff; cursor: pointer; box-sizing: border-box;
}
.toolbar-checkbox-popup {
    display: none; flex-direction: column; gap: 6px; padding: 12px;
    border: 1px solid #c8c8c8; border-radius: 4px;
    background: #fff;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1500;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    max-height: 260px;
    overflow-y: auto;
}
.toolbar-checkbox-popup.open { display: flex; }
.toolbar-checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.toolbar-checkbox-divider {
    height: 1px;
    background: #e6e6e6;
    margin: 6px 0 2px;
}
.toolbar-checkbox-select-all {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    cursor: pointer;
    padding: 2px 0;
}
#customizeToolbar { margin-top: 12px; width: 100%; }
.add-item-section { margin-top: 16px; border-top: 1px solid #e0e0e0; padding-top: 12px; }
.style-group { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dropdown-label { font-size: 13px; font-weight: 500; }
.ptc-select-wrap { position: relative; }
.ptc-select-input {
    width: 100%; padding: 6px 28px 6px 10px; font-size: 13px;
    border: 1px solid #c8c8c8; border-radius: 4px; background: #fff;
}
.ptc-select-arrow {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    pointer-events: none; color: #666; font-size: 11px;
}
.icon-grid-scroll { max-height: 130px; overflow-y: auto; padding: 4px; border: 1px solid #d7d7d7; border-radius: 4px; background: #fafafa; }
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 4px; gap: 4px; }
.icon-grid-item {
    aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
    border: 1px solid #d7d7d7; background: #fff; border-radius: 3px; cursor: pointer; font-size: 16px;
}
.icon-grid-item:hover { background: #f0f8ff; border-color: #0d6efd; }
.icon-grid-item.selected { background: #0d6efd; color: #fff; border-color: #0d6efd; }
/* Selected summary card (after picking a button in the dialog) */
.selected-item-summary {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #f1f6ff;
    border: 1px solid #d6e2ff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.selected-item-summary .style-label {
    font-size: 11px;
    color: #5a6b85;
    letter-spacing: 0.3px;
    margin: 0;
}
/* Preview row inside the Selected summary: centers the actual button the user created
   (text button with chosen colors, or icon button styled like a Syncfusion toolbar button) */
.selected-item-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 4px 2px;
}
.ptc-selected-preview-btn {
    /* Inherits color/background/border/fontSize from inline style set in the JSX */
    outline: none;
    line-height: 1.2;
    white-space: nowrap;
}
.ptc-selected-preview-icon-btn {
    min-width: 36px;
    min-height: 32px;
    padding: 4px 8px;
    background: #ffffff;
    border: 1px solid #d6e2ff;
    border-radius: 4px;
    color: #0d6efd;
}
.ptc-selected-preview-icon-btn .e-icons {
    font-size: 18px;
    line-height: 1;
}
.selected-item-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #c5d4f3;
}
#selectedIconDisplay {
    text-align: center;
    margin-top: 4px;
    font-size: 28px;
    color: #0d6efd;
    background: #ffffff;
    border: 1px solid #c5d4f3;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Create Text/Icon button: full-width layout only — background comes from .e-btn.e-btn-primary */
.ptc-create-text-btn {
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

/* Hint label shown under each Create trigger explaining the next step */
.ptc-section-hint {
    margin-top: 4px;
    font-size: 11px;
    color: #7c8aa3;
    line-height: 1.4;
}
.property-subheader { font-size: 14px; font-weight: 600; margin-top: 14px; margin-bottom: 4px; }

/* Form action row (Clear + ADD Item) */
.ptc-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
}
.ptc-form-actions > .e-btn {
    flex: 1 1;
    min-width: 0;
    width: auto;
}

/* Modal layout */
.simple-text-dialog .e-dlg-content { padding: 16px; }
.ptc-modal-body { display: flex; flex-direction: column; gap: 12px; }
.simple-text-dialog .e-dlg-footer { padding: 12px 16px; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 8px; width: 100%; }

/* Preview box */
.modal-preview-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 18px 12px;
    background-color: #ffffff;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
}
.preview-label { font-size: 12px; color: #666; margin-bottom: 8px; display: block; }
.ptc-preview-btn { outline: none; }

/* Dialog body rows */
.ptc-row { display: flex; gap: 14px; width: 100%; }
.ptc-row.two-col > .style-group { flex: 1 1; min-width: 0; }
.ptc-row.three-col { gap: 12px; }
.ptc-row.three-col > .style-group { flex: 1 1; min-width: 0; }

.ptc-properties-header {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}

.ptc-color-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ptc-color-cell .e-colorpicker { padding: 0; }
.ptc-color-hex {
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.4px;
}

/* Icon dialog */
.ptc-icon-preview {
    min-height: 72px;
}
.ptc-icon-preview .e-icons {
    font-size: 28px;
    color: #0d6efd;
    background: #e7f1ff;
    padding: 10px;
    border-radius: 8px;
    line-height: 1;
}
.ptc-icon-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-top: 4px;
}
.ptc-icon-grid-wrap {
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
}
.ptc-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 6px;
    gap: 6px;
}
.ptc-icon-grid-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7d7d7;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #555;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -moz-user-select: none;
         user-select: none;
    -webkit-user-select: none;
}
.ptc-icon-grid-item > .e-icons {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}
.ptc-icon-grid-item:hover {
    background: #f5f7fa;
    border-color: #c8d3e0;
    color: #0d6efd;
}
.ptc-icon-grid-item.selected,
.ptc-icon-grid-item.selected:hover {
    background: #fff;
    border-color: #0d6efd;
    color: #0d6efd;
    box-shadow: 0 0 0 1px #0d6efd inset;
}

/* Error message */
.modal-error-message {
    padding: 10px 12px;
    background-color: #fff5f5;
    border: 2px solid #fca5a5;
    border-radius: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

/* Ensure Syncfusion Dialog renders above PDF Viewer overlays */
.e-dlg-container { z-index: 20000 !important; }

/* Mobile: keep the property panel + API Action select inside the viewport */
@media (max-width: 767px) {
    .control-section { display: block; padding: 8px; box-sizing: border-box; }
    .col-lg-9.pdfviewer-control-section,
    .col-lg-3.property-section-pdfviewer {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        box-sizing: border-box;
    }
    #pdfViewer { height: 360px; }
    .col-lg-3.property-section-pdfviewer { margin-top: 12px; }
    /* Force selects (Syncfusion <select> + native <select>) to shrink-to-fit the column */
    .ptc-select-wrap,
    .ptc-select-input,
    #customItemType,
    #apiDropdown {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    /* Drop the popup from the flow so it floats over content rather than pushing siblings out */
    .toolbar-checkbox-popup.open { left: 0; right: auto; max-width: calc(100vw - 24px); }
}
/* End Primary Toolbar Customization Sample */
  /* Semantic Text Comparison Styles */
    .text-comparison-uploaders-section {
        display: flex;
        flex-direction: row;
        /* justify-content: center; */
        align-items: center;
        gap: 1.5%;
        padding: 8px 4px 16px;
        flex-wrap: wrap;
    }

    .text-comparison-uploader {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 39%;
        min-height: 72px;
        padding: 10px 12px;
        border: 1px dashed #d1d5db;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .text-comparison-uploader-top-row,
    .text-comparison-uploader-file-row {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .text-comparison-uploader-top-row {
        gap: 8px;
    }

    .text-comparison-uploader-file-row {
        justify-content: space-between;
        gap: 8px;
        font-size: 12px;
        color: #666;
    }

    .text-comparison-uploader-title {
        font-size: 13px;
        font-weight: 500;
    }

    .text-comparison-file-button {
        padding: 4px 8px;
        border: 1px solid #c8c8c8;
        border-radius: 4px;
        background: #fff;
        color: inherit;
        cursor: pointer;
        font-size: 12px;
        white-space: nowrap;
    }
    .text-comparison #mobile-close-btn-element,
    .text-comparison .text-comparison-mobile-close-btn {
        border: none !important;
    }

    .text-comparison-file-input {
        display: none !important;
    }

    .text-comparison-uploader-filename {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .text-comparison-remove-btn {
        flex: 0 0 auto;
        padding: 2px;
        border: 0;
        background: transparent;
        color: #666;
        cursor: pointer;
        line-height: 1;
    }

    .text-comparison-remove-btn:hover {
        color: #c00;
    }

    .text-comparison-uploader-input-group {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .text-comparison-compare-btn {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 4px 8px;
        gap: 10px;
        
        /* Button sizing - responsive */
        min-width: 143px;
        height: 32px;
        width: 18%;
        
        /* Design tokens */
        background: #4F46E5;
        border: 1px solid #4F46E5;
        border-radius: 6px;
        color: #FFFFFF;
        
        /* Typography */
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        
        /* Interactive */
        cursor: pointer;
        transition: background-color 0.2s ease, border-color 0.2s ease;
    }

    .text-comparison-compare-btn:hover {
        background: #4338CA;
        border-color: #4338CA;
    }

    .text-comparison-compare-btn:active {
        background: #3730A3;
        border-color: #3730A3;
    }

    .text-comparison-compare-btn:disabled {
        background: #CCCCCC;
        border-color: #CCCCCC;
        cursor: not-allowed;
        opacity: 0.6;
    }

    .text-comparison .e-btn.text-comparison-compare-btn-enabled {
        background: #4F46E5 !important;
        border-color: #4F46E5 !important;
        color: #FFFFFF !important;
        cursor: pointer;
        opacity: 1;
    }

    .text-comparison .e-btn.text-comparison-compare-btn-enabled:hover {
        background: #4338CA !important;
        border-color: #4338CA !important;
    }

    @media (max-width: 767px) {
        .text-comparison-uploaders-section {
            padding-left: 0;
            padding-right: 0;
        }

        .text-comparison-uploader,
        .text-comparison-compare-btn {
            width: 100%;
        }
    }

    .text-comparison-mobile-upload-btn,
    .text-comparison-mobile-upload-header {
        display: none !important;
    }

    @media (max-width: 1023px) {
        .control-section.text-comparison {
            min-height: 0;
        }

        .text-comparison-mobile-upload-btn {
            display: flex !important;
            width: -moz-fit-content;
            width: fit-content;
            min-height: 32px;
            justify-content: flex-start;
            margin: 0 0 8px 8px;
            padding: 4px 10px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            background: #fff;
            color: #1f2937;
            font-size: 12px;
            box-sizing: border-box;
        }

        .text-comparison-mobile-upload-btn .e-btn-icon {
            margin-right: 6px;
            border: none;
        }

        .text-comparison .text-comparison-uploaders-section {
            display: none;
            flex-direction: column;
            align-items: stretch;
            width: 100%;
            padding: 0 0 12px;
        }

        .text-comparison.mobile-uploaders-open .text-comparison-mobile-upload-btn {
            display: none !important;
        }

        .text-comparison.mobile-uploaders-open .text-comparison-uploaders-section {
            display: flex;
            min-height: 600px;
            gap: 16px;
            border: 1px solid #e5e7eb;
            background: #fff;
            box-sizing: border-box;
        }

        .text-comparison-mobile-upload-header {
            align-items: center;
            gap: 12px;
            width: 100%;
            min-height: 52px;
            margin: 0 -16px;
            padding: 0 16px;
            border-bottom: 1px solid #e5e7eb;
            box-sizing: border-box;
            font-size: 16px;
            font-weight: 500;
        }

        .text-comparison.mobile-uploaders-open .text-comparison-mobile-upload-header {
            display: flex !important;
        }

        .text-comparison-mobile-close-btn {
            min-width: 28px;
            min-height: 28px;
            padding: 0;
        }

        .text-comparison .text-comparison-uploader {
            width: 100%;
            max-width: none;
            min-height: 0;
            margin: 0;
            padding: 0;
            gap: 4px;
            border: 0;
        }

        .text-comparison .text-comparison-uploader-top-row {
            position: relative;
            display: block;
            height: 22px;
        }

        .text-comparison .text-comparison-uploader-title {
            display: block;
            font-size: 16px;
            font-weight: 500;
            line-height: 22px;
        }

        .text-comparison .text-comparison-file-button {
            position: absolute;
            z-index: 1;
            top: 30px;
            left: 0;
            width: 95%;
            height: 37px;
            padding: 4px 8px;
            margin: 10px;
            text-align: center;
            font-size: 16px;
        }

        .text-comparison .text-comparison-uploader-file-row {
            min-height: 94px;
            padding: 48px 18px 10px;
            border: 1px dashed #d1d5db;
            box-sizing: border-box;
            font-size: 14px;
        }

        .text-comparison .text-comparison-compare-btn {
            width: 95%;
            margin: auto 10px 10px;
            min-width: 0;
            flex: 0 0 37px;
            font-size: 16px;
        }

        .text-comparison.mobile-uploaders-open #comparer-container {
            display: none;
        }

        .text-comparison.mobile-uploaders-open #action-description,
        .text-comparison.mobile-uploaders-open #description {
            display: none;
        }
    }
