@import "https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap";
@import './utilities/global.css';
@import './utilities/layout.css';
@import './components/button.css';
@import './components/icon-wrap.css';
@import './components/fields.css';
@import './components/submitButton.css';
@import './components/panelButton.css';
@import './components/tab-switch.css';
@import './components/option.css';
@import './components/layer.css';
@import './components/login.css';
@import './components/scheme-info.css';

.v-panel{
    position: fixed;
    bottom: 0;
    z-index: 3;
}
.v-panel-top{
    width: 100vw;
    height: 40px;
    display: flex;
    align-items: end;
    justify-content: center;
}
.v-panel-options {
    content: url("https://builder.ule360.com/admin_assets/css/middle-seg.svg");
    position: absolute;
    margin-bottom: -9px;
    pointer-events: none;
}
.v-panel-actions {
    height: 50px;
    width: 100vw;
    bottom: 0;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
}
.v-panel-section {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;    
    height: 100px;
    width: 100vw;
    outline: 0.8px solid #9B9B9B;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(12px);
    padding: 0 1rem;
}

.left-side-actions{
    position: fixed;
    left: 10px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.right-side-actions {
    position: fixed;
    right: 10px;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.chevron-left-option {
    left: 0;
    border: none;
    display: inline-flex;
    padding: 10px;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
}

.chevron-right-option {
    right: 0;
    border: none;
    display: inline-flex;
    padding: 10px;
    align-items: center;
    gap: 5px;
    border-radius: 10px;
}

.chevron-left-option, .chevron-right-option {
    position: absolute;
    background-color: #7e7e7e;
    color: white;
}

.chevron-left-option:hover, .chevron-right-option:hover {
    background-color: #6e6e6e;
}

.layer-search {
    display: flex;
    width: 208px;
    padding: 5px 5px 5px 12px;
    justify-content: space-between;
    align-items: center;
    border-radius: 7.667px;
    background: #5E5E5E;
    outline: 1px solid #919eb2;
    color: #F1F5F9;
    margin-bottom: 10px;
    & > input {
        width: 100%;
        border: none;
        background: none;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        color: #F1F5F9;
        &::placeholder {
            color: #c9c9c9;
        }
    }
}

.layer-search:has(input:focus) {
    outline: 2px solid #919eb2;;
}

.left-panel-section, .right-panel-section, .middle-panel-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 0.5rem;
}

.left-panel-section, .right-panel-section {
    min-width: 20%;
    width: 15%;
}
.middle-panel-section {
    min-width: 600px;
    width: 600px;
}

.right-panel-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}


.add-btn{
    display: flex;
    padding: 10px 20px;
    align-items: center;
    gap: 10px;
    border-radius: 6.225px;
    background: #5E5E5E;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.add-btn:hover::before {
    animation: shine 1.5s ease-out;
}

.add-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

.layer-img{
    transition: all 0.2s ease-out;
}

.layer-img:first-child {
    margin-left: 0.5rem;
}

.layer-img:last-child {
    margin-right: 0.5rem;
}

.layer-list-items {
    overflow-y: hidden;
}

/* ul:hover {
    overflow-x: visible;
} */

.layer-img:hover {
    transform: scale(1.2);
    transition: all 0.1s ease-out;
}

.layer-img:hover + .layer-img {
    transform: scale(1.1);
    transition: all 0.2s ease-out;
}

.layer-img:has(+ .layer-img:hover) {
    transform: scale(1.1);
    transition: all 0.2s ease-out;
}


.img-layer {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    border: 0.5px solid #777;
}

.add_layer_button_list {
    z-index: 3;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 5px;
    bottom: 100px;
    right: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(12px);
}

.active_layer_details {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 4;
    display: inline-flex;
    padding: 20px;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(12px);
}

.active_layer_details .layer_show {
    width: 70px;
    height: 70px;
    border: 1px solid #fff;
    margin-right: 10px;
    border-radius: 5px
}

.active_layer_details .layer_show .innerViewTag {
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
}

.active_layer_details .layer_info {
    color: #fff;
}

.add_layer_button_header {
    border-radius: 12px 12px 0px 0px;
    background: #1E1E1E;
    color: #fff;
    backdrop-filter: blur(21px);
    justify-content: space-between;
    display: flex;
    padding: 16px;
}







