@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    height: 100%;
    overflow: hidden;
}

body {
    background-color: #FBFBFB;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.oi {
    color: black;
    cursor: pointer;
    text-decoration: none;
    margin-left: 5px;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.customSubmit {
    color: #242424;
    font-family: 'Calibri';
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px 10px 20px;
    background-color: #F5A800;
    border: none;
    border-radius: 8px;
    margin: 30px 12px 0px 12px;
}

.customFullWdt, .full-width {
    width: 100%;
}

.customFullHgt, .full-height {
    height: 100%
}

/* Custom Menu Styles */

.customSidebar {
    display: flex;
    flex-direction: column;
    background-color: #000000 !important;
    color: #FFFFFF;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #F5A800 !important;
    background-color: transparent !important;
}

.dxbs-tree ul.nav > .nav-item > .nav-link:not(.disabled):not(.active):hover:before, .btn.dxbs-cmd-btn:hover:before, .btn.dxbs-cmd-btn:focus:before, .nav-link:focus, .nav-link:hover {
    color: #F5A800 !important;
    background-color: transparent !important;
}

dxbl-expandable-container.dxbl-expandable-container {
    background-color: #191818;
}

li.nav-item.dxbs-clickable {
    margin-block: 5px;
}

/* End of Custom Menu Styles */

.dxbl-grid .dxbl-grid-table > thead > tr {
    background-color: #FFF3D8;
}

.bold > label,
.customTitle > label {
    font-weight: 700 !important;
}

.bold,
.customTitle {
    margin: 0 !important;
    padding: 0 5px 0 5px !important;
}

.bold-label > label {
    font-weight: 700 !important;
}

.customGridTitle {
    margin-top: 30px;
}

.customCard {
    padding: 20px;
}

.numInput {
    width: 70px;
    height: 30px;
}

.customCenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dxbl-grid-detail-cell {
    padding: 7px 7px 7px 7px !important;
}

#part2vehicles-items .dxbl-grid > .dxbl-grid-top-panel:first-of-type {
    height: 40px !important;
}

#part2vehicles-items .dxbl-grid > .dxbl-grid-top-panel > .dxbl-grid-group-panel-container {
    padding-top: 5px;
}

#vehicle2part-brands {
    min-height: 50px;
}

.dxbl-group-body-content {
    background-color: white;
}

#partedit .dxbl-group-body-content {
    padding: 0;
}

.tabSaveBtn {
    margin: 10px 0 0 0;
    width: 130px;
}

.tabViewMode {
    width: 130px;
    margin-right: 7px;
}

.colViewMode {
    width: 130px;
    float: right;
}

.tabLeftCol {
    width: 130px;
}

.submitCol {
    height: 48px;
}

.kwpcategory_grid {
    height: 540px;
}

.kwpcategory_grid .dxbl-grid-selected-row
{
    background-color: darkblue;
    color: white;
}

.kwpcategory_grid_partterm {
    height: 600px;
}

.kwpcategory_channel_combo {
    margin-bottom: 33px;
}

.sidebar {
    width: 250px;
    min-width: 200px;
    transition: width 0.2s;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100vw;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1000;
        background: #000!important;
        overflow-y: auto;
    }

    .app-sidebar {
        font-size: 16px;
    }
}


.sidebar-toggle {
    display: none;
    position: fixed;
    top: 4px;
    left: 7px;
    z-index: 1100;
    color: #fff; /* White icon */
    background: none; /* No background */
    border: none;
    font-size: 2rem; /* Larger icon for visibility */
    cursor: pointer;
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }

    .main-logo {
        width: 100%;
        max-width: 500px;
        min-width: 200px;
        height: auto;
    }
}

/* Hide upper corner logo on mobile */
@media (max-width: 768px) {
    .navbar-brand, .top-logo {
        display: none !important;
    }
}

/* Center and size main page logo */
.main-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}


