/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.wpdl-view-documents .fav-icon {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.wpdl-view-documents .fav-icon .wpdl-document-title {
    margin: 0 0 10px 0;
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-content h3 a {
    color: #000;
    text-decoration: none;
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-content h3 a:hover {
    text-decoration: underline;
}

.wpdl-view-documents .fav-icon .wpdl-favorite-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
}

.wpdl-view-documents .fav-icon .wpdl-icon img {
    width: 25px !important;
    height: 25px !important;
    cursor: pointer;

}

table.wp-doc-frnt {
    border: 1px solid #c3c4c7 !important;
}

table.wp-doc-frnt thead {
    background: #ffffff;
}

table.wp-doc-frnt.dataTable thead th,
table.wp-doc-frnt.dataTable thead td {
    border-bottom: 1px solid #c3c4c7;
}

table.wp-doc-frnt.dataTable thead td {
    border-top: 0px !important;
}

table.wp-doc-frnt.dataTable th,
table.wp-doc-frnt.dataTable td {
    font-size: 14px;
    line-height: 20px;
    box-shadow: none !important;
}

table.wp-doc-frnt.dataTable thead th.wp-doc-tble-title {
    min-width: 110px;
}

table.wp-doc-frnt.dataTable thead th.wp-doc-tble-date {
    min-width: 115px;
}

table.wp-doc-frnt.dataTable .wp-doc-tble-download a,
.wpdl-meta-item.wp-doc-tble-download .button.button-primary {
    background: #1a1a18;
    border: none;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    border-radius: 30px;
    padding: 8px 20px;
    transition: 0.3s;
    margin: 0;
    display: block;
    width: fit-content;
}

table.wp-doc-frnt.dataTable .wp-doc-tble-download a:hover {
    opacity: .9;
}



#wpdl_shortcode_table_filter {
    margin-bottom: 10px;
}

#wpdl_shortcode_table_wrapper select[name="wpdl_shortcode_table_length"],
#wpdl_shortcode_table_filter input {
    border-color: #dbdbdb;
}

span.wp-doc-empty {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 3px;
    opacity: .5;
    font-size: 14px;
}

#wpdl_shortcode_table_wrapper a.paginate_button {
    padding: 3px 5px;
    min-height: inherit;
    background: #074b79 !important;
    color: #fff !important;
    line-height: normal;
    font-size: 15px;
    margin: 0 3px;
    border-radius: 5px;
}


#wpdl_shortcode_table_wrapper .dataTables_paginate.paging_simple_numbers {
    padding-top: 15px;
}

.wp-doc-tc {
    text-align: center;
}

#wpdl_shortcode_table_wrapper {
    margin-bottom: 40px;
}

.select2 button {
    color: inherit;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    margin-inline: 0;
}

span.select2-search.select2-search--inline {
    line-height: unset;
}

textarea.select2-search__field {
    line-height: 1;
}

li.select2-selection__choice {
    display: flex !important;
    align-items: center;
    width: max-content;
    max-width: 100%;
}

.select2 .select2-selection__choice__remove {
    bottom: 0;
}

/* WPDL Document Viewer */
.wpdl-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpdl-modal-content {
    background: #fff;
    width: 100%;
    height: 100%;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    padding: 20px;
    border-radius: 8px;
}

.wpdl-modal-close {
    float: right;
    cursor: pointer;
    font-size: 24px;
}

.wpdl-viewer iframe,
.wpdl-viewer canvas,
.wpdl-viewer video,
.wpdl-viewer audio {
    width: 100%;
    max-height: 80vh;
}

.wpdl-modal .wpdl-doc-viewer {
    overflow: hidden;
    /* hide outer scroll */
}

.wpdl-modal .wpdl-doc-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

div#wpdlDocViewer {
    height: 80.5vh;
}

/* WPDL Document Viewer end */

/* Responsive Starts */
@media(max-width:990px) {
    table.wp-doc-frnt {
        display: block;
        overflow-x: auto;
    }

    #wpdl_shortcode_table_wrapper #wpdl_shortcode_table_length,
    #wpdl_shortcode_table_wrapper #wpdl_shortcode_table_filter {
        text-align: left;
    }
}

@media(max-width:575px) {
    #wpdl_shortcode_table_wrapper #wpdl_shortcode_table_filter label {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 5px;
    }
}

/* CSS */
.wpdl-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.wpdl-title {
    font-size: 24px;
    margin: 0 0 15px;
    font-weight: 600;
}

.wpdl-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.wpdl-search {
    position: relative;
    flex: 1 1 260px;
    max-width: 420px;
}

.wpdl-search input {
    width: 100%;
    padding: 8px 30px 8px 12px;
    border-radius: 999px;
    border: 1px solid #d5d8df;
    font-size: 14px;
}

.wpdl-search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    opacity: 0.6;
}

.wpdl-toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wpdl-per-page span {
    margin-right: 6px;
    font-size: 13px;
    color: #555;
}

.wpdl-per-page select {
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #d5d8df;
    font-size: 13px;
}

.wpdl-view-toggle button {
    border: 1px solid #d5d8df;
    background: #fff;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

.wpdl-view-toggle button:first-child {
    border-radius: 6px 0 0 6px;
    border-right: none;
}

.wpdl-view-toggle button:last-child {
    border-radius: 0 6px 6px 0;
}

.wpdl-view-toggle button.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.wpdl-folders {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.wpdl-folders button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 13px;
    cursor: pointer;
}

.wpdl-folders button.is-active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

.wpdl-folder-count {
    min-width: 24px;
    text-align: center;
    border-radius: 999px;
    font-size: 11px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.06);
}

