.price-rule-status-active {
    display: inline-block;
    min-width: 90px;
    padding: 5px 12px;
    border-radius: 3px;
    background: #228b4e;
    color: #ffffff;
    text-align: center;
}

.price-rule-status-draft {
    display: inline-block;
    min-width: 90px;
    padding: 5px 12px;
    border-radius: 3px;
    background: #686868;
    color: #ffffff;
    text-align: center;
}

.price-rule-status-inactive {
    display: inline-block;
    min-width: 90px;
    padding: 5px 12px;
    border-radius: 3px;
    background: #a24b40;
    color: #ffffff;
    text-align: center;
}

.stat-info {
    margin-top: 8px;
    color: #777;
    font-size: 14px;
}

/* =========================================================
   Prisregel modal
   ========================================================= */

.price-rule-modal {

    display: none;

    position: fixed;

    inset: 0;

    z-index: 9999;

    background: rgba(0, 0, 0, 0.60);

    align-items: center;

    justify-content: center;

    padding: 30px;

}


.price-rule-modal.show {

    display: flex;

}


.price-rule-modal-dialog {

    width: 90vw;

    max-width: 1250px;

    height: 90vh;

    max-height: 900px;

    background: #ffffff;

    border-radius: 6px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);

    display: flex;

    flex-direction: column;

    overflow: hidden;

}


/* Header */

.price-rule-modal-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 24px;

    border-bottom: 1px solid #e1e1e1;

    flex-shrink: 0;

}


.price-rule-modal-title {

    font-size: 21px;

    font-weight: 600;

    color: #333333;

}


.price-rule-modal-subtitle {

    margin-top: 3px;

    font-size: 13px;

    color: #777777;

}


.price-rule-modal-close {

    width: 36px;

    height: 36px;

    border: 0;

    background: transparent;

    color: #777777;

    font-size: 20px;

    cursor: pointer;

    border-radius: 4px;

}


.price-rule-modal-close:hover {

    background: #eeeeee;

    color: #333333;

}


/* Steps */

.price-rule-steps {

    display: flex;

    align-items: stretch;

    padding: 0 24px;

    border-bottom: 1px solid #e1e1e1;

    background: #f7f7f7;

    flex-shrink: 0;

}


.price-rule-step {

    position: relative;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 14px 18px;

    color: #888888;

    font-size: 13px;

    white-space: nowrap;

}


.price-rule-step-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 25px;

    height: 25px;

    border-radius: 50%;

    background: #dddddd;

    color: #666666;

    font-size: 12px;

    font-weight: 600;

}


.price-rule-step.active {

    color: #333333;

    font-weight: 600;

}


.price-rule-step.active .price-rule-step-number {

    background: #228b4e;

    color: #ffffff;

}


.price-rule-step.completed {

    color: #228b4e;

}


.price-rule-step.completed .price-rule-step-number {

    background: #228b4e;

    color: #ffffff;

}


/* Content */

.price-rule-modal-content {

    flex: 1;

    overflow-y: auto;

    padding: 25px;

    background: #ffffff;

}


.price-rule-modal-loading {

    display: flex;

    align-items: center;

    justify-content: center;

    height: 200px;

    gap: 10px;

    color: #777777;

}


/* Footer */

.price-rule-modal-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 15px 24px;

    border-top: 1px solid #e1e1e1;

    background: #f7f7f7;

    flex-shrink: 0;

}


.price-rule-modal-footer > div:last-child {

    display: flex;

    gap: 8px;

}


.price-rule-modal-footer .btn {

    min-width: 120px;

}


/* Mobile */

@media (max-width: 900px) {

    .price-rule-modal {

        padding: 10px;

    }

    .price-rule-modal-dialog {

        width: 100vw;

        height: 95vh;

    }

    .price-rule-step-title {

        display: none;

    }

    .price-rule-step {

        padding: 12px 10px;

    }

}

.price-rule-page {
    display: none;
}

.price-rule-page.active {
    display: block;
}

/* =========================================================
   PriceRule formular
   ========================================================= */

.price-rule-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.price-rule-section-header h2 {
    margin: 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
}

.price-rule-section-description {
    margin-top: 5px;
    color: #777;
    font-size: 14px;
}


.price-rule-form-card {
    margin-bottom: 18px;
    padding: 22px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #fafafa;
}


.price-rule-card-title {
    margin-bottom: 4px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
}

.price-rule-card-description {
    margin-bottom: 18px;
    color: #777777;
    font-size: 13px;
}


.price-rule-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
}


.price-rule-form-span-2 {
    grid-column: span 2;
}


.price-rule-form-group {
    min-width: 0;
}


.price-rule-form-group > label {
    display: block;
    margin-bottom: 7px;
    color: #444444;
    font-size: 13px;
    font-weight: 600;
}


.price-rule-input {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    color: #333333;
    font-family: inherit;
    font-size: 14px;
}


.price-rule-input:focus {
    border-color: #228b4e;
    box-shadow: 0 0 0 2px rgba(34, 139, 78, 0.12);
}


.price-rule-textarea {
    min-height: 90px;
    resize: vertical;
}


.price-rule-field-info {
    margin-top: 6px;
    color: #888888;
    font-size: 12px;
}


.required {
    color: #a24b40;
}


/* Switch */

.price-rule-switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
}


.price-rule-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    flex-shrink: 0;
}