main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}
.hero {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
/* #canvas-hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
} */

.list-inline-item:not(:last-child) {
    margin-right: 0;
}

/* Full-height background image */
.background-image {
    /* background-image: url('{{ $visualizer_background }}'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Foreground image container */
/* .foreground-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    /* margin-bottom: 100px; */
    /* transition: transform 0.2s ease, zoom 0.2s ease; */
    /* Smooth zoom effect */
    /* max-width: 100%; */
    /* max-height: 100vh; */
    /* margin-bottom: 100px; */
    /* padding: 0px 0px 100px 0px; */
/* } */ 

.canvas-container-outer {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease, zoom 0.2s ease;
}

/* #tempcanvas {
    transition: transform 0.2s ease, zoom 0.2s ease;
} */

.add_layer_button_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.icon_button {
    font-size: 17px;
    cursor: pointer;
}

.add-to-color-scheme-btn {
    position: relative;
    border: none;
    border-radius: 6.3px;
    background: #3891F2;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    min-width: 210px;
    overflow: hidden;
}

.add-to-color-scheme-btn:hover {
    background: #2d81db;
}

.add-to-color-scheme-btn:hover::before {
    animation: shine 1.5s ease-out;
}

.layer_show div {
    height: 68px;
    width: 68px;
    border-radius: 5px;
    background-repeat:no-repeat;
    background-size: auto 68px;
    background-position: center;
}

.add-to-color-scheme-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

.layer-overlay {
    background: linear-gradient(0deg, #0000005e, transparent);
    width: 100%;
    height: 100%;
    /* display: inline-flex; */
    display: block;
    border-radius: 4px;
}

#form_submit_overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(182, 182, 182, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: block;
    z-index: 9999; 
}

#form_submit_overlay .submit_spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    z-index: 9999; 
}

#dark_loader_overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: block;
    z-index: 9999; 
}

#dark_loader_overlay .submit_spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    z-index: 9999; 
}

.submit_spinner p {
    color: #ffffff;
    margin-right: 20px;
}
.smooth_transaction {
    transition: all 0.3s ease-in-out;
}




main {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
}
.hero {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
/* #canvas-hero {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
} */


.list-inline-item:not(:last-child) {
    margin-right: 0;
}

.canvas-container-outer {
    width: 100%;
    height: auto;
    transition: transform 0.2s ease, zoom 0.2s ease;
}

.add_layer_button_body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.icon_button {
    font-size: 17px;
    cursor: pointer;
}

.add-to-color-scheme-btn {
    position: relative;
    border: none;
    border-radius: 6.3px;
    background: #3891F2;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    min-width: 210px;
    overflow: hidden;
}

.add-to-color-scheme-btn:hover {
    background: #2d81db;
}

.add-to-color-scheme-btn:hover::before {
    animation: shine 1.5s ease-out;
}

.layer_show div {
    height: 68px;
    width: 68px;
    border-radius: 5px;
    background-repeat:no-repeat;
    background-size: auto 53px;
    background-position: center;
}

.add-to-color-scheme-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

@media (width <= 1750px) {
    .v-panel-options {
        content: url("https://builder.ule360.com/admin_assets/css/middle-seg-lap.svg");
        position: absolute;
    }
    .v-panel-actions {
        height: 42px;
    }
    .option-list {
        font-size: 0.8rem;
        min-width: 425px;
        margin-bottom: 0.2rem;
        width: 425px;
        & li {
            font-size: 12px;
        }
    }
    .scheme-item {
        font-size: 0.8rem;
        /* min-width: 425px;
        width: 425px; */
        /* margin-bottom: 0.5rem; */
        & li {
            font-size: 12px;
        }
    }
    .option-list-items {
        padding-left: 0;
        margin-left: 0;
        overflow-x: scroll;
        max-width: 350px;
        gap: 0.5rem;
        justify-content: start;
        padding-bottom: 3px;
    }

    .scheme-list-items {
        padding-left: 0;
        margin-left: 0;
        width: 425px;
        overflow-x: scroll;
        max-width: 350px;
        gap: 0.5rem;
        justify-content: start;
        padding-bottom: 3px;
    }

    .chevron-left-option, .chevron-right-option {
        padding: 8px;
    }
    .panel-buttons, .panel-button-2, .tab-btn-cover, .submit-button {
        transform: scale(0.8);
    }
    .left-panel-section, .right-panel-section, .middle-panel-section {
        transform: scale(0.8);
    }
}

/* hide manage zoom mobile buttons */
.panel-buttons-mobile .focus-in,
.panel-buttons-mobile .focus-out,
.panel-buttons-mobile .focus-reset{
    display: none;
}

@media ( width <= 1113px ) {
    .v-panel-options {
        content: url("https://builder.ule360.com/admin_assets/css/middle-seg-lap.svg");
        position: absolute;
        margin-bottom: -6px;
        width: 70%;
    }
    .panel-buttons{
        display: none;
    }
    .panel-buttons-mobile {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 99;
        display: flex;
        gap: 10px;
        scale: 0.8;
    }
    .option-list {
        margin-bottom: 0;
    }
    .v-panel-actions {
        height: 30px;
    }
    .middle-panel-section, .left-panel-section, .right-panel-section{
        scale: 0.7;
        min-width: 19%;
    }
    .v-panel-section{
        height: 70px;
    }
    .right-side-actions {
        scale: 0.7;
    }
    .left-side-actions {
        scale: 0.7;
    }
    .layer-img {
        min-width: 65px;
        min-height: 65px;
        width: 65px;
        height: 65px;
        background-repeat:no-repeat;
        background-size: auto 65px;
        background-position: center;
    }
    
    .chevron-left-layer, .chevron-right-layer {
        height: 100%;
        padding: 0.6rem;
    }

    .left-side-actions {
        gap: 0rem;
    }
    
    .chevron-left-option {
        left: 2.3rem;
    }
    .chevron-right-option {
        right: 2.3rem;
    }
    .add_layer_button_list {
        scale: .6;
        right: -31px;
        bottom: 35px;
    }
    .active_layer_details {
        scale: .6;
        left: -1.8rem;
        top: 2rem;
    }

    .modal-dialog {
        display: contents;
        width: 100%;
    }


    

    /* // shafi // */
    .layer-img.active::before {
        width: 65px;
        height: 65px;
    }

    .active_layer_details .layer_show {
        width: 55px;
        height: 55px;
    }
    .layer_show div {
        height: 53px;
        width: 53px;
        background-repeat:no-repeat;
        background-size: auto 53px;
        background-position: center;
    }
    .layer_info p{
        font-size: 12px;
    }

    .chevron-left-option {
        padding: 6px;
    }
    .chevron-right-option {
        padding: 6px;
    }

    .option-list-items {
        padding-bottom: 4px;
    }

    .option-list {
        & li {
            padding: 3px 10px;

        }
    }

    .left-panel-profile, .scheme-info-panel {
        top: 3.2rem;
        width: 190px;
    }
    .scheme-info-panel-header {
        gap: 0.2rem;
    }

    .scheme-panel-title {
        padding: 4px 10px;
        font-size: 11px;
    }
    .scheme-panel-close {
        padding: 8px;
    }
    .scheme-info-panel-body h5 {
        font-size: 11px;
        margin-bottom: 2px !important;
    }
    .gap-2 {
        gap: .3rem !important;
    }
    .scheme-info-panel .layer-image div {
        width: 40px;
        height: 38px;

    }
    .scheme-info-panel .layer-image {
        width: 40px;
        height: 38px;

    }
    .scheme-info-panel .layer-info {
        font-size: 9px;
    }

    .scheme-info-panel-body {
        padding: 10px;
        gap: 0.3rem;
        max-height: 225px;
    }

    .left-panel-profile, .scheme-info-panel {
        gap: 0.2rem;
        scale: 0.7;
        left: -6px;
    }

     .scheme-info-panel {
        top: 13px;
    }

    .scheme-info-panel-header {
        margin-left: 1px;
    }
    .submit-button {
        height: 33px;
    }

    .v-panel-top {
        height: 30px;
    }


    #add-scheme-model .modal-content {
        scale: 0.8;
    }

    /* show manage zoom buttons */
    .panel-buttons-mobile .focus-in,
    .panel-buttons-mobile .focus-out,
    .panel-buttons-mobile .focus-reset{
        display: block;
    }

}
.d-none{
    transition: opacity 0.5s ease;
}

