@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

 

#sidebar .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent; /* Matches your dark theme */
    color: #fff;
}

    #sidebar .nav-menu li {
        margin: 0px;
        position: relative;
        cursor: pointer !important;
        border-bottom: 1px solid #cccccc3d;
        padding: 0;
    }

#sidebar .nav-link {
    display: block;
     color: #fff;
    cursor:pointer;
    text-decoration: none;
      transition: background-color 0.2s ease, border-color 0.2s ease;
}

.navigation-drawer .dxbl-drawer.dxbl-drawer-closed .dxbl-drawer-body {
    display: none !important;
}


    #sidebar .nav-link:hover {
        background-color: #5a0a0e;
        margin: 0px;
        border-left-color: #5a0a0e; /* Just change the color */
    }

    #sidebar .nav-link.active {
        background-color: transparent;
     }

#sidebar .nav-submenu {
    list-style: none;
    padding: 0 0 0 1.5rem;
    top: 0px;
    margin-left: 130px;
    border: 1px solid #ccc;
    padding: 0px;
    z-index: 99;
    background: #83161a;
    position: absolute;
    width: 200px;
    display: none;
    min-height: 54px;
    overflow-y: auto;
    max-height: 310px;
}

/* ===== Base Scroll Styling (Firefox) ===== */
#sidebar .nav-submenu {
    scrollbar-width: thin;
    scrollbar-color: #c94b4f #5a0f12; /* thumb | track */
}

    /* ===== Chrome, Edge, Safari ===== */
    #sidebar .nav-submenu::-webkit-scrollbar {
        width: 8px;
    }

    #sidebar .nav-submenu::-webkit-scrollbar-track {
        background: #5a0f12;
        border-radius: 10px;
    }

    #sidebar .nav-submenu::-webkit-scrollbar-thumb {
        background: #83161a;
        backdrop-filter: blur(4px);
        border-radius: 20px;
    }

        #sidebar .nav-submenu::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #ff8787, #d32f2f);
        }

#sidebar .nav-item:hover .nav-submenu {
    display: block; /* Show on hover */
}

#sidebar .nav-submenu .nav-link {
    font-size: 0.9rem;
    padding: 15px 10px;
}

#sidebar .icon, #sidebar .fa-solid, #sidebar .fa-brands {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 0.5rem;
}


.wide-grid {
        min-width: 1500px; /* or whatever width fits your columns */
}


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.grid-container-popup {
    max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 2rem; /* Increase for more space */
    box-sizing: border-box;
}


.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: 2px;
    background-size: cover;
}

.bi-git {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-git" viewBox="0 0 16 16"><path d="M15.698 7.287 8.712.302a1.03 1.03 0 0 0-1.457 0l-1.45 1.45 1.84 1.84a1.223 1.223 0 0 1 1.55 1.56l1.773 1.774a1.224 1.224 0 0 1 1.267 2.025 1.226 1.226 0 0 1-2.002-1.334L8.58 5.963v4.353a1.226 1.226 0 1 1-1.008-.036V5.887a1.226 1.226 0 0 1-.666-1.608L5.093 2.465l-4.79 4.79a1.03 1.03 0 0 0 0 1.457l6.986 6.986a1.03 1.03 0 0 0 1.457 0l6.953-6.953a1.03 1.03 0 0 0 0-1.457"/></svg>');
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#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;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
 
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}


.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.2;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        margin: 0 0.1875rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .info-message.info-panel {
        margin-bottom: 0.625rem;
    }

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.confirm-button {
    margin-top: 0.3125rem;
}

.display-desktop {
    display: block;
}

.display-mobile {
    display: none;
}

.icon-external-provider {
    width: 1rem;
    height: 1rem;
}

.icon-google {
    background-image: url("/images/account/providers/google-logo.svg")
}

.icon-facebook {
    background-image: url("/images/account/providers/facebook-logo.svg")
}

.icon-microsoft {
    background-image: url("/images/account/providers/microsoft-logo.svg")
}

.icon-twitter {
    background-image: url("/images/account/providers/x-logo.svg")
}

@media (max-width: 768px) {
    .display-desktop {
        display: none;
    }

    .display-mobile {
        display: block;
    }
}
/* Disable typing inside DxDateEdit but allow calendar picking */
.no-typing-date .dxbl-text-edit-input {
    pointer-events: none !important;
}

.no-typing-date .dxbl-date-edit-button {
    pointer-events: auto !important;
}

.taf-img {
    width: 60px;
    height: 60px;
    background: url(../images/energy-star.png) no-repeat center center / cover;
}