.price-rule-switch input {
    width: 0;
    height: 0;
    opacity: 0;
}


.price-rule-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: #bbbbbb;
    cursor: pointer;
    transition: 0.2s;
}


.price-rule-switch-slider::before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #ffffff;
    transition: 0.2s;
}


.price-rule-switch input:checked + .price-rule-switch-slider {
    background: #228b4e;
}


.price-rule-switch input:checked + .price-rule-switch-slider::before {
    transform: translateX(22px);
}


.price-rule-switch-text {
    min-width: 35px;
    color: #555555;
    font-size: 14px;
}


/* Campaign */

.price-rule-campaign-switch {
    margin-bottom: 5px;
}


.price-rule-campaign-options {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}


#priceRuleNewCampaignContainer {
    display: none;
}


@media (max-width: 800px) {

    .price-rule-form-grid {
        grid-template-columns: 1fr;
    }

    .price-rule-form-span-2 {
        grid-column: span 1;
    }

}

/* =========================================================
   PriceRule validering
   ========================================================= */

.price-rule-input.input-error {
    border-color: #a24b40;
    background: #fffafa;
}

.price-rule-input.input-error:focus {
    border-color: #a24b40;
    box-shadow: 0 0 0 2px rgba(162, 75, 64, 0.12);
}

.price-rule-validation-message {
    display: none;
    margin-top: 6px;
    color: #a24b40;
    font-size: 12px;
}

.price-rule-validation-message.show {
    display: block;
}

.price-rule-edit-link {
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.price-rule-edit-link:hover {
    color: #228b4e;
    text-decoration: underline;
}

/* =========================================================
   PriceRule - Udvalg
   ========================================================= */

.price-rule-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.price-rule-selection-card {
    border: 1px solid #dddddd;
    border-radius: 5px;
    background: #fafafa;
    overflow: hidden;
}

.price-rule-selection-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 20px 12px;
}

.price-rule-selection-card-header .price-rule-card-description {
    margin-bottom: 0;
}

.price-rule-selection-count {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 3px;
    background: #e8e8e8;
    color: #555555;
    font-size: 12px;
    font-weight: 600;
}

.price-rule-selection-count.has-selection {
    background: #228b4e;
    color: #ffffff;
}


/* Søgning */

.price-rule-selection-search {
    position: relative;
    margin: 0 20px 14px;
}

.price-rule-selection-search i {
    position: absolute;
    top: 50%;
    left: 12px;
    color: #888888;
    transform: translateY(-50%);
    pointer-events: none;
}

.price-rule-selection-search input {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    padding: 7px 10px 7px 36px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    outline: none;
    background: #ffffff;
    font-family: inherit;
    font-size: 13px;
}

.price-rule-selection-search input:focus {
    border-color: #228b4e;
    box-shadow: 0 0 0 2px rgba(34, 139, 78, .12);
}


/* Liste */

.price-rule-selection-list {
    height: 230px;
    overflow-y: auto;
    border-top: 1px solid #dddddd;
    background: #ffffff;
}

.price-rule-product-list {
    height: 280px;
}

.price-rule-selection-empty {
    padding: 30px 20px;
    color: #999999;
    font-size: 13px;
    text-align: center;
}


/* Senere checkbox-rækker */

.price-rule-selection-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 7px 14px;
    border-bottom: 1px solid #eeeeee;
    cursor: pointer;
}

.price-rule-selection-item:last-child {
    border-bottom: 0;
}

.price-rule-selection-item:hover {
    background: #f5f7f6;
}

.price-rule-selection-item input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #228b4e;
}

.price-rule-selection-item-text {
    min-width: 0;
    color: #444444;
    font-size: 13px;
}

.price-rule-selection-item-title {
    font-weight: 600;
}

.price-rule-selection-item-info {
    margin-top: 2px;
    color: #888888;
    font-size: 12px;
}


/* Produkter fylder hele bredden */

.price-rule-products-card {
    width: 100%;
}


@media (max-width: 900px) {

    .price-rule-selection-grid {
        grid-template-columns: 1fr;
    }

}

.price-rule-product-mode-info {
    display: flex;
    gap: 15px;
    margin: 0 20px 18px;
    padding: 18px;
    border: 1px solid #d7e8dd;
    border-radius: 5px;
    background: #f4faf6;
}

.price-rule-product-mode-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #228b4e;
    color: #ffffff;
    font-size: 18px;
}

.price-rule-product-mode-title {
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.price-rule-product-mode-description {
    color: #666;
    font-size: 13px;
}

.price-rule-product-mode-count {
    margin-top: 7px;
    color: #228b4e;
    font-size: 13px;
    font-weight: 600;
}

.price-rule-product-import {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-top: 1px solid #dddddd;
    background: #ffffff;
}

.price-rule-product-import .price-rule-card-description {
    margin-bottom: 0;
}

.price-rule-product-import-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.price-rule-imported-products {
    border-top: 1px solid #dddddd;
    background: #ffffff;
}

.price-rule-imported-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f7f7f7;
    font-size: 13px;
}

.price-rule-imported-products-list {
    max-height: 220px;
    overflow-y: auto;
}

.price-rule-imported-product {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    padding: 8px 20px;
    border-top: 1px solid #eeeeee;
    font-size: 13px;
}

.price-rule-imported-product-lmno {
    font-weight: 600;
}

