@import '_content/SaleenBlazorLibrary/SaleenBlazorLibrary.02utm402m9.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-7vh3udz0pp] {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.sidebar-wrapper[b-7vh3udz0pp] {
    width: 150px;
    flex-shrink: 0;
    /* Optional: Ensure it doesn't get squashed or hidden */
    display: block; 
}

main[b-7vh3udz0pp] {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.sidebar[b-7vh3udz0pp] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-7vh3udz0pp] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-7vh3udz0pp]  a, .top-row[b-7vh3udz0pp]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-7vh3udz0pp]  a:hover, .top-row[b-7vh3udz0pp]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-7vh3udz0pp]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .page[b-7vh3udz0pp] {
        flex-direction: column;
    }
    
    .top-row[b-7vh3udz0pp] {
        justify-content: space-between;
    }

    .top-row[b-7vh3udz0pp]  a, .top-row[b-7vh3udz0pp]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    /* .page {
        flex-direction: row; 
    } Already set globally but kept for reference if needed override */

    .sidebar[b-7vh3udz0pp] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-7vh3udz0pp] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-7vh3udz0pp]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-7vh3udz0pp], article[b-7vh3udz0pp] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-7vh3udz0pp] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-7vh3udz0pp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Pages/ProductDetail.razor.rz.scp.css */
/*.AppHeader {*/
/*cellpadding="0" cellspacing="2"*/
/*background-color: rgb(237, 240, 250);
    padding: 3px;
    border: 1px dotted rgb(173, 197, 205);
    color: blue;
    width: 98%;
}

.AppHeaderA1 {
    width: 14px;
    color: gray;
    height: 36px;
    background-color: darkblue;
}*/
/* /Parts/ProductsDropdown.razor.rz.scp.css */
/*Blazor CSS isolation
  https://chatgpt.com/c/6970a2c5-bee0-8325-9d69-f3062731488f  
    When you put the keyframes in a .razor.css file
    Blazor treats that file as scoped CSS. 
    During build it rewrites selectors so they only apply to that component, 
    e.g.:
    .myTable { … }
    becomes something like:
    .myTable[b-3xk9a7f]
    Do NOT put @keyframes that are triggered from JavaScript inside .razor.css.
*/

/*Animatable CSS properties
    https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties
    https://stackoverflow.com/questions/25872767/allowed-properties-for-css-transition-property
    @keyframes ProductsDropDownAnimationOn {
    @keyframes ProductsDropDownAnimationOff {
*/
#TableProductsDropDown[b-hvpmblgzvt] {
    background: green;
    width: 200px;
    border-collapse: collapse; /* 'cellspacing=0' equivalent*/
    /*display: none;*/
    background-color: #A40006;
    /*padding-right: 10px*/
    /*-moz-transition: 3s;
    -ms-transition: 3s;
    -o-transition: 3s;
    -webkit-transition: 3s;
    transition: 3s;*/
    /*https://stackoverflow.com/questions/32915005/want-a-smooth-animation-when-resizing-div-javascript/32915045*/
    /*transition: all 0.5s ease;*/
    /*transition: all 0.5s ease-in-out;*/
    --transform: scale(0, 0);
    box-shadow: rgba(0, 0, 0, 0.3) 15px 15px 8px 8px;
    /*km*/ z-index: 1000;
}

#ctl00_TableProductsDropDown div[b-hvpmblgzvt] { /*padding: 5px;*/
}

#TableProductsDropDown .separator[b-hvpmblgzvt] /*.separator class below .TableProductsDropDown class*/ {
    font-size: 1px;
    height: 1px;
    background-color: #333;
    padding: 0;
    padding-right: 8px; /*TdMenuNormal.padding x2 */
    width: 100%;
    box-sizing: border-box;
}

.TopProductSquare[b-hvpmblgzvt] {
    color: white;
    background-color: #A40006;
}

a.TopProductLink[b-hvpmblgzvt] {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #F2BE00;
    text-decoration: none;
}

    a.TopProductLink:visited[b-hvpmblgzvt], a.TopProductLink:active[b-hvpmblgzvt], a.TopProductLink:focus[b-hvpmblgzvt] {
        color: #F2BE00;
        text-decoration: none;
    }

    a.TopProductLink:hover[b-hvpmblgzvt] {
        color: #F2BE00; /*otherwise will be overridden by bootstrap*/
        text-decoration: underline;
    }

div.TdMenuNormal[b-hvpmblgzvt] {
    background-color: #d40026;
    width: 100%;
    cursor: pointer;
    padding: 5px;
    box-sizing: border-box;
}

div.TdMenuHighlight[b-hvpmblgzvt] {
    background-color: #e42046;
    width: 100%;
    cursor: pointer;
    padding: 5px;
    width: 210px; /*km strange fix*/
}

    div.TdMenuHighlight A.TopProductLink[b-hvpmblgzvt] {
        text-decoration: underline;
    }

div.TdMenuStatic[b-hvpmblgzvt] {
    background-color: #e42046;
    height: 100%;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    padding: 4px;
}
