@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('./icons.css');

html, body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
}

.title.title-secondary {
    padding: 0.313rem 0 0;
    color: var(--bs-secondary-color);
}

.title-header-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 2.5rem;
}

.title-content-text {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.375rem;
}

.main-content {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}


/* Sidebar menu base */
.navigation-drawer .dxbl-menu,
.navigation-drawer .dxbl-menu-item,
.navigation-drawer .dxbl-menu-item-content,
.navigation-drawer .dxbl-menu-item-text {
    background-color: transparent !important;
    color: white !important;
}

    /* Normal menu links */
    .navigation-drawer .dxbl-menu-item a,
    .navigation-drawer .dxbl-menu-item-content a {
        color: white !important;
        text-decoration: none !important;
    }

    /* Active/selected item - do NOT make it white */
    .navigation-drawer .menu-item-active,
    .navigation-drawer .menu-item-active > a,
    .navigation-drawer .menu-item-active .dxbl-menu-item,
    .navigation-drawer .menu-item-active .dxbl-menu-item-content,
    .navigation-drawer .dxbl-menu-item-selected,
    .navigation-drawer .dxbl-menu-item-selected .dxbl-menu-item-content,
    .navigation-drawer .dxbl-menu-item.dxbl-menu-item-selected,
    .navigation-drawer .dxbl-menu-item.dx-state-selected,
    .navigation-drawer .dx-state-selected,
    .navigation-drawer .dx-state-focused {
        background-color: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
        border-radius: 4px;
    }

    /* Hover */
    .navigation-drawer .dxbl-menu-item:hover,
    .navigation-drawer .dxbl-menu-item-content:hover,
    .navigation-drawer .dxbl-menu-item:hover .dxbl-menu-item-content {
        background-color: rgba(255, 255, 255, 0.12) !important;
        color: white !important;
        border-radius: 4px;
    }

    /* Icons */
    .navigation-drawer .dxbl-menu-item .bi,
    .navigation-drawer .dxbl-menu-item i,
    .navigation-drawer .dxbl-menu-item-icon {
        color: white !important;
    }



.optimum-top-header {
    width: 100%;
    height: 68px;
    background: #ffffff;
    border-top: 5px solid #000000;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
}

.optimum-top-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
}

.header-left {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
}

.optimum-header-logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

.user-account-link {
    font-size: 0.9rem;
    color: #005bd3;
    text-decoration: underline;
}

    .user-account-link:hover {
        color: #003f93;
    }

.header-toggle-button,
.header-toggle-button .dxbl-btn-icon,
.header-toggle-button i {
    color: #1f1f1f !important;
}