.quoteIframe {
    height: 100vh;
    width: 100%;
}

.buyProperties .productImage {
    max-width: 100%;
    width: 150px;
    height: auto;
}

[v-cloak] {
    display: none;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #000;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#renderShopPageContainer iframe:not(.quoteIframe) {
    display: none;
}

.tempDeactivated {
    filter: blur(2px);
}

.disabled-button {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.CustomCountertopOrders {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .CustomCountertopOrders th {
        padding: 10px;
        line-height: 1;
    }


.counterTopDesc {
    flex: none;
    width: 100%;
    /*margin-top: 10px;
    margin-bottom: 10px;*/
}

    .counterTopDesc > .CustomCountertopOrders {
        display: flex;
        flex-direction: column;
        gap: 10px
    }

        .counterTopDesc > .CustomCountertopOrders > table {
            border-radius: 3px;
            overflow: hidden;
            border: 1px solid rgba(0,0,0,.1);
            border-bottom: none
        }

            .counterTopDesc > .CustomCountertopOrders > table th {
                padding: 10px;
                line-height: 1
            }

            .counterTopDesc > .CustomCountertopOrders > table td {
                padding: 10px
            }

            .counterTopDesc > .CustomCountertopOrders > table tr td {
                border-bottom: 1px solid rgba(0,0,0,.1)
            }

/* pagination */
/* Pagination styling */
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin-top: 1rem; /* Add some space above pagination */
}

.page-item:first-child .page-link {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #3b7ddd;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

    .page-link:hover {
        z-index: 2;
        color: #0056b3;
        text-decoration: none;
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #3b7ddd;
    border-color: #3b7ddd;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.createOrUpdateWrapper {
    z-index: 9999;
}

.customerView {
    margin: auto;
    max-width: 1200px;
}

div.row.countertop-row > .col:not(.btnContainer) {
    visibility: hidden;
    height: 15px;
}

.customerView div.row.countertop-row > .col:not(.btnContainer) {
    visibility: initial;
    height: initial;
    display: none;
}

.countertop-row .col .btn {
    visibility: initial;
}

.fileContainer .dropzone {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.fileContainer > div {
    flex-grow: 1;
    flex-basis: 0;
}

.fileContainer .dropzone.dragover {
    border-color: #007bff;
    background-color: #e9ecef;
}

.fileContainer .dropzone ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.fileContainer .dropzone li {
    margin: 5px 0;
}

.fileContainer .file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    display: inline-block;
}

#quoteList .statusWarning {
    background-color: #f8d7da;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.rowHeader {
    font-weight: bold;
    background-color: rgb(236, 236, 236);
    text-align: left;
    padding: 10px;
    line-height: 1;
    border: 0 solid;
    border-color: inherit;
}

.imitateTable {
    padding: 0px 10px;
}

    .imitateTable > .row {
        padding: 10px 0px;
    }

.rowWrapper > .row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 5px 0; /* Keeps a small margin between the visual "hr" units */
    padding-top: 10px; /* Adds space above and below the border */
    padding-bottom: 10px;
}

#selectContainer textarea[name=quoteNote] {
    min-height: 230px;
}

.contactWrapper {
    width: 200px;
    max-width: 100%;
}

#usersApp select.assignedSites, #translationsApp textarea {
    height: 250px;
}

.sortableRow {
    cursor: grab;
}

#offerOverviewContainer .counterTopTexture {
    width: 90px;
    height: 90px;
}




