/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: auto;  /* Changed from hidden to auto to allow scrolling */
}

.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 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

/* Send Button Icon */
.send-icon {
    width: 24px !important;
    height: 24px !important;
    background-image: url("/images/Send-White.svg") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    filter: brightness(0) invert(1) !important;
    display: inline-block !important;
}

/* Global Animation for Page Fade-in */
.animate-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Help Page DxMenu Sidebar Overrides ──
   Uses TextTemplate with custom <span> for full control over text color.
   DevExpress theme text-color inheritance is bypassed entirely. */
.help-menu.dxbl-menu {
    background-color: transparent !important;
}

.help-menu .dxbl-menu-item {
    background-color: transparent !important;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.help-menu .dxbl-menu-item:hover {
    background-color: #f0f0f0 !important;
}

/* Text rendered via TextTemplate — our own element, full control */
.help-topic-text {
    color: #333;
    font-size: 0.95rem;
    font-weight: 400;
}

.help-topic-text:hover {
    color: #111;
}

.help-topic-text.active {
    color: #0d47a1;
    font-weight: 600;
}

/* Active item background */
.help-menu .help-menu-item-active .dxbl-menu-item {
    background-color: #e0ecff !important;
}

.help-menu .help-menu-item-active .dxbl-menu-item:hover {
    background-color: #d0dffa !important;
}