@media(max-width:800px) {
    .price-rule-product-import {
        align-items: flex-start;
        flex-direction: column;
    }
}

.price-rule-selection-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.price-rule-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #228b4e;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.price-rule-link-button:hover {
    text-decoration: underline;
}

.price-rule-inline-spinner {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 7px;
    vertical-align: -2px;

    border: 2px solid #cfcfcf;
    border-top-color: #228b4e;
    border-radius: 50%;

    animation: priceRuleSpin .7s linear infinite;
}

@keyframes priceRuleSpin {
    to {
        transform: rotate(360deg);
    }
}

.price-rule-import-validation {
    padding: 10px 20px;
    border-top: 1px solid #dddddd;
    background: #f7f7f7;
    color: #666666;
    font-size: 12px;
}

.price-rule-import-validation.has-excluded {
    background: #fff8e8;
    color: #8a6414;
}

.page-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
}

.page-loading-box {
    min-width: 280px;
    padding: 30px 40px;

    border-radius: 7px;
    background: #ffffff;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.30);

    text-align: center;
}

.page-loading-spinner {
    width: 42px;
    height: 42px;

    margin: 0 auto 18px;

    border: 4px solid #dddddd;
    border-top-color: #228b4e;
    border-radius: 50%;

    animation: pageLoadingSpin 0.75s linear infinite;
}

.page-loading-title {
    color: #333333;
    font-size: 17px;
    font-weight: 600;
}

.page-loading-text {
    margin-top: 6px;

    color: #777777;
    font-size: 13px;
}

@keyframes pageLoadingSpin {
    to {
        transform: rotate(360deg);
    }
}

.price-rule-pricing-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 18px;
}

.price-rule-pricing-card {
    margin-bottom: 0;
}

.price-rule-radio-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 12px 0;

    border-bottom: 1px solid #e5e5e5;

    cursor: pointer;
}

.price-rule-radio-row:last-of-type {
    border-bottom: 0;
}

.price-rule-radio-row > input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-top: 11px;

    flex-shrink: 0;

    accent-color: #228b4e;
}

.price-rule-radio-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    gap: 15px;
}

.price-rule-radio-title {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.price-rule-radio-info {
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

.price-rule-radio-value {
    position: relative;

    width: 125px;

    flex-shrink: 0;
}

.price-rule-number-input {
    padding-right: 38px;
}

.price-rule-input-suffix {
    position: absolute;

    top: 1px;
    right: 1px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 38px;

    border-left: 1px solid #cccccc;
    border-radius: 0 4px 4px 0;

    background: #777;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;

    pointer-events: none;
}

.price-rule-adjust-row .price-rule-input-suffix {
    height: 36px;
}

.price-rule-pricing-subsection {
    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #dddddd;
}

.price-rule-field-label {
    margin-bottom: 8px;

    color: #444;
    font-size: 13px;
    font-weight: 600;
}

.price-rule-inline-value {
    width: 125px;
}

.price-rule-price-ranges {
    margin-top: 15px;
}

.price-rule-price-range-header,
.price-rule-price-range-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.price-rule-price-range-header {
    margin-bottom: 6px;

    color: #777;
    font-size: 11px;
    font-weight: 600;
}

.price-rule-price-range-row {
    margin-bottom: 7px;
}

.price-rule-price-range-row .price-rule-input {
    min-height: 36px;
}

.price-rule-info-box {
    display: flex;
    gap: 9px;

    margin-top: 18px;
    padding: 12px;

    border: 1px solid #e0e0e0;
    border-radius: 4px;

    background: #ffffff;

    color: #777;
    font-size: 12px;
    line-height: 17px;
}

.price-rule-info-box i {
    margin-top: 2px;
    color: #228b4e;
}

@media(max-width:1100px) {
    .price-rule-pricing-grid {
        grid-template-columns: 1fr;
    }
}

.price-rule-adjust-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
}

.price-rule-adjust-options {
    margin-top: 18px;
}

.price-rule-adjust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 52px;

    padding: 7px 0;

    border-bottom: 1px solid #e3e3e3;

    cursor: pointer;
}

.price-rule-adjust-label {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 120px;

    color: #333;
    font-size: 14px;
}

.price-rule-adjust-label input[type="radio"] {
    width: 16px;
    height: 16px;

    accent-color: #228b4e;
}

.price-rule-adjust-row .price-rule-radio-value {
    width: 145px;
}

.price-rule-adjust-row .price-rule-input {
    min-height: 38px;
}

.price-rule-adjust-none {
    justify-content: flex-start;
}

.price-rule-adjust-divider {
    margin: 20px 0;

    border-top: 1px solid #d8d8d8;
}

.price-rule-roundoff-group {
    margin-top: 12px;
}

.price-rule-adjust-preview {
    min-height: 390px;
}

.price-rule-preview-formula {
    margin-top: 18px;
    padding: 18px 10px;

    border-bottom: 1px solid #cccccc;

    color: #111;
    font-size: 18px;
    font-weight: 600;
}

.price-rule-preview-result {
    padding: 25px 10px;

    color: #333;
    font-size: 15px;
}

.price-rule-preview-arrow {
    display: inline-block;

    margin: 0 7px;

    color: #777;
}

#priceRuleAdjustDirection {
    margin-right: 4px;

    color: #228b4e;
    font-weight: 600;
}


