#drm-resource-list {
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-collapse: collapse;
    margin: 16px 0;
}

#drm-resource-list thead th,
#drm-resource-list tbody td {
    border: 1px solid rgba(255, 255, 255, 0.36);
    padding: 4px 8px;
    vertical-align: middle;
    font-weight: 700;
    line-height: 1.5em;
    font-size: 1em;
}

#drm-resource-list tbody td {
    font-size: 0.8em;
    font-weight: 400;
}

#drm-resource-list tbody td:last-child a,
#drm-resource-list tbody td:last-child button {
    font-size: 12px;
    white-space: nowrap;
    margin: 5px;
    letter-spacing: 0px;
}

.drm-resource-list {
    overflow-x: auto;
}

.woocommerce-accounts .woocommerce-MyAccount-content .drm-resource-upload-form label {
    padding-left: 0;
}

.drm-resource-upload-form .select2-selection.select2-selection--single {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: #fff;
}

.drm-resource-upload-form .select2-container .select2-selection--single .select2-selection__rendered {
    background: transparent;
    padding: 0;
    margin: 0 0 14px;
    box-shadow: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    line-height: 30px;
}

.drm-resource-upload-form .select2-selection__arrow {
    display: none;
}

.woocommerce-accounts .woocommerce-MyAccount-content .drm-resource-upload-form input::placeholder {
    color: #999;
}

.drm-resource-upload-form .select2-container .select2-selection--single .select2-selection__placeholder {
    background: transparent;
    padding: 0;
    margin: 0 0 14px;
    box-shadow: none;
    color: #fff;
    line-height: 30px;
}

.woocommerce-accounts .woocommerce-MyAccount-content .drm-resource-upload-form input {
    padding: 8px;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    border-bottom: 1px solid #fff;
    color: #fff;
}

.drm-resource-upload-form .select2-container {
    width: 100% !important;
}

#drm-resources-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.drm-resources-container {
    position: relative;
}

/* Popup Css Start */

.drm-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 18px;
    width: 100%;
    max-width: 60%;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.drm-modal-content h3 {
    color: #000;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 14px;
}

.woocommerce-accounts .woocommerce-MyAccount-content .drm-modal-content input {
    background: transparent;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid #000;
    padding: 8px;
}

.drm-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Popup Css End */

/* Order list */
.order-list-container .shop_table.loading-opacity {
    opacity: 0.5;
    pointer-events: none; /* optional: prevents clicks while loading */
}

@media only screen and (max-width: 1024px) {

    .drm-modal-content {
        max-width: 85%;
    }

    .drm-modal-content h3 {
        font-size: 20px;
        margin: 0 0 8px;
    }

    :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce .drm-modal-content button.button {
        font-size: 14px;
    }

    .drm-modal-content {
        padding: 14px;
    }

}

@media only screen and (max-width: 576px) {
    .drm-modal-content {
        max-width: 90%;
    }
}