.tooltip-inner {
    background-color:rgb(20, 20, 20) !important;
    color: white !important;
    font-size: 12px;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #000 !important;
}

.device-orientation-modal.show{    
    z-index: 99999;
    background-color: rgba(0, 0, 0);
    padding: 200px 20px 0px 20px;
    text-align: center;
}


@media ( width <= 932px ) {
    .sendInquiry{
        margin-right: -30px;
    }
    
    .scheme-info-panel-body {
        max-height: 210px;
    }
    .foreground-image-container {
        width: 62%;
        margin-bottom: 85px;
    }
    .v-panel-section {
        height: 60px;
    }
    #add-scheme-model{
        padding: 15px 220px 0px 220px;
    }
    .profile-log {
        padding: 5px 5px;
        width: 12rem;
    }
    .viz-profile-image {
        padding: 3px;
    }
    .left-panel-profile h5{
        font-size: 12px;
    }
    .left-panel-profile a.dropdown-toggle i {
        padding: 2px;
        padding-inline: 3px !important;
    }
    .left-panel-profile .log-out-toggle {
        padding: 5px 5px;
        font-size: 12px;
    }


}


#canvasContainer {
    position: relative;
    width: 5000px;
    height: 1688px;
    display: contents;
}

/* #placeholderImage {
    position: absolute;
    width: 100%;
    z-index: 0;
    object-fit: contain;
} */

/* #tempcanvas {
    position: relative;
    z-index: 1;
} */

table.table-bordered.dataTable thead tr:first-child th, table.table-bordered.dataTable thead tr:first-child td{
    font-size: .9375rem;
}

table.dataTable tbody tr.even td, table.dataTable tbody tr.odd td {
    font-size: .9375rem;
}