@media(max-width: 900px) {

    .price-rule-adjust-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PRICE RULE - STEP 5 - COMPETITORS
   ========================================================= */

.price-rule-competitor-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    gap: 18px;
    align-items: stretch;
    width: 100%;
}

.price-rule-competitor-grid > .price-rule-form-card {
    min-width: 0;
    margin-bottom: 0;
}

.price-rule-competitor-card {
    margin-bottom: 0;
    min-width: 0;
}

.price-rule-competitor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}


/* ---------------------------------------------------------
   MARKET MATCH
   --------------------------------------------------------- */

.price-rule-competitor-options {
    margin-top: 8px;
}

.price-rule-competitor-option {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 46px;
    padding: 0 8px;

    border-bottom: 1px solid #e5e5e5;

    color: #444444;
    font-size: 14px;

    cursor: pointer;
}

.price-rule-competitor-option:last-child {
    border-bottom: 0;
}

.price-rule-competitor-option:hover {
    background: #f5f7f6;
}

.price-rule-competitor-option input[type="radio"] {
    flex-shrink: 0;

    width: 17px;
    height: 17px;

    accent-color: #228b4e;
    cursor: pointer;
}


/* ---------------------------------------------------------
   COMPETITOR LIST
   --------------------------------------------------------- */

.price-rule-competitor-list {
    height: 350px;
}


/* ---------------------------------------------------------
   ACTIVE SOURCES
   --------------------------------------------------------- */

.price-rule-active-source-count {
    flex-shrink: 0;

    padding: 5px 10px;

    border-radius: 3px;

    background: #228b4e;
    color: #ffffff;

    font-size: 12px;
}

.price-rule-active-source-list {
    height: 404px;

    overflow-y: auto;

    border: 1px solid #dddddd;
    border-radius: 4px;

    background: #ffffff;
}

.price-rule-active-source-item {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 40px;
    padding: 7px 14px;

    border-bottom: 1px solid #eeeeee;

    color: #444444;
    font-size: 13px;
}

.price-rule-active-source-item:last-child {
    border-bottom: 0;
}

.price-rule-active-source-item i {
    color: #228b4e;
}

/* =========================================================
   PRICE RULE - STEP 6 - ANALYSIS
   ========================================================= */

.price-rule-analysis-summary {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;

    margin-bottom: 16px;
    padding: 18px 20px;

    border: 1px solid #dddddd;
    border-radius: 5px;

    background: #fafafa;
}

.price-rule-analysis-summary-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-rule-analysis-total {
    margin-bottom: 10px;

    color: #333333;
    font-size: 17px;
}

.price-rule-analysis-total strong {
    margin-left: 4px;
    color: #228b4e;
    font-size: 19px;
}


/* ---------------------------------------------------------
   STATISTICS
   --------------------------------------------------------- */

.price-rule-analysis-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;

    color: #555555;
    font-size: 14px;
}

.price-rule-analysis-stats strong {
    margin-left: 3px;
}

.analysis-green {
    color: #228b4e;
}

.analysis-red {
    color: #c93b32;
}

.analysis-yellow {
    color: #c28a00;
}


/* ---------------------------------------------------------
   CHART PLACEHOLDER
   --------------------------------------------------------- */

.price-rule-analysis-chart {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-rule-analysis-chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 90px;

    border-left: 1px solid #dddddd;

    color: #999999;
}

.price-rule-analysis-chart-placeholder i {
    margin-bottom: 7px;

    color: #228b4e;
    font-size: 32px;
}

.price-rule-analysis-chart-placeholder span {
    font-size: 12px;
}


/* ---------------------------------------------------------
   TOOLBAR
   --------------------------------------------------------- */

.price-rule-analysis-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin-bottom: 12px;
}

.price-rule-analysis-filters {
    display: flex;
    gap: 7px;
}

.price-rule-analysis-filter {
    min-height: 36px;

    padding: 7px 15px;

    border: 1px solid #d6dde6;
    border-radius: 8px;

    background: #ffffff;
    color: #475467;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.12s ease,
        border-color 0.12s ease,
        color 0.12s ease;
}


.price-rule-analysis-filter:hover {
    border-color: #b9c5d4;

    background: #f5f7fa;
}


.price-rule-analysis-filter.active {
    border-color: #228b4e;

    background: #228b4e;
    color: #ffffff;
}

/* ---------------------------------------------------------
   SEARCH
   --------------------------------------------------------- */

.price-rule-analysis-search {
    position: relative;

    width: 280px;
    flex-shrink: 0;
}

.price-rule-analysis-search i {
    position: absolute;

    top: 50%;
    left: 12px;

    color: #888888;

    transform: translateY(-50%);
    pointer-events: none;
}

.price-rule-analysis-search input {
    box-sizing: border-box;

    width: 100%;
    height: 36px;

    padding: 7px 10px 7px 36px;

    border: 1px solid #d6dde6;
    border-radius: 8px;

    outline: none;

    background: #ffffff;

    font-family: inherit;
    font-size: 12px;

    transition:
        border-color 0.12s ease,
        box-shadow 0.12s ease;
}


.price-rule-analysis-search input:focus {
    border-color: #4f8df7;

    box-shadow:
        0 0 0 3px rgba(79, 141, 247, 0.12);
}

/* ---------------------------------------------------------
   TABLE
   --------------------------------------------------------- */