.wpdl-status {
    margin: 20px 0;
    font-size: 14px;
    color: #4b5563;
}

.wpdl-status--error {
    color: #b91c1c;
}

.wpdl-items {
    display: grid;
    gap: 18px;
}

.wpdl-items-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.wpdl-items-list {
    grid-template-columns: 1fr;
}

.wpdl-item-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 18px 18px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.wpdl-item-icon {
    display: flex;
    align-items: center;
    width: 64px;
    height: 72px;
    background: #eff6ff;
    margin-left: 10px;
    margin-right: 12px;
    justify-self: center;
}

.wpdl-item-icon-label {
    font-size: 20px;
    font-weight: 600;
}

/* type-specific accents */
.wpdl-type-pdf .wpdl-item-icon {
    background: #fee2e2;
}

.wpdl-type-doc .wpdl-item-icon {
    background: #dbeafe;
}

.wpdl-type-xls .wpdl-item-icon {
    background: #dcfce7;
}

.wpdl-type-video .wpdl-item-icon {
    background: #fef3c7;
}

.wpdl-type-audio .wpdl-item-icon {
    background: #ede9fe;
}

.wpdl-item-body {
    text-align: center;
}

.wpdl-item-title {
    font-size: 14px;
    margin: 0 0 6px;
    font-weight: 500;
}

.wpdl-item-meta {
    font-size: 12px;
    color: #6b7280;
    margin: 0 0 12px;
}

.wpdl-item-meta span+span::before {
    content: '•';
    margin: 0 4px;
}

.wpdl-item-footer {
    text-align: center;
}

.wpdl-download-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
}

.wpdl-download-btn:hover {
    background: #0284c7;
}

.wpdl-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.wpdl-pagination button {
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
}

.wpdl-pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

/* End CSS */

/* theme css fixes fixes */

.wpdl-frontend :is(input[type="text"], input[type="number"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type=reset], input[type=tel], input[type=date], select) {
    font-size: 14px;
    line-height: 20px;
    border-radius: 6px;
    border-color: #e5e5e5;
}

.view-switcher-wrapper {
    gap: 2px;
}

.lv1,
.lv2 {
    padding: 0px !important;
    margin: 0px;
}

:is(.lv1, .lv2) ul,
:is(.lv1, .lv2) ol {
    padding: 0px;
    margin: 0px;
}

:is(.lv1, .lv2) ul li,
:is(.lv1, .lv2) ol li {
    position: relative;
}

:is(.lv1, .lv2) ul li span::before,
:is(.lv1, .lv2) ol li span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.no-udl {
    text-decoration: none !important;
}

.swal2-popup {
    overflow: hidden;
    padding: 20px !important;
    border-radius: 14px;
}

.swal2-popup>input#swal2-input {
    margin-inline: 0px !important;
}

.swal2-popup button.swal2-styled {
    padding-block: 6px;
    border-radius: 6px;
}

.the-viewer img {
    object-fit: cover;
}



/* Checkout */
/* Container */

.invalid-feedback {
    scroll-margin-top: 150px;
}

#wpdl-modern-checkout {
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: #f7f8fa;
}

.wpdl-checkout-container {
    display: flex;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

/* LEFT: Form */
.wpdl-checkout-left {
    flex: 2;
    padding: 40px;
}

.wpdl-checkout-left h2,
.wpdl-checkout-left h3 {
    margin-bottom: 20px;
    color: #333;
}

.wpdl-login-prompt {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}

.wpdl-login-prompt a {
    color: #C07A00;
    text-decoration: none;
    font-weight: 600;
}

.wpdl-login-prompt a:hover {
    text-decoration: underline;
}

/* Floating Input Fields */
.wpdl-floating-input {
    position: relative;
    margin-bottom: 20px;
}

.wpdl-floating-input input {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.wpdl-floating-input input:focus {
    border-color: #556ee6;
    box-shadow: 0 0 8px rgba(85, 110, 230, 0.3);
}

.wpdl-floating-input label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease-out;
}

.wpdl-floating-input input:focus+label,
.wpdl-floating-input input:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #556ee6;
    background: #fff;
    padding: 0 4px;
}

/* Buttons */
.wpdl-checkout-left button {
    background: #000;
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.wpdl-checkout-left button:hover {
    background: #000;
    transform: translateY(-2px);
}

.wpdl-form-message {
    margin-top: 10px;
    color: red;
    font-size: 13px;
}

/* Login Section */
#wpdl-login-section {
    display: none;
    margin-bottom: 20px;
}

/* RIGHT: Order Summary */
.wpdl-checkout-right {
    flex: 1;
    background: #F5F4F0;
    padding: 30px;
    border-left: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.wpdl-checkout-right h3 {
    margin-bottom: 20px;
    color: #333;
}

.wpdl-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #FAFAF8;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.wpdl-item-icon {
    width: 40px;
    height: auto;
    max-height: 60px;
}

.wpdl-item-info {
    display: flex;
    flex-direction: column;
}

.wpdl-item-title {
    font-weight: 500;
}

.wpdl-item-price {
    font-weight: 600;
    font-size: 18px;
    color: #C07A00;
}

