/*
 * Copyright (c) 2025.
 * Author: Stefano Cupioli
 * Company: Seken Srl - www.seken.it
 */
.cadenas-btn-3d:disabled {
    opacity: 0.7;
}

.configurator-3d-popup-hide {
    display: none;
}

.configurator-3d-popup-show {
    display: block;
}

.psol-comp-viewbase-svgcontainer {
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

.configurator-3d-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
}

.configurator-3d-body {
    width: 60%;
    height: 70%;
    min-height: 469px;
    position: relative;
    margin: 30px auto;
    display: block;
    background-color: #DDDDDD;
}

.configurator-3d-preview-area, .configurator-3d-actions-area, div[id^="viewer-"] {
    height: 100%;
    width: 100%;
}

.configurator-3d-preview-area {
    float: left;
    width: 55%;
}

#product-grouped-items .item-grouped .cadenas-btn-3d {
    padding: 5px !important;
    height: 30px;
    border:none !important;
    background-color: #272D33 !important;
    width: 30px;
    border-radius: 100% ! IMPORTANT;
    margin: 0;
}
#product-grouped-items .item-grouped .cadenas-btn-3d:hover {
    background-color: #666 !important;
}

#product-grouped-items .item-grouped .cadenas-btn-3d span {
    display: none;
}

div[class^="configurator-3d-popup-title-"] {
    font-weight: bold;
}

div[class^="configurator-3d-close-popup-"] {
    content: '';
    background: url("../images/close.svg") no-repeat left center;
    background-size: 100%;
    margin: 0.35rem;
    display: block;
    height: 40px;
    width: 40px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100000;
}

.configurator-3d-actions-area {
    flex: 3 2 auto;
    background-color: #FFFFFF;
    padding: 60px 30px;
}
.configurator-3d-actions-area div:first-child {
    margin-bottom: 1rem;
}

.configurator-3d-actions-area div {
    margin-bottom: 16px;
}

div[class^="configurator-3d-popup-action-pdf-"] form {
    display: flex;
}