.price-rule-analysis-table-wrapper {
    height: 360px;
    overflow: auto;

    border: 1px solid #dde3ea;
    border-radius: 10px;

    background: #ffffff;

    box-shadow:
        0 2px 8px rgba(15, 23, 42, 0.04);
}


#priceRuleAnalysisTable {
    width: 100% !important;
    margin: 0 !important;

    border-collapse: separate;
    border-spacing: 0;

    font-size: 13px;
    color: #344054;
}


/* Header */

#priceRuleAnalysisTable thead th {
    position: sticky;
    top: 0;
    z-index: 2;

    padding: 11px 12px;

    background: #f5f7fa;

    color: #26354a;

    font-size: 12px;
    font-weight: 700;

    border-bottom: 1px solid #dfe5ec;

    white-space: nowrap;
}


/* Celler */

#priceRuleAnalysisTable tbody td {
    padding: 9px 12px;

    vertical-align: middle;

    border-bottom: 1px solid #edf0f4;

    background: #ffffff;

    transition:
        background-color 0.12s ease;
}


/* Zebra */

#priceRuleAnalysisTable tbody tr:nth-child(even) td {
    background: #fafbfd;
}


/* Hover */

#priceRuleAnalysisTable tbody tr:hover td {
    background: #eef5ff !important;
}


/* Første kolonne - varenummer */

#priceRuleAnalysisTable th:nth-child(1),
#priceRuleAnalysisTable td:nth-child(1) {
    width: 120px;

    font-weight: 600;

    white-space: nowrap;
}


/* Varetekst */

#priceRuleAnalysisTable th:nth-child(2),
#priceRuleAnalysisTable td:nth-child(2) {
    min-width: 360px;
}


/* Status */

#priceRuleAnalysisTable th:nth-child(3),
#priceRuleAnalysisTable td:nth-child(3) {
    width: 105px;

    text-align: center;
}


/* Antal konkurrenter */

#priceRuleAnalysisTable th:nth-child(4),
#priceRuleAnalysisTable td:nth-child(4) {
    width: 90px;

    text-align: center;
}


/* Numeriske kolonner */

#priceRuleAnalysisTable th:nth-child(n+5),
#priceRuleAnalysisTable td:nth-child(n+5) {
    text-align: right;

    white-space: nowrap;
}


/* Sidste række */

#priceRuleAnalysisTable tbody tr:last-child td {
    border-bottom: 0;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media(max-width: 900px) {

    .price-rule-analysis-summary {
        grid-template-columns: 1fr;
    }

    .price-rule-analysis-chart-placeholder {
        border-left: 0;
        border-top: 1px solid #dddddd;
        padding-top: 15px;
    }

    .price-rule-analysis-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .price-rule-analysis-filters {
        flex-wrap: wrap;
    }

    .price-rule-analysis-search {
        width: 100%;
    }
}

.price-rule-page[data-step="6"] {
    position: relative;
}

.price-rule-analysis-loading {
    display: none;

    position: absolute;
    inset: 0;

    z-index: 100;

    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(1px);
}

.price-rule-analysis-loading.show {
    display: flex;
}

.price-rule-analysis-loading-box {
    min-width: 260px;
    padding: 28px 35px;

    border: 1px solid #dddddd;
    border-radius: 6px;

    background: #ffffff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);

    text-align: center;
}

.price-rule-analysis-loading-box i {
    display: block;

    margin-bottom: 15px;

    color: #228b4e;

    font-size: 32px;
}

.price-rule-analysis-loading-title {
    margin-bottom: 5px;

    color: #333333;

    font-size: 16px;
    font-weight: 600;
}

.price-rule-analysis-loading-text {
    color: #777777;

    font-size: 13px;
}

.price-rule-analysis-table td.number {
    text-align: right;
    white-space: nowrap;
}

.price-rule-analysis-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 82px;

    padding: 5px 10px;

    border-radius: 999px;

    text-align: center;

    font-size: 12px;
    font-weight: 700;
}
/* Match */

.price-rule-analysis-status.match {
    background: #c9f4d8;
    color: #087a35;

    box-shadow:
        inset 0 0 0 1px rgba(8, 122, 53, 0.10);
}

/* Fallback */

.price-rule-analysis-status.fallback {
    background: #fff0c7;
    color: #9a6400;

    box-shadow:
        inset 0 0 0 1px rgba(154, 100, 0, 0.10);
}

/* Margin stop */

.price-rule-analysis-status.margin-stop {
    background: #f8d5d1;
    color: #a63f35;

    box-shadow:
        inset 0 0 0 1px rgba(166, 63, 53, 0.10);
}

.price-rule-analysis-empty {
    padding: 35px !important;
    color: #888888;
    text-align: center !important;
}

.price-rule-analysis-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 11px 14px;

    border: 1px solid #dde3ea;
    border-top: 0;

    border-radius: 0 0 10px 10px;

    background: #fafbfd;

    color: #667085;

    font-size: 12px;
}


.price-rule-analysis-pagination-info strong {
    color: #344054;
}


.price-rule-analysis-pagination-controls {
    display: flex;
    align-items: center;

    gap: 10px;
}


.price-rule-analysis-pagination-controls .btn {
    min-width: 34px;
    width: 34px;
    height: 32px;

    padding: 0;

    border-radius: 8px;
}


.price-rule-analysis-page-info {
    min-width: 100px;

    color: #667085;

    text-align: center;
}


.price-rule-analysis-page-info strong {
    color: #1769d2;
}