span#wpdl-total-price {
    color: #C07A00;
}

.wpdl-order-total {
    font-size: 18px;
    font-weight: 700;
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

/* Stripe Card Element */
#wpdl-card-element {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
}



/* Floating input container */
.wpdl-floating-input {
    position: relative;
    margin-bottom: 20px;
}

/* Input field */
.wpdl-floating-input input {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus effect */
.wpdl-floating-input input:focus {
    border-color: #556ee6;
    box-shadow: 0 0 8px rgba(85, 110, 230, 0.3);
}

/* Label styling */
.wpdl-floating-input label {
    /* position: absolute;
    left: 12px;
    top: 14px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background: #fff;
    padding: 0 4px; */

    position: absolute;
    left: 8px;
    top: 13px;
    color: #aaa;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background: #fff;

    padding: 0 4px;
    font-size: 17px;
}

/* Move label up when input is focused or has value */
.wpdl-floating-input input:focus+label,
.wpdl-floating-input input:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #556ee6;
}

.payment-div {
    margin-bottom: 25px !important;
}


/* Loading css */
/* Container */
#payment-element {
    position: relative;
    min-height: 120px;
}

/* Loading state */
#payment-element.loading,
#wpdl_shortcode_table_tbody.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Overlay */
#payment-element.loading::after,
#wpdl_shortcode_table_tbody.loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    z-index: 10;
}

/* Spinner */
#payment-element.loading::before,
#wpdl_shortcode_table_tbody.loading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #000;
    animation: wpdl-spin 0.8s linear infinite;
    z-index: 11;
}

/* Animation */
@keyframes wpdl-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Button state */
#pay-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Payment Message */
#payment-message {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 400;
    color: #ff4064;
}

/* Thank you page */

.wpdl-thankyou {
    /* background: #f6f8fb; */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}



.wpdl-thankyou .wpdl-card {
    background: #fff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.4s ease;
    overflow: hidden;
}

/* ✅ Success */
.wpdl-thankyou .wpdl-success {
    text-align: center;
    background-color: #1A7A4A;
    padding: 48px 32px;
}

.wpdl-thankyou .wpdl-success .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: #e6f9f0;
    color: #10b981;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.wpdl-thankyou .wpdl-success h1 {
    margin: 0;
    font-size: 26px;
    color: #fff;
}

.wpdl-thankyou .wpdl-success p {
    color: #ecfdf5;
    margin: 10px 0 0;
}

/* ✅ Sections */
.wpdl-thankyou .wpdl-section {
    margin-top: 25px;
}

.wpdl-thankyou .wpdl-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

/* ✅ Grid */
.wpdl-thankyou .wpdl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.wpdl-thankyou .wpdl-grid span {
    display: block;
    color: #888;
    font-size: 13px;
}

.wpdl-thankyou .wpdl-grid strong {
    font-size: 15px;
}

/* ✅ Files */
.wpdl-thankyou .wpdl-files {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wpdl-thankyou .wpdl-file {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.2s;
}

.wpdl-thankyou .wpdl-file:hover {
    background: #fafafa;
}

/* File info */
.wpdl-thankyou .file-info span {
    display: block;
    font-size: 12px;
    color: #777777;
    font-family: 'Inter';
}

/* Download button */
.wpdl-thankyou .download-btn {
    background: #111;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.wpdl-thankyou .download-btn:hover {
    background: #333;
}

/* Footer */
.wpdl-thankyou .wpdl-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #777;
    padding: 16px;
    background-color: #F5F4F0;
    border: 1px solid #F5F4F0;
    border-radius: 10px;
}

.wpdl-thankyou .wpdl-footer p {
    margin: 0;
}

.wn-wrp-box-panel {
    padding: 10px 30px 30px;
}


.wpdl-thankyou .wpdl-footer {
    margin: 5px 30px 30px;
}

.file-wrp-98 i,
.file-wrp-98 svg {
    color: #074b79;
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
}

.wpdl-footer p i,
.wpdl-footer p svg {
    color: #074b79;
    display: inline-block;
    margin-right: 5px;
    font-size: 16px;
    vertical-align: middle;
}

.dp-flx-87 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    border: 1px solid #ebe6e7;
    padding: 20px;
    border-radius: 10px;
    background: #f7f9fa;
}

.dp-flx-87 i,
.dp-flx-87 svg {
    color: #a3a3a3;
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
}

.dp-flx-87 strong {
    font-family: 'Inter';
    font-weight: 600;
    color: #3a3a3a;
}

.wpdl-thankyou .wpdl-section h2 {
    font-family: 'Inter';
    font-weight: 600;
}

.wpdl-thankyou .wpdl-success h1,
.wpdl-thankyou .wpdl-success p,
.wpdl-thankyou .wpdl-footer p {
    font-family: 'Inter';
}

.wpdl-thankyou {
    /* background: #fff; */
    padding-bottom: 60px;
}

.wpdl-thankyou .wpdl-card {
    border: 1px solid #eee;
}

#wpdl-modern-checkout .wpdl-checkout-container {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
}

#wpdl-modern-checkout * {
    font-family: 'Inter' !important;
}

#wpdl-modern-checkout {
    padding: 40px 0;
    background: transparent;
}

.wpdl-checkout-left h3 {
    font-size: 18px;
    font-family: 'Inter';
    font-weight: 600;
    color: #000;
}





















