﻿:root {
    /* Primary: #002A3A (A dark teal/navy blue) */
    --rz-primary: #002A3A;
    /* Light shade: A lighter version for hover states or backgrounds */
    --rz-primary-light: #004D6B; /* A suggestion, adjust as needed */
    /* Dark shade: A darker version for active states or borders */
    --rz-primary-dark: #001A24; /* A suggestion, adjust as needed */
    /* Optional: Text color that contrasts well with the primary background */
    --rz-primary-color: #FFFFFF;
    --rz-editor-toolbar-background-color: var(--rz-base-100);
    --rz-icon-font-family: 'Material Symbols Rounded';
}

/*.rz-dropdown:not(:disabled):not(.rz-state-disabled):hover {
    background-color: var(--rz-base-100);
}

.rz-dropdown {
    background-color: var(--rz-base-100);
    border:none;
}*/

/*.rz-html-editor-toolbar {
    background-color: var(--rz-base-100);
}*/

.rq-filled-icon {
    font-variation-settings: 'FILL' 1;
}

.rq-hero-height {
    min-height: calc(100vh - 50px); /* Fallback for older browsers */
    min-height: calc(100vh - 50px); /* Modern dynamic height */
    max-height: 1000px; /* Optional: Cap for ultra-large desktop screens */
}

.rq-100dvh {
    min-height: 100vh; /* Fallback for older browsers */
    min-height: 100dvh; /* Modern dynamic height */
    max-height: 1000px; /* Optional: Cap for ultra-large desktop screens */
}


.rq-max-width 
{
    width: 100%;
    max-width: 1920px;
}

.search-box {
    --rz-input-border-radius: var(--rz-border-radius-5);
}

.search-box .rz-form-field-content
{
    margin : 0px;
    border : 0px;
}

.rz-button, .rz-badge{
    text-transform: none !important;
}

.rz-fileupload-buttonbar > .rz-button 
{
    border-radius: 6px;
}

.rz-button {
    border-radius: 999px;
    padding: 0.4rem 1rem;
}

/* Radzen-typography-aligned rich text */
.rz-richtext {
    color: var(--rz-text-secondary);
    font-size: var(--rz-body-font-size);
    font-family: var(--rz-body-font-family);
    line-height: var(--rz-body-line-height);
}

    .rz-richtext ul,
    .rz-richtext ol {
        margin: 0.25rem 0 0.75rem 1.25rem;
        padding: 0;
    }

    .rz-richtext li {
        margin: 0.25rem 0;
    }

    .rz-richtext p {
        margin: 0.25rem 0 0.5rem 0;
    }

    .rz-richtext strong {
        font-weight: 600;
    }

    .rz-richtext em {
        font-style: italic;
    }


.rz-notification {
    bottom: 0 !important;
    float: left !important;
    left: 10px !important;
    top: unset !important;
    right: unset !important;
}

.rz-card{
    background-color:ghostwhite !important;
}

.rz-steps .rz-menuitem-link {
    flex-direction: column;
}

hr {
    margin: 0.2rem 0;
    color: inherit;
    border: 0;
    border-top: var(--bs-border-width) solid;
    opacity: .25;
}

/* Shared base style */
.profile-img,
.profile-placeholder {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    background-color: #3f51b5;
    overflow: hidden;
}

/* XS */
.xs-profile-img {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* SM */
.sm-profile-img {
    width: 48px;
    height: 48px;
    font-size: 18px;
}

/* MD */
.md-profile-img {
    width: 72px;
    height: 72px;
    font-size: 24px;
}

/* LG */
.lg-profile-img {
    width: 100px;
    height: 100px;
    font-size: 32px;
}

/* XL */
.xl-profile-img {
    width: 140px;
    height: 140px;
    font-size: 42px;
}

.rz-dialog {
    max-height: calc(100vh - 20px);
}

    .rz-dialog .rz-dialog-titlebar {
        box-shadow: var(--rz-shadow-1);
        z-index: 10;
        padding-bottom: 0.25rem; /* equivalent of pb-1 */
    }

.rz-dialog-side .rz-dialog-side-titlebar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding-bottom: 0.25rem; /* equivalent of pb-1 */
    box-shadow: var(--rz-shadow-1);
    background: var(--rz-dialog-titlebar-background);
    background-color:white;
}

.card-items-placeholder {
    border: 1px dashed var(--rz-base-400);
    border-radius: 8px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--rz-text-secondary);
    cursor: pointer;
    transition: background 0.2s;
}

    .card-items-placeholder:hover {
        background-color: var(--rz-base-100);
    }

    .card-items-placeholder div {
        margin-top: 4px;
        font-size: 12px;
    }

.clickable-card > .rz-card:hover {
    box-shadow: var(--rz-shadow-3);
}


.rz-layout .rz-body {
    overflow-x: hidden;
}

/* Collapsed sidebar */
.sidebar-collapsed > .rz-navigation-item-icon {
    margin-inline-end: 0 !important;
}

.rz-navigation-item-link
{
    display:flex !important;
    flex-direction:row;
    justify-content:center;
}
/* Specifically for mobile mode in Radzen */
@media (max-width: 1023px) {
    /* Hide scrollbar for Chrome, Safari and Opera */
    .rz-body ::-webkit-scrollbar {
        display: none;
    }
    /* Hide scrollbar for IE, Edge and Firefox */
    .rz-body {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
        overflow-y: auto; /* Ensure vertical scrolling still works */
    }
}