.price-rule-analysis-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 150px;
    min-width: 150px;
    padding: 5px 15px;
}

.price-rule-analysis-chart-inner {
    width: 180px;
    height: 100px;
}

.price-rule-analysis-chart-title {
    margin-top: 5px;
    color: #888888;
    font-size: 12px;
}

/* =========================================================
   PRICE RULE - STEP 7 - SETTINGS
   ========================================================= */

.price-rule-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.price-rule-settings-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.price-rule-settings-left .price-rule-form-card {
    margin-bottom: 0;
}

.price-rule-summary-card {
    margin-bottom: 0;
}

.price-rule-settings-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.price-rule-settings-option input {
    flex-shrink: 0;
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: #228b4e;
}

.price-rule-settings-option-title {
    color: #444444;
    font-size: 14px;
    font-weight: 600;
}

.price-rule-settings-option-description {
    margin-top: 3px;
    color: #888888;
    font-size: 12px;
    line-height: 17px;
}

.price-rule-settings-divider {
    margin: 18px 0;
    border-top: 1px solid #dddddd;
}

.price-rule-notification-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.price-rule-notification-value {
    width: 150px;
    flex-shrink: 0;
}

.price-rule-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 0;
    border-bottom: 1px solid #eeeeee;
    color: #555555;
    font-size: 13px;
}

.price-rule-summary-row:last-child {
    border-bottom: 0;
}

.price-rule-summary-row strong {
    color: #333333;
    text-align: right;
}

@media(max-width: 900px) {
    .price-rule-settings-grid {
        grid-template-columns: 1fr;
    }
}

#btnPriceRuleNext:disabled {
    opacity: .45;
    cursor: not-allowed;
    pointer-events: none;
}

/* =========================================================
   Price Rules - Header
   ========================================================= */

.price-rules-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

.price-rules-header .page-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================================
   Price Rules - Statistik
   ========================================================= */

.price-rule-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.price-rule-stat-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;

    min-height: 145px;
    padding: 22px 22px 20px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.05);

    overflow: hidden;
}

.price-rule-stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
}

.price-rule-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    min-width: 58px;

    border-radius: 50%;

    font-size: 23px;
}

.price-rule-stat-content {
    flex: 1;
    min-width: 0;
}

.price-rule-stat-title {
    margin-top: 3px;

    color: #26354a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.price-rule-stat-value {
    margin-top: 12px;

    font-size: 33px;
    line-height: 1;
    font-weight: 700;
}

.price-rule-stat-info {
    margin-top: 13px;

    color: #7b8492;
    font-size: 13px;
}


/* =========================================================
   Grøn
   ========================================================= */

.price-rule-stat-card.stat-green
.price-rule-stat-icon {
    background: #e5f5eb;
    color: #138a4b;
}

.price-rule-stat-card.stat-green
.price-rule-stat-value {
    color: #138a4b;
}

.price-rule-stat-card.stat-green::after {
    background: #62c88b;
}


/* =========================================================
   Blå
   ========================================================= */

.price-rule-stat-card.stat-blue
.price-rule-stat-icon {
    background: #e7f0fd;
    color: #1468cc;
}

.price-rule-stat-card.stat-blue
.price-rule-stat-value {
    color: #1468cc;
}

.price-rule-stat-card.stat-blue::after {
    background: #5c9fe8;
}


/* =========================================================
   Orange
   ========================================================= */

.price-rule-stat-card.stat-orange
.price-rule-stat-icon {
    background: #fff1dc;
    color: #d88712;
}

.price-rule-stat-card.stat-orange
.price-rule-stat-value {
    color: #d88712;
}

.price-rule-stat-card.stat-orange::after {
    background: #f3ad46;
}


/* =========================================================
   Rød
   ========================================================= */

.price-rule-stat-card.stat-red
.price-rule-stat-icon {
    background: #fde7e7;
    color: #cf2f2f;
}

.price-rule-stat-card.stat-red
.price-rule-stat-value {
    color: #cf2f2f;
}

.price-rule-stat-card.stat-red::after {
    background: #ef6b6b;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1200px) {

    .price-rule-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .price-rules-header {
        flex-direction: column;
    }

    .price-rules-header .page-actions {
        flex-wrap: wrap;
    }

    .price-rule-stats-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   Price Rules - Header card
   ========================================================= */

.price-rules-header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 22px 24px;

    margin-bottom: 22px;

    background: #F7F9FC;

    border: 1px solid #e4e8ee;

    border-radius: 16px;

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.06);
}


/* Venstre side */

.price-rules-header-left {
    min-width: 0;
}

.price-rules-header-left h1 {
    margin: 0;

    font-size: 32px;
    line-height: 1.1;

    color: #172033;
}

.price-rules-header-left .page-subtitle {
    margin-top: 5px;

    color: #596579;

    font-size: 15px;
}


/* Knapper */

.price-rules-header-card .page-actions {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


/* Responsive */

@media (max-width: 900px) {

    .price-rules-header-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-rules-header-card .page-actions {
        width: 100%;
        flex-wrap: wrap;
    }
}

.price-rule-name-cell {
    cursor: pointer;
    font-weight: 600;
}

.price-rule-name-cell:hover {
    background: #eef5ff !important;
    color: #1468cc;
}

.price-rule-context-menu {
    position: fixed;
    z-index: 10000;

    display: none;

    min-width: 210px;

    padding: 6px;

    background: #ffffff;

    border: 1px solid #dfe3e8;
    border-radius: 9px;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.18);
}