/* Responsive */
@media (max-width: 600px) {
    .wpdl-thankyou .wpdl-grid {
        grid-template-columns: 1fr;
    }
}


/* Minified css for invalid field color */
.form-control,
.form-control:focus {
    color: #212529;
    background-color: #fff
}

.form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25)
}

.form-control {
    display: block;
    width: 90%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem)
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 .25rem rgba(220, 53, 69, .25)
}

.invalid-feedback {
    margin-top: 12px !important;
    width: 100%;
    font-size: 17px;
    font-weight: 500;
    color: #dc3848
}

@media(max-width:700px) {
    .form-control.is-invalid {
        width: 85% !important
    }
}

@media (prefers-reduced-motion:reduce) {
    .form-control {
        transition: none
    }
}


/* Checkout billing plans */
:root {
    /* --subs-bg:#fbfcff; */

    /* --subs-text:#e8ecff; */
    /* --subs-muted:#8d96b8; */
    /* --subs-border:#222a4a; */

    /* --subs-gold:#ffb547; */

    --subs-card: #fbfaff;
    --subs-card-2: #fbfaff;
    --subs-accent: #7c5cff;
    --subs-accent-2: #22d3ee;
    --subs-bg: #f6f7fb;
    --subs-panel: #ffffff;
    --subs-text: #0b1733;
    --subs-muted: #6b7393;
    --subs-border: #e5e7f0;
    --subs-border-strong: #0b1733;
    --subs-brand: #673de6;
    --subs-brand-soft: #efeaff;
    --subs-save-bg: #0b1733;
    --subs-save-fg: #ffffff;
    --subs-best-bg: #16a34a;
    --subs-shadow: 0 10px 30px -18px rgba(20, 30, 80, .25);
    --subs-green: #22c55e;
    --subs-shadow: 0 20px 60px -20px rgba(124, 92, 255, .45);
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    background:
        radial-gradient(1000px 600px at 10% -10%, rgba(124, 92, 255, .25), transparent 60%),
        radial-gradient(800px 500px at 110% 10%, rgba(34, 211, 238, .18), transparent 60%),
        var(--subs-bg);
    color: var(--subs-text);
}

.wpdl-ch-wrap {
    width: 100%;
    max-width: 520px
}

.wpdl-ch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 4px 14px;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--subs-muted);
}

.wpdl-ch-label strong {
    color: var(--subs-text);
    letter-spacing: .04em;
    text-transform: none;
    font-size: 18px;
    font-weight: 600
}

