

.designer-page-2 {
    display: grid;
    grid-template-areas:
        "header card nav"
        "panel card nav";
    grid-template-columns: 36% minmax(min(300px, 100%), 1fr)56px;
    grid-template-rows: 60px auto;
    width: 100%;
    height: 100%;
 
}

.designer-header-2 {
    grid-area: header;
    overflow: hidden;
    height: 56px;
}

.designer-panel-2 {
    grid-area: panel;
    overflow: hidden;
    position: relative;
    background-color:#ffff;
    border-radius: 16px; 
    overflow-y:auto;
}


.designer-card-2 {
    grid-area: card;
    margin-bottom: 16px;
    height: 100%;
    margin-left: 16px;
}


.designer-card {
    grid-area: info;
    margin-bottom: 16px;
    width: 720px;
    height: 100%;
    margin-left: 16px;
    border-radius: 16px;
}

.designer-navbar {
    grid-area: nav;
    transform: translate(0px, -24px);
}

.designer-panel-btn {
    text-transform: none;
    min-width: 120px;
    height: 40px;
    border-radius: 40px;
    background-color: var(--md-sys-color-surface-1);
}

    .designer-panel-btn.active {
        background-color: var(--md-sys-color-tertiary-container);
        color: var(--md-sys-color-on-tertiary-container);
    }

.designer-panel-content {
    height: 100%;
    visibility: collapse;
}

    .designer-panel-content.active {
        height: 100%;
    }

.designer-tab > .mud-tabs-toolbar {
    visibility: hidden !important;
    height: 0px;
}



.designer-btn-save {
    min-width: 150px !important;
    text-transform: none;
    background-color: var(--mio-theme-color-tertiary-container);
}

.designer-btn-cancel {
    min-width: 150px !important;
    text-transform: none;
    background-color: var(--mio-theme-color-ref-neutral-100);
}



.designer-color-picker {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

    .designer-color-picker::-webkit-color-swatch {
        border: solid;
        border-width:1px;
        border-color:lightgray;
        border-radius: 50%;
    }




.flip-card {
    background-color: transparent;
    width: 360px;
    height: 600px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}


.flip-card-inner-flipped {
    transform: rotateY(180deg);
}

.designer-card-switcher {
}

    .designer-card-switcher > .mud-tabs-toolbar {
        background-color: unset !important;
        display: flex !important;
        justify-content: center !important;
        flex-direction: column !important;
    }

.usergrouplist {
}

    .usergrouplist > .mud-list-subheader-extended {
        background-color: var(--md-sys-color-surface) !important;
    }

.designer-card-2 .hide {
    display: none;
}

.designer-panel-2-hide {
    grid-column: 1/3;
}

.img-preview-logo {
    overflow: hidden;
}

.img-preview-logo-google {
    overflow: hidden;
}


.img-preview-strip {
    overflow: hidden;
}


/*M3 components*/

.side-sheet {
    border-bottom-left-radius: 16px;
    border-top-left-radius: 16px;
    background-color: #ffff !important;
    color: var(--md-sys-color-on-background);
}


.searchbox {
    background-color: unset;
}

.cardusers-container {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(200px, 100%) 70px;
    gap: 0px 0px;
    grid-template-areas:
        "users"
        "controls";
}

.cardusers-users {
    grid-area: users;
}

.cardusers-controls {
    grid-area: controls;
}

.designer-fab {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-surface-variant);
}

    .designer-fab.active {
        background-color: var(--md-sys-color-primary-container);
        color: var(--md-sys-color-on-primary-container);
    }

/*.mud-tab {
    border-radius: 24px;
    min-height: 40px;
}

.mud-tab-active {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}*/



.front-view-container-style {
    border-radius: 9px !important;
    /*display: inline-block !important;*/
    overflow-y: auto;
    overflow-x: hidden;
}

.card-strip-image-style {
    border-radius: 0px !important;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center center;
}

.card-barcode-google {
    width: 176.84px;
    height:176.84px;
}

.card-barcode-apple {
    width: 120px;
    height: 120px;
}



@media(min-width: 960px) {
    .front-view-container-style {
        width: 292px;
        height:452.28px;
    }
    .img-preview-strip-apple {
        width: 100%;
        height: 104.28px;
    }
    .img-preview-strip-google {
        height: 152.24px;
    }


}

@media(min-width: 1280px) {
    .front-view-container-style {
        width: 346px;
        height: 547px;
    }

    .img-preview-strip-apple {
        width: 100%;
        height: 123px;
    }
    .img-preview-strip-google {
        height: 152.24px;
    }

    .card-barcode-google {
        width: 176.84px;
        height: 176.84px;
    }

    .card-barcode-apple {
        width: 120px;
        height: 120px;
    }
}

@media(min-width: 1920px) {
    .front-view-container-style {
        width: 457px;
        height: 722.52px;
    }
    .img-preview-strip-apple {
        width: 100%;
        height: 163.21px;
    }
    .img-preview-strip-google {
        width: 100% !important;
        height: 152.24px !important;
    }

    .card-barcode-google {
        width: 220px;
        height: 220px;
    }

    .card-barcode-apple {
        width: 200px;
        height: 200px;
    }

}

@media(min-width: 2560px) {
    .front-view-container-style {
        width: 516px;
        height: 860px;
    }

    .img-preview-strip-apple {
        width: 100% !important;
        height: 184.28px !important;
    }

    .img-preview-strip-google {
        width: 100% !important;
        height: 152.24px !important;
    }

    .card-barcode-google {
        width: 250px;
        height:250px;
    }

    .card-barcode-apple {
        width: 200px;
        height: 200px;
    }
}

.m3-tabs-indicator {
    position: absolute;
    box-sizing: border-box;
    z-index: -1;
    transform-origin: bottom left;
    background: #0C57D0;
    border-radius: var(--_active-indicator-shape,3 3 0 0);
    height: var(--_active-indicator-height,3px);
    inset: auto 0 0 0;
    opacity: 0;
}

.mud-tab{
    max-height:64px;
    text-transform:none;

}

    .mud-tab.mud-tab-active {
        color: #0C57D0;
    }


    .mud-tab.mud-tab-active > .content > .m3-tabs-indicator {
        opacity: 1;
        color: #0C57D0;
    }

    .content {
        position: relative;
        box-sizing: border-box;
        display: inline-flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        height: 48px;
        gap: 8px;
    }

    .content,.stacked {
        flex-direction: column;
        gap: 2px;
        height:64px
    }

.mud-tab-slider.mud-tab-slider-horizontal {
    height: 3px;
}

.tabs-m3 {
    --md-primary-tab-container-color: none;
}

.filter-chip-content{
    min-width:35px;
}