.price-rule-context-menu.show {
    display: block;
}

.price-rule-context-menu button {
    display: flex;
    align-items: center;

    width: 100%;

    gap: 10px;

    padding: 10px 12px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    color: #26354a;

    font-size: 13px;
    font-weight: 500;

    text-align: left;

    cursor: pointer;
}

.price-rule-context-menu button i {
    width: 18px;
    text-align: center;
}

.price-rule-context-menu button:hover {
    background: #f1f5f9;
}

.price-rule-context-menu button.danger {
    color: #c93434;
}

.price-rule-context-menu button.danger:hover {
    background: #fff0f0;
}

.price-rule-context-divider {
    height: 1px;
    margin: 5px 4px;

    background: #e8ebef;
}

#priceRulesTable tbody tr {
    cursor: default;
}

#priceRulesTable tbody tr:hover td {
    background-color: #f8fbff;
}

/* =========================================
   PRICE RULES DATATABLE
   ========================================= */

#priceRulesTable_wrapper {
    padding: 0;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;

    color: #344054;
}

/* Topbar */

#priceRulesTable_wrapper .dataTables_length,
#priceRulesTable_wrapper .dataTables_filter {
    margin-bottom: 18px;
}

#priceRulesTable_wrapper .dataTables_filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

#priceRulesTable_wrapper .dataTables_filter label,
#priceRulesTable_wrapper .dataTables_length label {
    font-weight: 600;
    color: #4b5563;
}


/* Select */

#priceRulesTable_wrapper .dataTables_length select {
    min-width: 64px;
    padding: 7px 28px 7px 10px;

    border: 1px solid #d6dde6;
    border-radius: 8px;

    background: #fff;

    font-size: 13px;

    outline: none;
}

#priceRulesTable_wrapper .dataTables_length select:focus {
    border-color: #4f8df7;
    box-shadow: 0 0 0 3px rgba(79, 141, 247, 0.12);
}


/* Search */

#priceRulesTable_wrapper .dataTables_filter input {
    width: 190px;

    padding: 9px 12px;

    border: 1px solid #d6dde6;
    border-radius: 9px;

    background: #fff;

    transition: all 0.15s ease;
}

#priceRulesTable_wrapper .dataTables_filter input:focus {
    border-color: #4f8df7;

    box-shadow:
        0 0 0 3px rgba(79, 141, 247, 0.12);

    outline: none;
}


/* =========================================
   TABLE
   ========================================= */

#priceRulesTable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}


/* Header */

#priceRulesTable thead th {
    background: #f5f7fa;

    color: #26354a;

    font-size: 14px;
    font-weight: 700;

    padding: 14px 14px;

    border-top: 1px solid #e6eaf0;
    border-bottom: 1px solid #dde3ea;

    white-space: nowrap;
}


/* Første/sidste header */

#priceRulesTable thead th:first-child {
    border-top-left-radius: 10px;
}

#priceRulesTable thead th:last-child {
    border-top-right-radius: 10px;
}


/* Rows */

#priceRulesTable tbody td {
    padding: 14px 14px;

    border-bottom: 1px solid #e5e9ef;

    color: #344054;

    font-size: 14px;
    font-weight: 500;

    vertical-align: middle;

    transition:
        background 0.12s ease,
        color 0.12s ease;
}

/* Zebra */

#priceRulesTable tbody tr:nth-child(even) td {
    background: #fafbfc;
}




/* Regelnavn */

#priceRulesTable td.price-rule-name-cell {
    font-weight: 700;
    color: #1f2937;
}

#priceRulesTable td.price-rule-name-cell:hover {
    color: #1769d2;
}


/* =========================================
   STATUS
   ========================================= */

.price-rule-status-active,
.price-rule-status-draft,
.price-rule-status-inactive {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 94px;

    padding: 6px 13px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 700;
}


/* Aktiv */

.price-rule-status-active {
    background: #baf0cc;
    color: #06712f;

    box-shadow:
        inset 0 0 0 1px rgba(6, 113, 47, 0.12);
}


/* Kladde */

.price-rule-status-draft {
    background: #fff0c7;
    color: #9a6400;
}


/* Inaktiv */

.price-rule-status-inactive {
    background: #eceff3;
    color: #667085;
}

/* =========================================
   INFO + PAGINATION
   ========================================= */

#priceRulesTable_wrapper .dataTables_info {
    padding-top: 18px;

    color: #667085;
    font-size: 13px;
}


/* Pagination */

#priceRulesTable_wrapper .dataTables_paginate {
    padding-top: 12px;
}

#priceRulesTable_wrapper
.dataTables_paginate
.paginate_button {

    min-width: 34px;

    padding: 7px 10px !important;

    margin-left: 4px;

    border-radius: 8px !important;

    border: 1px solid #e1e6ed !important;

    background: #fff !important;

    color: #475467 !important;

    font-size: 13px;
}


/* Hover */

#priceRulesTable_wrapper
.dataTables_paginate
.paginate_button:hover {

    background: #f4f7fb !important;

    border-color: #cfd8e3 !important;

    color: #1769d2 !important;
}


/* Aktiv side */

#priceRulesTable_wrapper
.dataTables_paginate
.paginate_button.current {

    background: #edf4ff !important;

    border-color: #4f8df7 !important;

    color: #1769d2 !important;

    font-weight: 700;
}