.wpdl-ch-plans {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.wpdl-ch-plan {
    --subs-ring: transparent;
    position: relative;
    display: block;
    cursor: pointer;
    background: linear-gradient(180deg, var(--subs-card), var(--subs-card-2));
    border: 1px solid var(--subs-border);
    border-radius: 16px;
    padding: 18px 18px 18px 56px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
    overflow: hidden;
}

.wpdl-ch-plan::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--subs-accent), var(--subs-accent-2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.wpdl-ch-plan:hover {
    transform: translateY(-2px);
    border-color: #2e3768
}

.wpdl-ch-plan input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.wpdl-ch-radio {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #c0c4e0;
    /* background:#0a0f24; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.wpdl-ch-radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--subs-accent), var(--subs-accent-2));
    transform: scale(0);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.wpdl-ch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.wpdl-ch-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0
}

.wpdl-ch-title {
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.wpdl-ch-trial {
    font-size: 12px;
    color: var(--subs-green);
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .3);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.wpdl-ch-sub {
    font-size: 12.5px;
    color: var(--subs-muted)
}

.wpdl-ch-right {
    text-align: right;
    white-space: nowrap
}

.wpdl-ch-price {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em
}

.wpdl-ch-per {
    font-size: 12px;
    color: var(--subs-muted);
    margin-left: 2px
}

.wpdl-ch-strike {
    font-size: 12px;
    color: var(--subs-muted);
    text-decoration: line-through;
    margin-top: 2px
}

.wpdl-ch-save {
    position: absolute;
    top: -1px;
    right: 14px;
    background: var(--subs-save-bg);


    color: #1a0f00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--subs-save-fg);
    padding: 5px 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px -8px rgba(255, 122, 89, .6);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.wpdl-ch-badge-best {
    background: linear-gradient(135deg, var(--subs-accent), var(--subs-accent-2));
    color: #fff;
}

/* Selected state */
.wpdl-ch-plan input:checked~.wpdl-ch-radio {
    border-color: transparent;
    background: linear-gradient(135deg, var(--subs-accent), var(--subs-accent-2))
}

.wpdl-ch-plan input:checked~.wpdl-ch-radio::after {
    background: #fff;
    transform: scale(1)
}

.wpdl-ch-plan:has(input:checked) {
    border-color: transparent;
    /* background:linear-gradient(180deg,#161d3d,#10162e); */
    box-shadow: var(--subs-shadow);
}

.wpdl-ch-plan:has(input:checked)::before {
    opacity: 1
}

.wpdl-ch-cta {
    margin-top: 18px;
    width: 100%;
    border: 0;
    cursor: pointer;
    padding: 16px 20px;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    background: linear-gradient(135deg, var(--subs-accent), var(--subs-accent-2));
    box-shadow: 0 18px 40px -16px rgba(124, 92, 255, .7);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wpdl-ch-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px -18px rgba(124, 92, 255, .85)
}

.wpdl-ch-foot {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    color: var(--subs-muted)
}

.cs-lst-grd-view .wpdl-document-item {
    display: grid;
    grid-template-columns: 250px repeat(1, 1fr);
    grid-gap: 30px;
    padding: 0px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-content {
    padding: 20px 20px 20px 0;
}

.cs-grd-fl-wddt {
    width: 100%;
    max-width: 100% !important;
}

.cs-lst-grd-view .cs-grd-fl-wddt br {
    display: none !important;
}

.wpdl-document-image img {
    width: 100%;
    object-fit: contain;
    border-radius: 10px;
    /* min-height: 300px; */
    transition: transform 0.5s ease;
}

#wpdl_shortcode_table {
    border-color: #eee !important;
    border: none !important;
}

#wpdl_shortcode_table td {
    padding: 0 0 20px !important;
    border: none;
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-content * {
    font-family: 'Inter';
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-content h3 {
    font-weight: 700;
    margin: 0 0 6px;
    font-size: 30px;
    text-align: left;
}

.wpdl-meta-title .wpdl-tag-bg {
    background: #ff9500;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}

.wpdl-price-item {
    border-top: 1px solid #eee;
    padding: 20px 0 0;
    font-size: 22px;
    margin: 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wpdl-price-item div:first-child span {
    font-size: 24px;
    font-weight: 600;
    margin-top: 4px;
    color: #000;
    display: block;
}

.wpdl-price-item strong {
    font-size: 12px;
    color: #5c6375;
    text-transform: uppercase;
    display: block;
    font-weight: 400;
    letter-spacing: 1px;
}

/* .wpdl-meta-desc{
	max-width: 80%;
} */
.wpdl-meta-desc p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #5c6375;
}

.wpdl-document-content ul.wpdl-meta-list {
    margin: 10px 0 0;
    list-style-type: none;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.wpdl-document-content ul.wpdl-meta-list li {
    background: #F0EDE6;
    padding: 7px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
}

.wpdl-document-content ul.wpdl-meta-list li i,
.wpdl-document-content ul.wpdl-meta-list li svg {
    margin-right: 7px;
    color: #000;
    font-size: 14px;
}

.cs-grd-fl-wddt>h3 {
    margin: 0;
    text-align: left;
    font-family: 'Inter';
    font-weight: 600;
}

.wpdl-frontend {
    max-width: 100% !important;
    background: transparent;
    padding: 0px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.wpdl-frontend .dl-lib-filter {
    background: #fff;
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.wpdl-frontend .dl-lib-filter .dl-sort-inpt {
    width: 50px;
    padding: 5px 10px;
}

.wpdl-frontend .wp-dl-lib-box {
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    transition: .3s;
    position: relative;
}

.wpdl-frontend .wp-dl-lib-box:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 -3px 0 #ff9500;
}

.wpdl-frontend .wp-dl-lib-box span.rounded-full {
    padding: 0 10px;
    background: #ff9500;
    border-radius: 7px 0 0 7px;
    color: #fff;
    position: absolute;
    top: 7px;
    right: 0;
}

.wpdl-frontend .wp-dl-lib-box span.rounded-full:before {
    content: '';
}


#wpdl-modern-checkout {
    width: 100%;
    max-width: 1100px !important;
}

.wpdl-ch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}

.wpdl-ch-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600
}

.wpdl-ch-head small {
    color: var(--subs-muted);
    font-size: 12.5px;
}

.wpdl-frontend .wp-dl-lib-box svg {
    color: #8b8b8b;
}

.wp-ld-lib-main .space-y-3 h2 {}

.wpdl-meta-desc p.read-more {
    display: none;
}

.cs-lst-grd-view .wpdl-document-item .wpdl-document-image {
    background: #f8f8fe;
    padding: 25px;
    height: 100%;
    display: flex;
    align-items: center;
}

.wpdl-meta-title p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #5c6375;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.cs-lst-grd-view .wpdl-document-item:hover .wpdl-document-image img {
    transform: scale(1.05) rotate(-1deg);
}


.wpdl-featured-star {
    position: absolute;
    top: 20px;
    right: 20px;
}

.wpdl-featured-star i,
.wpdl-featured-star svg {
    color: gold;
    font-size: 24px;
}

.dl-lib-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 30px;
}

/* Left Side */
.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    width: calc(100% - 55px);
}

.filter-group select {
    min-width: 200px;
    padding: 12px 40px 12px 14px;
    border: 1px solid #dcdfe4;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 14px;
    color: #374151;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7l4.5 4.5L14.5 7' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.filter-group select:focus {
    border-color: #3b82f6;
}

.filter-group .filter-grp-sort-lib select {
    max-width: inherit !important;
    min-width: 70px !important;
    padding-right: 10px;
}

.filter-group input {
    border-radius: 6px;
    background: #f9fafb;
    font-size: 14px;
    color: #000;
    min-width: 240px;
    border: 1px solid #dddddd;
    height: fit-content;
    min-height: 47px;
    padding: 10px;
}

input#search_library {
    width: 900px;
}

.filter-group input::placeholder {
    color: #374151;
}

.filter-group input:focus {
    outline: none !important;
}

/* Right Side */
.filter-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.filter-group span span.select2-selection {
    border-radius: 10px;
    background: #f9fafb;
    font-size: 14px;
    color: #374151;
    min-width: 240px;
    width: 282px;
    display: flex;
    align-items: center;
    border: 1px solid #dddddd;
    min-height: 47px;
    font-family: 'Inter';
    padding-left: 10px;
}