.configurator-3d-popup-action-pdf-download {
    background-color: #ECECEC;
    border-radius: 32px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

.configurator-3d-popup-action-pdf-title {
    color: #fe5000;
    font-weight: bold;
}

div[class^="configurator-3d-title-top-"] {
    background-color: #fff;
    padding: 16px 190px 16px 16px;
    font-weight: bold;
    width: 100%;
    text-align: left;
}

@media (max-width: 799px) {
    .configurator-3d-body {
        height: 91%;
        width: 100%;
        margin: 0 auto;
    }

    div[class^="configurator-3d-close-popup-"] {
        right: 7px;
    }
}

@media (min-width: 800px) and (max-width: 1169px) {
    .configurator-3d-body {
        width: 80%;
        height: 80%;
    }
}

.configurator-3d-stop-scroll {
    overflow: hidden;
}

.cadenas-integration-error {
    width: 100%;
    text-align: center;
    padding: 50px 20px;
    font-weight: bold;
}

div[id^="configurator-3d-file-formats-download-view-"] {
}

.ci-action-download-view-open {
    display: block !important;
}

div[class^="configurator-3d-popup-action-"] {
}

.ci-email-div label,
.configurator-3d-other-forats-label,
.configurator-3d-other-forats-label label {
    color: #fe5000;
    font-weight: bold;
    margin-bottom: 1rem;
}

button.configurator-3d-download-button {
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 8px;
}

div.configurator-3d-file-formats-download-popup {
    background-color: #ffffff;
    font-size: 14px;
    text-align: left;
    width: 100%;
}

.ci-file-format-submit-btn {
    width: 100%;
    padding: 8px 16px;
    background-color: #fe5000;
    border-radius: 18px;
    margin-top: 8px;
    text-transform: uppercase;
}

.ci-file-format-submit-btn span {
    width: 100%;
}

select.configurator-3d-file-formats-list {
    width: 100%;
    border-color: #ccc;
    border-width: 1px;
    border-style: solid;
}

select.configurator-3d-file-formats-list optgroup {
    padding: 0 !important;
    background-color: #ececec;
    font-weight: bold;
}

select.configurator-3d-file-formats-list option {
    padding: 0.5rem !important;
    background-color: #ffffff;
    font-weight: normal;
    font-size: 14px;
    clear: both;
}

select.configurator-3d-file-formats-list option:checked {
    background-color: rgb(254, 80, 0) !important;
    color: #ffffff !important;
}

.configurator-3d-actions-area {
    background-color: #FFFFFF;
    padding: 1.5rem;
    width: 45%;
    float: right;
    text-align: left;
    max-height: 100%;
    overflow-y: scroll;
}

.configurator-3d-actions-area > div:first-child {
    margin-bottom: 2rem;
}

.configurator-3d-actions-area > div {
    margin-bottom: 0.5rem;
}

button.configurator-3d-popup-action-pdf-download:before {
    content: '';
    background: url("../images/pdf-file.svg") no-repeat left center;
    background-size: 100%;
    margin-right: 0.5rem;
    display: inline-flex;
    height: 24px;
    width: 19px;
}

.ci-download-loading {
    content: '';
    background: url("../images/loader.gif") no-repeat left center;
    background-size: 100%;
    margin-right: 0.5rem;
    display: inline-flex;
    height: 40px;
    width: 40px;
}

.ci-fieldset-download-hidden {
    display: none;
}

.ci-invite-to-signin {
    width: 120px;
}

.ci-button-disabled {
    opacity: 0.5;
}

.product-title-sku {
    color: #fe5000;
}

.configurator-3d-file-formats-download-popup {
    min-width: 149px;
}

@media (max-width: 525px) {
    .configurator-3d-actions-area, .configurator-3d-preview-area {
        width: 100%;
        float: none;
    }

    .configurator-3d-popup {
        height: 100%;
    }

    .configurator-3d-body {
        overflow: scroll;
    }

    .configurator-3d-file-formats-download-popup {
        padding: 0;
        right: unset;
    }

    .configurator-3d-actions-area {
        max-height: 396px !important;
        height: 396px !important;
    }

    .configurator-3d-preview-area {
        height: 700px !important;
        max-height: 700px !important;
        width: 95%;
    }

    div[class^="configurator-3d-close-popup-"] {
        position: fixed;
    }

    .configurator-3d-body {
        height: 100%;
        background-color: #ffffff;
    }
}

.sticky-right input.ci-customer-email,
.ci-customer-email {
    width: 100% !important;
    max-width: 100% !important;
}

.ci_multiple_select {
    min-height: 135px;
    max-height: 135px;
}

.cadenas-integration-download-error {
    color: #ff0000;
    font-weight: bold;
    text-align: center;
}

.cadenas-integration-download-green {
    color: #079a09;
    font-weight: bold;
    text-align: center;
}

.cadenas-integration-download-info {
    color: #FC5003;
    text-align: center;
}

.ci-privacy-div {
    text-align: left;
    display: flex;
}

.info-privacy-link {
    text-decoration: underline;
}

.ci-email-div,
.ci-privacy-div {
    margin-top: 16px;
    margin-bottom: 16px;
}

.ci-privacy-div input,
.ci-privacy-div label {
    margin-left: 8px;
    float: left;
    cursor: pointer;
}

.cadenas-integration-download-success {
    margin-top: 16px;
    text-align: left;
    padding: 8px;
}

.ci-download-success-message-title {
    color: #FC5003;
    font-weight: bold;
}

.ci-fieldset-download-is-hidden {
    display: none;
}

.configurator-3d-actions-area div.ci-download-recaptcha-policy {
    position: absolute;
    bottom: -50px;
    width: 100%;
    max-width: 40%;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
}

.ci-download-recaptcha-policy a {
    text-decoration: underline;
}

.seken-cadenas-remove-overflow {
    overflow: visible !important;
}