/* Disabled */

#priceRulesTable_wrapper
.dataTables_paginate
.paginate_button.disabled {

    opacity: 0.45;

    cursor: default !important;
}

.price-rule-name-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
}

.price-rule-name-icon {
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    border-radius: 8px;

    background: #edf4ff;
    color: #2f6fed;

    font-size: 13px;
}

.price-rule-name-text {
    color: #172033;
    font-weight: 700;
}

.price-rule-priority {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #246bfd;

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 3px 8px rgba(47, 111, 237, 0.22);
}

#priceRulesTable tbody tr {
    cursor: default;
}

#priceRulesTable tbody tr:hover td {
    background: #eef4ff !important;
}

#priceRulesTable th.text-center,
#priceRulesTable td.text-center {
    text-align: center !important;
}

#priceRulesTable th.text-right,
#priceRulesTable td.text-right {
    text-align: right !important;
}

/* =========================================================
   Price Rules - Header action buttons
   ========================================================= */

#btnUpdatePriceRuleProductCounts,
#btnRefreshPriceRules {
    height: 46px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    border: 1px solid #d7e1ee;
    border-radius: 10px;

    background: #f7f9fc;
    color: #344054;

    font-weight: 600;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.05);

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}


/* Ikoner */

#btnUpdatePriceRuleProductCounts i,
#btnRefreshPriceRules i {
    color: #1468cc;
    font-size: 15px;
}


/* Hover */

#btnUpdatePriceRuleProductCounts:hover,
#btnRefreshPriceRules:hover {
    background: #eef5ff;
    border-color: #a9c8ef;
    color: #1468cc;

    box-shadow:
        0 4px 10px rgba(20, 104, 204, 0.12);

    transform: translateY(-1px);
}


/* Klik */

#btnUpdatePriceRuleProductCounts:active,
#btnRefreshPriceRules:active {
    transform: translateY(0);

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.08);
}

#btnUpdatePriceRuleProductCounts i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    margin-left: -7px;

    border-radius: 6px;

    background: #e5effd;
    color: #1468cc;
}

/* =========================================================
   PriceRule modal - navigation buttons
   ========================================================= */

#btnPriceRulePrevious,
#btnPriceRuleNext {
    height: 46px;
    min-width: 120px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 18px;

    border-radius: 9px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}


/* ---------------------------------------------------------
   Forrige
   --------------------------------------------------------- */

#btnPriceRulePrevious {
    border: 1px solid #d7e1ee;

    background: #ffffff;
    color: #344054;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.05);
}

#btnPriceRulePrevious i {
    color: #667085;
}

#btnPriceRulePrevious:hover {
    background: #f5f7fa;
    border-color: #bfcbd9;

    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.08);

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Næste
   --------------------------------------------------------- */

#btnPriceRuleNext {
    border: 1px solid #228b4e;

    background: #228b4e;
    color: #ffffff;

    box-shadow:
        0 3px 8px rgba(34, 139, 78, 0.20);
}

#btnPriceRuleNext i {
    color: #ffffff;
}

#btnPriceRuleNext:hover {
    background: #1b7a43;
    border-color: #1b7a43;

    box-shadow:
        0 5px 12px rgba(34, 139, 78, 0.28);

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   Klik
   --------------------------------------------------------- */

#btnPriceRulePrevious:active,
#btnPriceRuleNext:active {
    transform: translateY(0);
}


/* ---------------------------------------------------------
   Disabled - vigtigt fordi Næste deaktiveres under loading
   --------------------------------------------------------- */

#btnPriceRuleNext:disabled {
    background: #b8c7be;
    border-color: #b8c7be;
    color: #ffffff;

    box-shadow: none;

    cursor: not-allowed;
    transform: none;
}

#btnPriceRuleNext:disabled i {
    color: #ffffff;
}

/* =========================================================
   PriceRule modal - Gem som kladde
   ========================================================= */

#btnPriceRuleSaveDraft,
#btnImportPriceRuleProducts {
    height: 46px;
 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 20px;

    border: 1px solid #d7e1ee;
    border-radius: 9px;

    background: #ffffff;
    color: #344054;

    font-weight: 600;

    box-shadow:
        0 2px 5px rgba(15, 23, 42, 0.05);

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

#btnPriceRuleSaveDraft {
    min-width: 170px;
}


/* Ikon */

#btnPriceRuleSaveDraft i,
#btnImportPriceRuleProducts i {
    color: #667085;
    font-size: 15px;
}


/* Hover */

#btnPriceRuleSaveDraft:hover,
#btnImportPriceRuleProducts:hover {
    background: #f5f7fa;
    border-color: #bfcbd9;
    color: #1f2937;

    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.08);

    transform: translateY(-1px);
}

#btnPriceRuleSaveDraft:hover i,
#btnImportPriceRuleProducts:hover i {
    color: #344054;
}


/* Klik */

#btnPriceRuleSaveDraft:active,
#btnImportPriceRuleProducts:active {
    transform: translateY(0);
}


/* Disabled */

#btnPriceRuleSaveDraft:disabled,
#btnImportPriceRuleProducts:disabled {
    background: #f2f4f7;
    border-color: #e4e7ec;
    color: #98a2b3;

    box-shadow: none;

    cursor: not-allowed;
    transform: none;
}