.filter-group * {
    font-family: 'Inter' !important;
}

.show-files {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #4b5563;
}

.show-files input {
    width: 70px;
    padding: 10px;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    outline: none;
}

/* View Buttons */
.view-switcher {
    display: flex;
    gap: 8px;
}

.view-switcher button {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
}

.view-switcher button:hover {
    background: #f3f4f6;
}

.view-switcher button.active {
    background: #fff;
    border-color: #d1d5db;
    color: #000;
}

body.has-wpdl-document-shortcode,
.page-id-130026 {
    background: #fdfcf8;
}

.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0 50px;
}

table#wpdl_shortcode_table tbody tr {
    background: transparent;
}

/* Common Button Style */
.page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Previous & Next */
.page-btn.prev-btn,
.page-btn.next-btn {
    border: none;
    background: #EB9000;
    color: #fff;
}

/* Number Buttons */
.page-numbers .page-btn {
    background: transparent;
    border: 1px solid #EB9000;
    color: #EB9000;
}

/* Active Number */
.page-numbers .page-btn.active {
    background: #EB9000;
    color: #fff;
    box-shadow: 0 4px 14px rgba(235, 144, 0, 0.35);
}

/* Hover */
.page-btn:hover {
    transform: translateY(-2px);
}

/* Disabled */
.page-btn.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    border: none;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

/* Page Numbers Wrapper */
.page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid */
.wn-wpdl-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 100% !important;
    padding-bottom: 60px;
}

h2.wn-wpdl-pricing-title {
    font-family: 'Inter';
    font-size: 24px;
}

/* Card */
.wn-wpdl-pricing-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.wn-wpdl-pricing-card:hover {
    transform: translateY(-5px);
}

/* Top Banner */
.wn-wpdl-pricing-top {
    background: linear-gradient(to right, #EB9000, #d97f00);
    padding: 16px 20px;
    text-align: center;
}

.wn-wpdl-pricing-top p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* Content */
.wn-wpdl-pricing-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Title */
.wn-wpdl-pricing-title {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
    color: #111827;
    font-weight: 700;
}

/* Features */
.wn-wpdl-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    min-height: 254px;
}

/* Single Feature */
.wn-wpdl-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 16px;
}

/* Number */
.wn-wpdl-feature-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #EB9000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 28px;
    font-weight: 600;
}

/* Feature Content */
.wn-wpdl-feature-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.wn-wpdl-feature-content svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: #6b7280;
}

/* Bottom */
.wn-wpdl-pricing-bottom {

    border-top: 1px solid #e5e7eb;
    padding-top: 28px;
}

/* Price */
.wn-wpdl-price-wrap {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.wn-wpdl-current-price {
    font-size: 42px;
    font-weight: 700;
    color: #EB9000;
    line-height: 1;
}

.wn-wpdl-old-price {
    font-size: 22px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Offer */
.wn-wpdl-offer-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

/* Badge */
.wn-wpdl-save-badge {
    background: #dcfce7;
    color: #15803d;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

/* Offer Text */
.wn-wpdl-offer-text {
    color: #6b7280;
    font-size: 14px;
}

/* Button */
.wn-wpdl-pricing-btn {
    width: 100%;
    border: none;
    border-radius: 16px;
    padding: 16px 20px;
    background: linear-gradient(to right, #EB9000, #d97f00);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(235, 144, 0, 0.25);
}

.wn-wpdl-pricing-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.wn-wpdl-note {
    margin: 16px 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0 !important;
}

.wn-wpdl-card-title a {
    color: #074b79;
    text-decoration: none;
}

.wn-wpdl-card-title a:hover {
    text-decoration: underline;
}

.dl-lib-filter .filter-group .select2-container--default .select2-selection--multiple {
    padding: 6px 10px;
}

.dl-lib-filter .filter-group .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}


.dl-lib-filter .filter-group .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    border-radius: 8px;
    padding: 6px 10px 6px 22px;
    font-size: 11px;
    font-weight: 500;
    position: relative;
    margin-top: 4px;
}

/* Remove Icon */
.dl-lib-filter .filter-group .select2-container--default .select2-selection__choice__remove {
    position: absolute;
    left: 8px;
    top: 36%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #dc2626;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
}

.filter-group span span.select2-selection {
    flex-direction: row-reverse;
}

/* Search Field */
.dl-lib-filter .filter-group .select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 6px;
    font-size: 14px;
    color: #111827;
}

/* Clear All Button */
.dl-lib-filter .filter-group .select2-container--default .select2-selection__clear {
    display: none !important;
}

.dl-lib-filter .filter-group .select2-container--default .select2-selection__clear:hover {
    color: #b91c1c;
}

/* Dropdown */
.dl-lib-filter .filter-group .select2-dropdown {
    border-radius: 12px;
    border: 1px solid #d1d5db;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Options */
.dl-lib-filter .filter-group .select2-results__option {
    padding: 10px 14px;
    font-size: 14px;
}

.dl-lib-filter .filter-group .select2-results__option--highlighted {
    background: #2563eb !important;
    color: #fff;
}

#select2-filter_by_library-results li,
#select2-filter_by_tags-results li {
    font-size: 13px;
}

#select2-filter_by_library-results li.select2-results__option--highlighted,
#select2-filter_by_tags-results li.select2-results__option--highlighted {
    background-color: #074b79;
}

