/* --------------------------
   GENERAL SHARED STYLES
   -------------------------- */
:root {
    --item-border-radius: 8px;
    --item-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    --item-margin-bottom: 16px;
    --item-padding: 12px;
    --border-color: #f2f2f2;
    --blue-color: #2196f3;
    --blue-bg-light: rgba(33, 150, 243, 0.1);
    --blue-bg-dark: rgba(33, 150, 243, 0.2);
    --red-color: #f44336;
    --red-bg-light: rgba(244, 67, 54, 0.1);
    --red-bg-dark: rgba(244, 67, 54, 0.2);
}

/* --------------------------
   QUOTE ITEMS SHARED STYLES
   -------------------------- */
.quote-item {
    margin-bottom: var(--item-margin-bottom);
    border-radius: var(--item-border-radius);
    overflow: hidden;
    box-shadow: var(--item-shadow);
}

html.light .quote-item {
    background-color: #fff;
}

html.dark .quote-item {
    background-color: var(--f7-card-bg-color, #1c1c1d);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.quote-item:last-child {
    margin-bottom: 8px;
}

/* Item clickable behavior */
.item-clickable {
    cursor: pointer;
}

.item-clickable:active {
    background-color: rgba(0, 0, 0, 0.03);
}

.dark .item-clickable:active {
    background-color: rgba(255, 255, 255, 0.03);
}

/* --------------------------
   QUOTE ITEM ACTION BUTTONS
   -------------------------- */
.quote-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Button styling */
.quote-item-edit.button,
.quote-item-delete.button,
#webshop-action-buttons .button

{
    height: 32px;
    max-width: 200px;
    padding: 0 15px;
    margin: 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
}

.quote-item-edit.button {
    color: var(--blue-color);
    border-color: var(--blue-color);
}

.quote-item-delete.button {
    color: var(--red-color);
    border-color: var(--red-color);
}

.quote-item-edit.button:active,
.quote-item-edit.button:hover {
    background-color: var(--blue-bg-light);
}

.quote-item-delete.button:active,
.quote-item-delete.button:hover {
    background-color: var(--red-bg-light);
}

.quote-item-edit i,
.quote-item-delete i {
    font-size: 15px;
    margin-right: 4px;
}

/* --------------------------
   DESKTOP SPECIFIC STYLES
   -------------------------- */



/* --------------------------
   DESKTOP SPECIFIC STYLES
   -------------------------- */
.quote-item-desktop {
    display: flex;
    flex-direction: column;
}

.quote-item-desktop > div {
    display: flex;
    flex-direction: row;
    align-items: center; /* Changed to center from flex-start */
    width: 100%;
}

.quote-item-desktop .item-content {
    padding-top: 16px;
    padding-bottom: 16px;
    border-left: 3px solid var(--f7-theme-color);
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center; /* Added this to center vertically */
}

.quote-item-desktop .item-title {
    font-weight: 600;
    font-size: 16px;
}

.quote-item-desktop .item-after {
    font-weight: 700;
    color: var(--f7-theme-color);
    font-size: 16px;
}

.quote-item-desktop .item-subtitle {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

html.dark .quote-item-desktop .item-subtitle {
    color: #aaa;
}

.quote-item-desktop .quote-options-container {
    margin-top: 10px;
    padding: 8px 8px 8px 20px;
    border-top: 1px solid var(--border-color);
    display: block;
    width: 100%;
    border-radius: 4px;
}

html.light .quote-item-desktop .quote-options-container {
    background-color: rgba(0, 0, 0, 0.03);
}

html.dark .quote-item-desktop .quote-options-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-top-color: rgba(255, 255, 255, 0.1);
}

.quote-item-desktop .quote-option {
    padding: 4px 0;
    display: flex;
    width: 100%;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    margin-bottom: 4px;
}

.quote-item-desktop .option-type {
    flex: 0 0 100px;
    font-weight: 500;
    text-align: left;
    text-decoration: underline;
    min-width: 100px;
    color: var(--f7-text-color);
    opacity: 0.86;
}

.quote-item-desktop .option-value {
    flex: 1;
    padding-right: 10px;
    text-align: left;
    color: var(--f7-text-secondary-color);
}

.quote-item-desktop .option-price {
    flex: 0 0 auto;
    color: var(--f7-theme-color);
    white-space: nowrap;
}

.quote-item-desktop .item-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.quote-item-desktop .item-title-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.quote-item-desktop .quote-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

html.light .quote-item-desktop .quote-item-image {
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

html.dark .quote-item-desktop .quote-item-image {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.quote-item-desktop .item-media {
    display: flex;
    align-items: center; /* Changed to center from flex-start */
    justify-content: center; /* Added to center horizontally within item-media */
    padding-right: 10px;
    flex: 0 0 auto;
}

.quote-item-desktop .item-footer {
    margin-top: 12px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    padding-top: 8px;
}

.quote-item-desktop .quote-item-actions {
    justify-content: right;
}

html.light .quote-item-desktop .item-footer {
    border-top: 1px dashed #eee;
}

html.dark .quote-item-desktop .item-footer {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6) !important;
}


/* Article number styling for quote options */
.quote-option .option-value .pull-right {
    margin-left: 10px;
    opacity: 0.7;
    font-size: 0.75em;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.05);
    display: inline-block;
    vertical-align: middle;
}

html.dark .quote-option .option-value .pull-right {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Adjust option-value to handle the article number better */
.quote-item-desktop .option-value {
    flex: 1;
    padding-right: 10px;
    text-align: left;
    color: var(--f7-text-secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Ensure the option price stays right-aligned */
.quote-item-desktop .option-price {
    flex: 0 0 auto;
    color: var(--f7-theme-color);
    white-space: nowrap;
    margin-left: 8px;
}





/* --------------------------
   MOBILE SPECIFIC STYLES
   -------------------------- */
.quote-item-mobile {
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
}

.mobile-item-layout {
    padding: var(--item-padding);
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    word-break: break-word;
}

/* --------------------------
   QUOTE ITEMS MOBILE HEADER IMPROVEMENTS
   -------------------------- */
.mobile-item-header {
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.mobile-item-header .item-title {
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    margin-bottom: 8px;
    white-space: normal;
    line-height: 1.3;
    overflow: visible;
    text-overflow: initial;
}

.mobile-item-header .item-price {
    margin-left: auto;
    font-weight: 700;
    color: var(--blue-color);
    font-size: 18px;
    padding: 4px 8px;
    background: var(--blue-bg-light);
    border-radius: 6px;
    align-self: flex-start;
}

.dark .mobile-item-header .item-price {
    background: var(--blue-bg-dark);
}


.mobile-item-image-container {
    position: relative;
    margin: 0 auto 12px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.mobile-quote-item-image {
    width: 180px;
    height: 180px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-article-number {
    margin-top: 4px;
    text-align: center;
    font-size: 13px;
    color: var(--f7-text-secondary-color);
}

.mobile-options-list {
    margin-top: 10px;
    max-width: 100%;
}

.mobile-option-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

html.dark .mobile-option-item {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.mobile-option-item:last-child {
    border-bottom: none;
}

.mobile-item-footer {
    margin-top: 12px;
    padding-top: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--f7-text-secondary-color);
    border-top: 1px solid var(--border-color);
}

.quote-item-mobile .quote-item-actions {
    justify-content: flex-end;
}

.mobile-group-title {
    font-weight: 600;
    font-size: 14px;
    margin: 10px 0 6px 0;
    color: var(--f7-text-color);
}

/* Mobile option group */
.mobile-option-group {
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 6px;
    box-sizing: border-box;
    width: 100%;
}

html.light .mobile-option-group {
    background-color: rgba(0, 0, 0, 0.02);
}

html.dark .mobile-option-group {
    background-color: rgba(255, 255, 255, 0.05);
}

/* --------------------------
   TAB BADGE POSITIONING
   -------------------------- */
.toolbar .tab-link {
    position: relative;
}





/* For iOS style tabs */
.ios .toolbar .tab-link .tab-badge {
    top: 4px;
}

/* For MD style tabs */
.md .toolbar .tab-link .tab-badge {
    top: 6px;
}

/* --------------------------
   PRODUCT LIST STYLING
   -------------------------- */
.product-item {
    min-height: 120px;
    margin-bottom: 12px;
    border-radius: var(--item-border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.dark .product-item {
    background: #1c1c1d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-list-image-container {
    width: 80px;
    height: 80px;
    margin: 10px;
    overflow: hidden;
    border-radius: 6px;
}

.product-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item .item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    max-height: none;
    white-space: normal;
    overflow: visible;
    margin-bottom: 6px;
}

.product-item .price-tag {
    color: var(--blue-color);
    font-weight: 700;
    font-size: 18px;
    background: var(--blue-bg-light);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.dark .product-item .price-tag {
    background: var(--blue-bg-dark);
}

.product-item .item-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.dark .product-item .item-subtitle {
    color: #aaa;
}

.product-item .item-text {
    font-size: 14px;
    white-space: normal;
    max-height: none;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item .item-inner {
    padding-top: 12px;
    padding-bottom: 12px;
}

.product-item .item-link {
    display: flex;
    min-height: 100%;
}

/* Mobile price container */
.mobile-price-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

/* Mobile price specific styling */
.mobile-price {
    display: inline-block;
    color: var(--blue-color);
    font-weight: 700;
    font-size: 18px;
    background: var(--blue-bg-light);
    padding: 4px 8px;
    border-radius: 6px;
}

.dark .mobile-price {
    background: var(--blue-bg-dark);
}



/* --------------------------
   CONFIGURATOR OPTIONS STYLING
   -------------------------- */
.config-option-item {
    position: relative;
    margin-bottom: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    overflow: hidden;
}

.config-option-item:hover {
    background-color: rgba(0, 122, 255, 0.03);
}

.config-option-item.selected-option {
    background-color: rgba(0, 122, 255, 0.08);
    border-left: 3px solid var(--f7-theme-color, #007aff);
}

.dark .config-option-item.selected-option {
    background-color: rgba(0, 122, 255, 0.15);
}


.config-option-details-row {

    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* Style the description to take up most of the space but leave room for article number */
.config-option-description {
    flex: 1;
    font-size: 14px;
    color: var(--f7-text-secondary-color, #8e8e93);
    line-height: 1.4;
    margin-right: 10px;
    /* Allow text to wrap if needed */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Style the article number as a badge-like element on the same line */
.option-article-number {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--f7-text-secondary-color, #8e8e93);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
    align-self: flex-start;
}

.dark .option-article-number {
    background-color: rgba(255, 255, 255, 0.1);
}



.config-option-item .item-content {
    padding: 12px;
    display: flex;
    align-items: flex-start;
}

.config-option-item .item-checkbox-container {
    flex: 0 0 auto;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 2px;
}

.config-option-item .item-media {
    flex: 0 0 70px;
    margin-right: 16px;
}

.config-option-item .option-image-container {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dark .config-option-item .option-image-container {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.config-option-item .option-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.config-option-item .item-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.config-option-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    width: 100%;
}

.config-option-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--f7-text-color);
    flex: 1;
    min-width: 0;
    margin-right: 8px;
    line-height: 1.3;
}

.config-option-price {
    flex: 0 0 auto;
    font-weight: 600;
    color: var(--f7-theme-color, #007aff);
    font-size: 15px;
    white-space: nowrap;
    background-color: rgba(0, 122, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.dark .config-option-price {
    background-color: rgba(0, 122, 255, 0.2);
}

.config-option-subtitle {
    font-size: 13px;
    color: var(--f7-text-secondary-color, #8e8e93);
    margin-top: 2px;
}

.config-option-description {
    font-size: 14px;
    color: var(--f7-text-secondary-color, #8e8e93);
    margin-top: 4px;
    line-height: 1.4;
}

.option-article-number {
    display: inline-block;
    font-size: 12px;
    color: var(--f7-text-secondary-color, #8e8e93);
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1px 6px;
    border-radius: 4px;
    margin-top: 6px;
    align-self: flex-start;
}

.dark .option-article-number {
    background-color: rgba(255, 255, 255, 0.1);
}

.option-quantity-container {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.option-quantity-stepper {
    width: 120px;
}

/* Fix z-index and pointer events for stepper */
.stepper-container {
    position: relative;
    z-index: 20;
}

.option-quantity-stepper * {
    pointer-events: auto !important;
}

.stepper-button-plus,
.stepper-button-minus,
.stepper-input-wrap {
    cursor: pointer;
    pointer-events: auto !important;
}

/* Make the option group headers nicer */
.config-option-group-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--f7-text-color);
    margin: 24px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.dark .config-option-group-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Disable pointer events on the checkbox to make the entire option clickable */
.config-option-item .item-checkbox {
    pointer-events: auto;
}


/* Critical styles to fix stepper click issue */
.item-content {
    display: flex;
    align-items: flex-start;
}
.option-quantity-container {
    position: relative;
    z-index: 20;
}
.stepper-container {
    position: relative;
    z-index: 20;
}
.option-quantity-stepper * {
    pointer-events: auto !important;
}
.stepper-button-plus,
.stepper-button-minus,
.stepper-input-wrap {
    cursor: pointer;
    pointer-events: auto !important;
}

/* Styles for disabled stepper minus button */
.stepper-button-minus.disabled {
    opacity: 0.5;
    pointer-events: none !important;
    cursor: default;
}

/* Style for compulsory options to indicate they are auto-managed */
.config-option-item[data-is-compulsory="true"] {
    background-color: rgba(240,240,245,0.5);
}
.config-option-item[data-is-compulsory="true"] .config-option-title:after {
    content: " (Auto)";
    font-size: 0.85em;
    color: #666;
    font-style: italic;
}

/* Quote option styles */
.quote-options-container {
    margin-top: 10px;
}
.quote-option {
    margin-bottom: 5px;
    padding-left: 15px;
}
.quote-option-group-header {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #666;
}
.option-price {
    color: #4caf50;
    margin-left: 5px;
    font-weight: 500;
}
.mobile-options-list {
    padding: 10px 0;
}
.mobile-option-type {
    font-weight: bold;
    margin-top: 8px;
    color: #666;
}
.mobile-option-value {
    display: flex;
    justify-content: space-between;
    padding: 3px 0 3px 15px;
}
.mobile-option-price {
    color: #4caf50;
}

/* Quantity badge styling */
.quantity-badge {
    display: inline-block;
    background-color: #007aff;
    color: white;
    font-weight: bold;
    padding: 1px 5px;
    border-radius: 10px;
    font-size: 0.85em;
    margin-right: 5px;
    min-width: 24px;
    text-align: center;
}









/* --------------------------
   MEDIA QUERIES
   -------------------------- */
/* Small mobile devices */
@media (max-width: 380px) {
    .mobile-option-item {
        flex-direction: column;
    }

    .mobile-option-label {
        width: 100%;
        margin-bottom: 4px;
    }

    .mobile-option-price {
        align-self: flex-end;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .hiddenOnMobile {
        display: none !important;
    }

    .toolbar .tab-link .tab-badge {
        top: 4px;
        right: calc(50% - 12px);
    }


    .toolbar .tab-link .tab-badge {
        position: absolute;

        right: 50%;
        margin-right: -30px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        border-radius: 16px;
        padding: 0 4px;
    }
}

/* Desktop devices */
@media (min-width: 768px) {
    .hiddenOnDesktop {
        display: none !important;
    }


    .config-option-details-row {
        display: flex;

    }




    .toolbar .tab-link .tab-badge {
        position: absolute;
        top: 12px !important;
        right: 40%;
        margin-right: -14px;
        font-size: 10px;
        min-width: 16px;
        height: 16px;
        line-height: 16px;
        border-radius: 16px;
        padding: 0 4px;
    }
}



/* Discount Button Styles */
.discount-button {
    position: relative;
}

.discount-value-indicator {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 10px;
    padding: 0 4px;
    border-radius: 20px;
    background-color: #ff3b30;
    color: white;
    font-weight: bold;
    display: none;
}

.discount-button.discount-active .discount-value-indicator {
    display: inline-block;
}






/* Add these styles to the existing CSS */
.discount-badge-tab {
    position: absolute;
    top: 5px;
    right: 3px;
    font-size: 9px;
    background-color: #4caf50;
    color: white;
    border-radius: 10px;
    padding: 1px 4px;
    font-weight: bold;
    display: inline-block;
}

.discount-indicator {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}



.discount-mode-indicator {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: rgba(76, 175, 80, 0.1);
}



/* Discount badge and pricing styles */
.discount-price-container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 30px; /* Make room for the badge */
}


.discount-applied {
    text-decoration: line-through;

    font-size: 0.85em;
    display: block;
}


.discount-final-price {
    font-weight: bold;
    color: #4CAF50;
    display: block;
}

.tabbar .tab-link-active .discount-final-price{
    color: #00ff0a !important;
}


.discount-badge {
    position: absolute;
    top: -8px;
    right: -30px;
    background: #F44336;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Fix for toolbar price display */
.tabbar-label .discount-price-container {
    margin-right: 25px;
}

.tabbar-label .discount-badge {
    top: -10px;
    right: -25px;
}



/* Discount styling in option lists */
.option-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.option-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8em;
}

.option-discount-price {
    color: #4CAF50;
    font-weight: bold;
}




/*BACKEND TERMS STUFF*/


/* Add custom styles for the webshop */
.stat-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-circle i {
    font-size: 28px;
    color: white;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #777;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.upload-area.drag-over {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.hidden {
    display: none;
}

.margin-right {
    margin-right: 10px;
}

.margin-top {
    margin-top: 20px;
}

.margin-bottom {
    margin-bottom: 10px;
}

.margin-vertical {
    margin-top: 20px;
    margin-bottom: 20px;
}

.margin-left {
    margin-left: 8px;
}

.margin-left-half {
    margin-left: 4px;
}

/* Terms Templates Specific Styles */
.terms-tabs {
    margin-top: 15px;
}

.template-item {
    border-bottom: 1px solid #f0f0f0;
}

.template-item:last-child {
    border-bottom: none;
}

.segmented {
    margin-bottom: 0;
}

.terms-template-popup .page-content {
    background-color: #f7f7f8;
}

.terms-template-popup textarea {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
    line-height: 1.4;
}