table.dataTable tbody {
    height: 600px;
    overflow-y: auto;
    display: block;
}

table.dataTable thead,
table.dataTable tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
tbody, td, tfoot, th, thead, tr{
    border-bottom: solid var(--ct-gray-100);
}

.custom-tooltip {
    /* Your tooltip styling here */
    position: absolute; /* Very important */
    background: #333;
    color: white;
    padding: 5px;
    border-radius: 3px;
    z-index: 1000;
}


.layer-img {
    position: relative; /* Needed for absolute positioning of the button */
}

.optionLayer-button {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    z-index: 2;
    background-color: rgb(255 255 255 / 70%);
    padding: 0px 1px;
    border-radius: 3px 5px 3px 3px;
    color: #a1a1a1;
}

.layer-img:hover .optionLayer-button {
    color: #ffffff;
    background-color: #5a5a5a;    
    box-shadow: 0 0 0 1px #b9b8b8;
}

.optionLayer-button.active {
    box-shadow: 0 0 0 1px #5a5a5a; 
}

.optionLayerInfo-button{
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    z-index: 2;
    background-color: rgb(255 255 255 / 70%);
    padding: 0px 3px;
    border-radius: 3px 5px 3px 3px;
    color: #a1a1a1;
}

.layer-img:hover .optionLayerInfo-button {
    color: #ffffff;
    background-color: #5a5a5a;    
    box-shadow: 0 0 0 1px #b9b8b8;
}
.optionLayerInfo-button.active {
    box-shadow: 0 0 0 1px #5a5a5a; 
}

.optionLayer-container {
position: absolute;
top: 25px; /* Adjust as needed */
left: 50%;
transform: translateX(-50%);
background-color: rgba(255, 255, 255, 0.9);
padding: 4px 0px;
border-radius: 5px;
z-index: 3;
display: none; /* Initially hidden */
}

.optionLayer-container i {
    cursor: pointer;
    padding: 7px 7px 9px 7px;
    transition: font-size 0.2s ease-in-out;
}

.optionLayer-container i:hover {
    background-color: #999999;
}

.optionLayer-delete{
    background-color: #606060;
    color: #ffffff;
    border-radius: 5px 0px 0px 5px;
}

.optionLayer-edit{
    background-color: #606060;
    color: #ffffff;
    border-radius: 0px 5px 5px 0px;
}

.optionLayer-container.show {
display: block; /* Show when the class is added */
}

/* Optional: Style for the overlay */
.layer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Adjust transparency */
    z-index: 1;
}

tr.bulk_uplod_popup_table td, tr.bulk_uplod_popup_table th {
    color: #4f4f4f !important;
}

#canvas-hero {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: flex-start;
    overflow: hidden;
    top: 0;
    height: 100%;
}

.foreground-image-container {
    position: relative;
    z-index: 2;
    width: auto; 
    height: 100%; 
    transition: transform 0.2s ease, zoom 0.2s ease; 
    max-width: none;
    max-height: none;
}

#canvasContainer {
    position: relative;
    width: 100%;  /*Important, set to 100% to scale to container*/
    height: 100%;  /*Important, set to 100% to scale to container*/
    display: block; /* change from contents to block*/
}

#placeholderImage {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); 
    height: 100%;
    width: auto; 
    z-index: 0;
    object-fit: contain;
}

#tempcanvas {
    position: absolute;
    top: 0;
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Correctly center horizontally */
    width: auto;
    height: 100%; /* Make the canvas fill the height */
    z-index: 1;
    transition: transform 0.2s ease, zoom 0.2s ease;
}

/* /on page scc/ */
.page-link{
    color: #ffffff;
}

.dataTables_scrollBody{
    overflow: hidden !important;
}
.dataTables_scrollBody thead {
    display: none !important;
}

.dataTables_paginate .paginate_button{
    margin-right: 4px;
}

.layer-pattern-resize{
    position: absolute;
    z-index: 999;
    top: 115px;
    background: rgba(0, 0, 0, 0.70);
    border-radius: 10px;
    padding: 5px 13px;
    left: 1px;
}
.layer-title{
    color: #ffffff;
    font-size: 10px;
    padding: 2px 0px 4px 4px;
    max-width: 75px;
    width: 70px;
    margin: 0px 0px -2px 0px;
    border-radius: 0px 0px 5px 5px;
    line-height: 1.2em;
    max-height: calc(1.3em * 2);
    height: calc(0.9em * 2);
    /* display: -webkit-box; */
    display: block;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    bottom: 0px;
    position: absolute;
    background-color: #0000009e;
    text-overflow: ellipsis;
    /* border: 2px solid #514e3d; */
    text-wrap: nowrap;
}

@media screen and (width: 1024px) and (height: 768px) {
    .add_layer_button_list {
        bottom: 50px !important;
    }
}