/* body.has-wpdl-document-shortcode .select2-container.select2-container--default.select2-container--open{
	top: 284px !important;
} */











































@media(max-width: 767px) {
    .wpdl-meta-desc {
        max-width: 100%;
        margin-top: 15px;
    }

    .cs-lst-grd-view .wpdl-document-item {
        grid-template-columns: 150px repeat(1, 1fr);
    }

    .wpdl-document-image img {
        min-height: fit-content;
    }
}


@media(max-width: 575px) {
    .wpdl-frontend .wp-dl-lib-box {
        max-width: 100%;
    }

    .cs-lst-grd-view .wpdl-document-item {
        grid-template-columns: repeat(1, 1fr);
        padding: 15px;
    }

    .wpdl-document-image img {
        max-width: 100px;
    }

    .cs-lst-grd-view .wpdl-document-item .wpdl-document-content h3 {
        margin: 0;
    }

    .wpdl-document-content ul.wpdl-meta-list li {
        font-size: 11px;
        vertical-align: middle;
        line-height: 11px;
        display: flex;
        align-items: center;
    }

    .wpdl-document-content ul.wpdl-meta-list {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wpdl-meta-title .wpdl-tag-bg {
        font-size: 12px;
    }

    .wpdl-meta-desc p {
        font-size: 14px;
    }

}



/* [wpdl_document] Shortcode View */

:root {
    --bg: hsl(220 25% 97%);
    --fg: hsl(222 47% 11%);
    --muted: hsl(220 9% 46%);
    --muted-2: hsl(220 14% 96%);
    --border: hsl(220 13% 91%);
    --border-soft: hsl(220 13% 94%);
    --card: #ffffff;

    --primary: hsl(250 84% 60%);
    --primary-glow: hsl(265 89% 70%);
    --primary-soft: hsl(250 84% 96%);
    --primary-soft-fg: hsl(250 84% 40%);
    --ring: hsl(250 84% 60% / .25);

    --success: hsl(142 71% 45%);
    --success-soft: hsl(142 76% 94%);
    --success-soft-fg: hsl(142 71% 28%);

    --warning: hsl(38 92% 50%);
    --warning-soft: hsl(48 96% 89%);
    --warning-soft-fg: hsl(28 80% 32%);

    --info: hsl(199 89% 48%);
    --info-soft: hsl(199 95% 94%);
    --info-soft-fg: hsl(199 89% 32%);

    --danger: hsl(0 84% 60%);
    --danger-soft: hsl(0 93% 94%);
    --danger-soft-fg: hsl(0 74% 42%);

    --grad-primary: linear-gradient(135deg, hsl(250 84% 60%), hsl(265 89% 70%));
    --grad-page: radial-gradient(1200px 600px at 10% -10%, hsl(250 84% 95%), transparent 60%),
        radial-gradient(900px 500px at 100% 0%, hsl(199 95% 94%), transparent 55%),
        linear-gradient(180deg, hsl(220 25% 99%), hsl(220 25% 97%));

    --shadow-sm: 0 1px 2px 0 hsl(220 43% 11% / .04);
    --shadow-md: 0 4px 14px -4px hsl(220 43% 11% / .08), 0 2px 6px -2px hsl(220 43% 11% / .04);
    --shadow-lg: 0 24px 60px -24px hsl(250 84% 50% / .22), 0 8px 22px -10px hsl(220 43% 11% / .08);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
}

.ord-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--r-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.ord-main-btn.ord-main-compact {
    padding: 0 10px;
}

.ord-main-btn.ord-main-primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 8px 22px -8px hsl(250 84% 50% / .55);
}

.ord-main-btn.ord-main-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -10px hsl(250 84% 50% / .65);
}

.ord-main-btn.ord-main-ghost {
    background: rgba(255, 255, 255, .8);
    border-color: var(--border);
    color: var(--fg);
    backdrop-filter: blur(8px);
}

.ord-main-btn.ord-main-ghost:hover {
    border-color: hsl(250 84% 80%);
    color: var(--primary);
    background: #fff;
}


.ord-main-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ord-main-select select {
    appearance: none;
    -webkit-appearance: none;
    height: 42px;
    padding: 0 34px 0 14px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--fg);
    cursor: pointer;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.ord-main-select.ord-main-compact select {
    height: 36px;
    padding: 0 30px 0 12px;
    font-size: 13px;
}

.ord-main-select select:hover {
    border-color: hsl(250 84% 75%);
}

.ord-main-select select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--ring);
}

.ord-main-select svg {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--muted);
}


/* Before */

.ord-main-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-top: 1px solid var(--border-soft);
    background: linear-gradient(180deg, hsl(220 25% 99%), #fff);
    flex-wrap: wrap;
    gap: 12px;
}

.ord-main-info {
    font-size: 13px;
    color: var(--muted);
}

.ord-main-info b {
    color: var(--fg);
    font-weight: 600;
}

.ord-main-pager {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ord-main-pages {
    display: flex;
    gap: 4px;
}

.ord-main-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--fg);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all .15s;
    font-family: inherit;
}

.ord-main-page-btn:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.ord-main-page-btn.ord-main-active {
    background: #eb9000;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px -6px hsl(250 84% 50% / .5);
}

