.overlay-lock {
    display: none;
    opacity: 0;
}

.overlay-lock.locked {
    display: block;
    opacity: 0.3;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: wait;
}

.vertical-table th {
    border-left: 1px solid #cbcbcb;
    border-width: 0 0 0 1px;
    font-size: inherit;
    margin: 0;
    overflow: visible;
    text-align: left;
    background-color: #e0e0e0;
}

#wrapper-product_editor_page_backgroundUrl {
    display: none;
}

.product-editor .product-editor-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 250px;
    z-index: 999;
    background: #fff;
    border: 1px solid #e1e1e1;
    padding: 10px;
    border-radius: 5px;
}

.preview-products-images-modal-content {
    z-index: 9999;
}

.product-editor-controls .pure-form-aligned .pure-control-group {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.product-editor-controls .pure-form-aligned .pure-control-group label {
    margin: 0 !important;
    padding: 0;
    font-weight: normal;
}

.product-editor-controls .pure-form-aligned .pure-control-group label + input:not([type="radio"]):not([type="checkbox"]) {
    width: 50px !important;
}

#editor_imprint_height-wrapper {
    margin-bottom: 10px;
}

#editorSettingsForm {
    overflow-y: auto;
    padding: 0 5px 0 0;
    display: block;
}

.preview-settings-wrapper {
    position: relative;
    max-height: 85vh;
    height: 100vh;
    padding-right: 5px;
}

.card.preview-settings-wrapper h1 {
    margin: 0 0 10px 0;
}

#wrapper-product_editor_page_name {
    margin-bottom: 0;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#wrapper-product_editor_page_name label {
    width: auto;
}

input#product_editor_page_name {
    width: 100%;
}

.locationName, #locationImg {
    width: 100%;
}

#wrapper-locationImg {
    width: 100%;
    display: flex;
}

.product-editor-wrapper {
    margin: 0;
}

.pure-form.update-payment-method input[type="password"],
.pure-form.update-payment-method input[type="password"]::placeholder {
    color: #000;
}

.product-picker {
    display: inline-flex;
    align-items: center;
}

.modal.product-picker-modal {
    width: 930px;
    max-width: 90vw;
}

.product-picker-modal .modal-body {
    max-height: 70vh;
}

.product-picker-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 14px;
}

.product-picker-filters label {
    font-size: 12px;
    color: #5b6472;
}

.product-picker-filters input,
.product-picker-filters select {
    height: 36px;
    box-sizing: border-box;
}

.product-picker-search-field {
    flex: 0 0 260px;
}

.product-picker-search-field input {
    width: 100%;
}

.product-picker-filters input:disabled,
.product-picker-filters select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #eceef1;
    color: #8a919c;
}

.product-picker-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid #e7eaf1;
    border-radius: 5px;
    background: #fff;
    color: #2b333e;
    cursor: pointer;
    font-size: 14px !important;
    user-select: none;
}

.product-picker-toggle:has(input:checked) {
    background: #00beaf;
    color: #fff;
    border-color: #00beaf;
}

.product-picker-modal thead input[type="checkbox"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.product-picker-modal table {
    width: 100%;
}

.product-picker-table tr {
    height: 30px;
}

.product-picker-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.taxon-picker {
    display: inline-flex;
    align-items: center;
}

.modal.taxon-picker-modal {
    width: 600px;
    max-width: 90vw;
}

.taxon-picker-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.taxon-picker-search-field {
    margin-bottom: 14px;
}

.taxon-picker-search-field input {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
}

.taxon-picker-tree,
.taxon-picker-tree ul {
    list-style: none;
    margin: 0;
    padding-left: 20px;
}

.taxon-picker-tree {
    padding-left: 0;
}

.taxon-picker-tree li {
    padding: 4px 0;
}

.taxon-picker-tree label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.promotionsSettingsGroups {
    display: grid;
    gap: 10px;
}

.promotionsSettingsGroups > div {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 10px;
    justify-content: left;
    align-items: center;
    min-height: 37px;
}

.promotionsSettingsGroups .alert {
    grid-column: 2;
    margin: 0;
}

.promotionsSettingsGroups input[type="checkbox"] {
    width: auto;
    margin-right: auto;
}

.promotionsSettingsGroups select {
    min-height: 37px;
}

.promotion-code-list .promotion-code-col-code {
    width: 40%;
}

/* Narrowest width the content allows; the date and time wrap onto two lines. */
.promotion-code-list .promotion-code-col-date {
    width: 1%;
}

.promotion-code-badge {
    display: inline-block;
    box-sizing: border-box;
    width: 80px;
    margin-right: 10px;
    text-align: center;
}