.tooltip {
    position: absolute;
    z-index: var(--bs-tooltip-zindex, 1080); /* Default z-index for tooltips */
    display: block; /* Hidden by default, made block by JS */
    margin: var(--bs-tooltip-margin, 0);
    padding: var(--bs-tooltip-padding-y, 0.25rem) var(--bs-tooltip-padding-x, 0.5rem);
    font-family: var(--bs-tooltip-font-family, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-size: var(--bs-tooltip-font-size, 0.875rem);
    color: var(--bs-tooltip-color, var(--bs-white)); /* Text color */
    text-align: center;
    pointer-events: none; /* Allows clicks to pass through to element behind it */
    word-wrap: break-word; /* Allows long words to break */
    opacity: 0;
    transition: opacity 0.15s ease-in-out; /* Fade transition */
}

/* Tooltip Inner Content */
.tooltip-inner {
    background-color: var(--bs-tooltip-bg, var(--bs-dark)); /* Background color */
    border-radius: var(--bs-tooltip-border-radius, 0.25rem);
    padding: inherit; /* Inherit padding from .tooltip */
}

/* Tooltip Arrow */
.tooltip .tooltip-arrow {
    position: absolute;
    display: block;
    width: var(--bs-tooltip-arrow-width, 0.8rem);
    height: var(--bs-tooltip-arrow-height, 0.4rem);
}

    .tooltip .tooltip-arrow::before {
        position: absolute;
        content: "";
        border-color: transparent;
        border-style: solid;
    }

/* Placement Specifics for Arrow */

/* Top */
.tooltip.bs-tooltip-top .tooltip-arrow {
    bottom: 0;
}

    .tooltip.bs-tooltip-top .tooltip-arrow::before {
        top: -1px; /* Adjust for border overlap */
        border-width: var(--bs-tooltip-arrow-height, 0.4rem) calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) 0;
        border-top-color: var(--bs-tooltip-arrow-color, var(--bs-dark));
    }

/* Bottom */
.tooltip.bs-tooltip-bottom .tooltip-arrow {
    top: 0;
}

    .tooltip.bs-tooltip-bottom .tooltip-arrow::before {
        bottom: -1px; /* Adjust for border overlap */
        border-width: 0 calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) var(--bs-tooltip-arrow-height, 0.4rem);
        border-bottom-color: var(--bs-tooltip-arrow-color, var(--bs-dark));
    }

/* Left */
.tooltip.bs-tooltip-start .tooltip-arrow {
    right: 0;
}

    .tooltip.bs-tooltip-start .tooltip-arrow::before {
        right: -1px; /* Adjust for border overlap */
        border-width: calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) 0 calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) var(--bs-tooltip-arrow-height, 0.4rem);
        border-left-color: var(--bs-tooltip-arrow-color, var(--bs-dark));
    }

/* Right */
.tooltip.bs-tooltip-end .tooltip-arrow {
    left: 0;
}

    .tooltip.bs-tooltip-end .tooltip-arrow::before {
        left: -1px; /* Adjust for border overlap */
        border-width: calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) var(--bs-tooltip-arrow-height, 0.4rem) calc(var(--bs-tooltip-arrow-width, 0.8rem) / 2) 0;
        border-right-color: var(--bs-tooltip-arrow-color, var(--bs-dark));
    }

/* Show state */
.tooltip.show {
    opacity: var(--bs-tooltip-opacity, 0.9);
}

/* Max-width for tooltip content */
.tooltip .tooltip-inner {
    max-width: var(--bs-tooltip-max-width, 200px); /* Default max-width */
}

.sortable-ghost {
    opacity: 0.5;
    background: #c8ebfb;
}

#offerOverviewContainer .old-value-red, #offerOverviewContainer .new-line-indicator {
    display: none;
}

#offerOverviewContainer .changed-value .old-value-red {
    display: inline-block;
    color: red;
    text-decoration: line-through;
    margin-left: 5px;
}

#offerOverviewContainer .changed-value .new-line-indicator {
    display: inline-block;
    color: red;
    margin-left: 5px;
}

.ctable span.supplierContainer {
    overflow: unset !important;
}

#quoteList .custom-multiselect:focus .dropdown-list {
    display: block;
}

#quoteList .dropdown-list {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
}

#quoteList .selected-value {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 8px;
    background: #fff;
    cursor: pointer;
    min-height: 32px;
    display: flex;
    align-items: center;
}

#quoteList .dropdown-list > div {
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#quoteList .custom-multiselect {
    position: relative;
    min-width: 120px;
}