.ord-main-page-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.ord-main-page-btn.ord-main-dots {
    border: none;
    background: transparent;
    cursor: default;
    color: var(--muted);
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .ord-main-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ord-main-select {
        flex: 1;
    }

    .ord-main-select select {
        width: 100%;
    }
}

/* After */

.ord-main-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

/* Tag wrapper */
.tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #F0EDE6;
    color: #0f172a;
    border: 1px solid #F0EDE6;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all .2s ease;
    cursor: pointer;
}

.tag:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.wpdl-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.file-info .file-wrp-98 strong {
    font-size: 15px;
    font-family: 'Inter';
    font-weight: 400;
}

@keyframes wpdlspin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#wpdl-upload-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    background: rgba(0, 0, 0, 0.7);
}

.wpdl_hidden {
    display: none;
}

.wpdl-library-manager {
    margin: 2em 0;
}

.wpdl-library-manager__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wpdl-library-manager__title {
    margin: 0;
}

.wpdl-library-table-wrap {
    margin-bottom: 1.5rem;
}

.wpdl-upload-library-form {
    margin: 2em auto;
    background: #fafafa;
    padding: 2em;
    border-radius: 8px;
}

.wpdl-library-form-header {
    margin-bottom: 1.25rem;
}

.wpdl-library-form-title {
    margin: 0;
}

.wpdl-library-documents-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.5rem 0;
}

.wpdl-library-documents-toolbar label {
    margin: 0;
}

.wpdl-library-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wpdl-library-action {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2271b1;
    cursor: pointer;
}

.wpdl-library-action:hover,
.wpdl-library-action:focus {
    color: #135e96;
    background: transparent;
}

.wpdl-library-delete {
    color: #b32d2e;
}

.wpdl-library-delete:hover,
.wpdl-library-delete:focus {
    color: #8c1f20;
    background: transparent;
}

.wpdl-upload-modal-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.wpdl-document-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.7);
}

.wpdl-document-modal__dialog {
    width: min(100%, 640px);
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-sizing: border-box;
}

.wpdl-document-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.wpdl-document-modal__title {
    margin: 0;
}

.wpdl-document-modal__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.wpdl-document-modal .select2-container {
    width: 100% !important;
    margin-bottom: 1em;
}

.wpdl-document-selected-media {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #f6f7f7;
}

.wpdl-document-featured-image-preview {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #f6f7f7;
}

.wpdl-document-featured-image-preview img {
    display: block;
    max-width: 120px;
    height: auto;
    border-radius: 4px;
}

.wpdl-document-featured-image-actions {
    margin: 0.75rem 0 1rem;
}

.wpdl-document-type-panel {
    margin-bottom: 1rem;
}

.wpdl-document-featured-toggle {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.wpdl-document-featured-toggle input[type="checkbox"] {
    margin-top: 0.15rem;
}

button.button-link.wpdl-document-modal-close:hover {
    background: transparent;
    color: #0274be;
}

.dataTables_length select {
    width: 65%;
}

.dataTables_wrapper .dataTables_length {
    width: 100%;
    max-width: 20%;
    margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

@media (max-width: 767px) {
    .wpdl-library-manager__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .wpdl-library-documents-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .wpdl-document-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* CSS */
.wn-txt-no-wrap {
    word-break: break-word !important;
}

.wn-wpdl-btn:focus {
    color: #fff !important;
}

.wpdl-document-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 24px;
    background: #fff;
    box-sizing: border-box;
}

/* Purana khaali featured-star box hide kardo (ab tags is se JS ne move kardiye) */
.wpdl-featured-star {
    display: none;
}

/* Image */
.wpdl-document-image {
    order: 1;
    flex: 0 0 150px;
}

.wpdl-document-image img {
    width: 150px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: auto;
}

/* Content */
.wpdl-document-content {
    order: 2;
    flex: 1 1 300px;
    min-width: 220px;
}

/* Title + tags column, tags heading ke turant neeche */
.wpdl-meta-title {
    display: flex;
    flex-direction: column;
}

.wpdl-meta-title h3 {
    order: 1;
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
    word-break: break-word;
}

.wpdl-meta-title h3 a {
    color: #1a1a2e;
    text-decoration: none;
}

.wpdl-meta-title .tag-wrapper {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.wpdl-meta-title .tag-wrapper .tag {
    background: #f0eee6;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    white-space: nowrap;
}

/* Description */
.wpdl-meta-desc p {
    margin: 12px 0 0;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* Meta pills */
.wpdl-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    /* border-top: 1px solid #eee; */
    padding-top: 16px;
}

.wpdl-meta-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f5f3ec;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: #444;
}

.wpdl-meta-list svg {
    width: 14px;
    height: 14px;
}

/* Price row */
.wpdl-price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

strong {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.paid-price-sp {
    font-size: 22px;
    font-weight: 700;
}

.free-price-sp {
    font-size: 22px;
    font-weight: 700;
    color: #2e7d32;
}

.wpdl-price-item del {
    color: #999;
    margin-left: 6px;
}

.wpdl-price-item .button.button-primary {
    background: #1a1a2e;
    color: #fff;
    padding: 12px 28px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 600px) {
    .wpdl-document-image {
        flex: 0 0 100%;
        width: 100%;
        height: 200px;
    }
}

.file-wrp-98 {
    display: flex;
    align-items: center;
    gap: 2px;
}