/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-8luic2r75a] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: var(--rz-text-contrast-color, white);
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid var(--rz-border-color, rgba(0, 0, 0, 0.1));
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem;
}

.navbar-toggler:checked[b-8luic2r75a] {
    background-color: var(--rz-state-hover, rgba(0, 0, 0, 0.05));
}

.top-row[b-8luic2r75a] {
    min-height: 3.5rem;
    background-color: var(--rz-primary, #1976d2);
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: flex-start;
}

.hamburger-btn[b-8luic2r75a] {
    background: transparent;
    border: none;
    color: var(--rz-text-contrast-color, white);
    font-size: 1.1rem;
    cursor: pointer;
    height: 2.75rem;
    width: auto;
    padding: 0 1rem;
    margin: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hamburger-btn:hover[b-8luic2r75a] {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.hamburger-btn .bi[b-8luic2r75a] {
    margin: 0;
    font-size: 1.1rem;
}

.navbar-brand[b-8luic2r75a] {
    font-size: 1.1rem;
    color: var(--rz-text-contrast-color, white);
}

.bi[b-8luic2r75a] {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.75rem;
    font-family: 'bootstrap-icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
}

.bi-chevron-up[b-8luic2r75a],
.bi-chevron-down[b-8luic2r75a] {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    margin-right: 0;
    vertical-align: middle;
}

.nav-item[b-8luic2r75a] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}

    .nav-item:first-of-type[b-8luic2r75a] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-8luic2r75a] {
        padding-bottom: 1rem;
    }

    .nav-item[b-8luic2r75a]  .nav-link,
    .nav-item[b-8luic2r75a]  button.nav-link {
        color: var(--rz-text-color, #212529);
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 1.5;
        width: 100%;
        text-align: left;
        padding: 0 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .nav-item[b-8luic2r75a]  .nav-link:focus,
        .nav-item[b-8luic2r75a]  button.nav-link:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--rz-primary-lighter, rgba(25, 118, 210, 0.2));
        }

.nav-item[b-8luic2r75a]  a.active {
    background-color: var(--rz-primary, #1976d2);
    color: var(--rz-text-contrast-color, white);
    font-weight: 600;
}

.nav-item[b-8luic2r75a]  .nav-link:hover,
.nav-item[b-8luic2r75a]  button.nav-link:hover {
    background-color: var(--rz-state-hover, rgba(0, 0, 0, 0.04));
    color: var(--rz-primary, #1976d2);
}

.nav-item[b-8luic2r75a]  a.nav-link {
    pointer-events: auto;
}

button.nav-link[b-8luic2r75a] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button.nav-link.collapsed-btn[b-8luic2r75a] {
    justify-content: center !important;
}

button.nav-link > span:last-child[b-8luic2r75a] {
    margin-left: auto;
}

/* Nested/child menu items */
.nav-item.ms-3[b-8luic2r75a]  .nav-link,
.nav-item.ms-3[b-8luic2r75a]  button.nav-link {
    font-size: 0.9rem;
    padding-left: 2.5rem;
    height: 2.5rem;
}

.nav-scrollable[b-8luic2r75a] {
    display: none;
    pointer-events: auto;
}

.navbar-toggler:checked ~ .nav-scrollable[b-8luic2r75a] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-8luic2r75a] {
        display: none;
    }

    .nav-scrollable[b-8luic2r75a] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-kotfw8ob7q],
.components-reconnect-repeated-attempt-visible[b-kotfw8ob7q],
.components-reconnect-failed-visible[b-kotfw8ob7q],
.components-pause-visible[b-kotfw8ob7q],
.components-resume-failed-visible[b-kotfw8ob7q],
.components-rejoining-animation[b-kotfw8ob7q] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-retrying[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-failed[b-kotfw8ob7q],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-kotfw8ob7q] {
    display: block;
}


#components-reconnect-modal[b-kotfw8ob7q] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-kotfw8ob7q 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-kotfw8ob7q 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-kotfw8ob7q 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-kotfw8ob7q]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-kotfw8ob7q 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-kotfw8ob7q {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-kotfw8ob7q {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-kotfw8ob7q {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-kotfw8ob7q] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-kotfw8ob7q] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-kotfw8ob7q] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-kotfw8ob7q] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-kotfw8ob7q] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-kotfw8ob7q] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-kotfw8ob7q] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-kotfw8ob7q 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-kotfw8ob7q] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-kotfw8ob7q {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Layout/RightSidebarMenu.razor.rz.scp.css */
.top-row[b-doyto5x2vo] {
    min-height: 3.5rem;
    background-color: var(--rz-primary, #1976d2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
}

.hamburger-btn[b-doyto5x2vo] {
    background: transparent;
    border: none;
    color: var(--rz-text-contrast-color, white);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-btn:hover[b-doyto5x2vo] {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.hamburger-btn .bi[b-doyto5x2vo] {
    margin: 0;
    font-size: 1.1rem;
}

.bi[b-doyto5x2vo] {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    vertical-align: middle;
    margin-right: 0.75rem;
}

.bi-chevron-up[b-doyto5x2vo],
.bi-chevron-down[b-doyto5x2vo] {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    margin-right: 0;
    vertical-align: middle;
}

.nav-item[b-doyto5x2vo] {
    font-size: 0.95rem;
    padding-bottom: 0.25rem;
}

    .nav-item:first-of-type[b-doyto5x2vo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-doyto5x2vo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-doyto5x2vo]  .nav-link,
    .nav-item[b-doyto5x2vo]  button.nav-link {
        color: var(--rz-text-color, #212529);
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 1.5;
        width: 100%;
        text-align: left;
        padding: 0 1rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .nav-item[b-doyto5x2vo]  .nav-link:focus,
        .nav-item[b-doyto5x2vo]  button.nav-link:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--rz-primary-lighter, rgba(25, 118, 210, 0.2));
        }

.nav-item[b-doyto5x2vo]  a.active {
    background-color: var(--rz-primary, #1976d2);
    color: var(--rz-text-contrast-color, white);
    font-weight: 600;
}

.nav-item[b-doyto5x2vo]  .nav-link:hover,
.nav-item[b-doyto5x2vo]  button.nav-link:hover {
    background-color: var(--rz-state-hover, rgba(0, 0, 0, 0.04));
    color: var(--rz-primary, #1976d2);
}

button.nav-link[b-doyto5x2vo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

button.nav-link > span:last-child[b-doyto5x2vo] {
    margin-left: auto;
}

/* Badge styling */
.badge[b-doyto5x2vo] {
    display: inline-block;
    padding: 0.25em 0.5em;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

.bg-danger[b-doyto5x2vo] {
    background-color: var(--rz-danger, #dc3545) !important;
    color: white !important;
}

/* Notification card styling */
.notification-card[b-doyto5x2vo] {
    background: var(--rz-base-background-color, white);
    border: 1px solid var(--rz-border-color, #dee2e6);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    border-left-width: 5px;
    border-left-style: solid;
}

.notification-card:hover[b-doyto5x2vo] {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Urgency-based colors (overrides specific card types) */
.notification-card.overdue[b-doyto5x2vo] {
    border-left-color: var(--rz-danger, #dc3545) !important;
}

.notification-card.today[b-doyto5x2vo] {
    border-left-color: var(--rz-warning, #ffc107) !important;
}

.notification-card.future[b-doyto5x2vo] {
    border-left-color: var(--rz-success, #28a745) !important;
}

/* Legacy card type colors (fallback) */
.notification-card.alarm[b-doyto5x2vo] {
    border-left-color: var(--rz-danger, #dc3545);
}

.notification-card.reminder[b-doyto5x2vo] {
    border-left-color: var(--rz-warning, #ffc107);
}

.notification-card.task[b-doyto5x2vo] {
    border-left-color: var(--rz-success, #28a745);
}

.notification-card.meeting[b-doyto5x2vo] {
    border-left-color: var(--rz-info, #007bff);
}

.notification-card.holiday[b-doyto5x2vo] {
    border-left-color: var(--rz-info, #17a2b8);
}

/* Refresh button */
.btn[b-doyto5x2vo] {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: all 0.15s ease-in-out;
}

.btn-sm[b-doyto5x2vo] {
    padding: 0.2rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-light[b-doyto5x2vo] {
    background-color: var(--rz-base-100, #f8f9fa);
    border-color: var(--rz-border-color, #dee2e6);
    color: var(--rz-text-color, #212529);
}

.btn-light:hover[b-doyto5x2vo] {
    background-color: var(--rz-state-hover, #e2e6ea);
    border-color: var(--rz-border-color, #dae0e5);
}

.btn-light:disabled[b-doyto5x2vo] {
    opacity: 0.65;
    cursor: not-allowed;
}

.nav-scrollable[b-doyto5x2vo] {
    display: none;
    pointer-events: auto;
}

@media (min-width: 641px) {
    .nav-scrollable[b-doyto5x2vo] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/* Collapsed sidebar styles */
.layout-sidebar-right.collapsed .nav-text[b-doyto5x2vo] {
    display: none;
}

.layout-sidebar-right.collapsed .nav-link[b-doyto5x2vo] {
    justify-content: center;
    text-align: center;
    padding: 0 !important;
}

.layout-sidebar-right.collapsed .bi[b-doyto5x2vo] {
    margin-right: 0;
}

.layout-sidebar-right.collapsed .bi-chevron-up[b-doyto5x2vo],
.layout-sidebar-right.collapsed .bi-chevron-down[b-doyto5x2vo] {
    display: none;
}

.layout-sidebar-right.collapsed .badge[b-doyto5x2vo] {
    display: none;
}

/* Alarm content sections */
.alarm-header[b-doyto5x2vo] {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.last-update[b-doyto5x2vo] {
    color: var(--rz-text-secondary-color, #6c757d);
    font-size: 0.75rem;
}

.alarms-list[b-doyto5x2vo] {
    padding: 0.5rem;
}

.alarm-count[b-doyto5x2vo] {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.alarm-title[b-doyto5x2vo] {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: var(--rz-text-color, #212529);
}

.alarm-date[b-doyto5x2vo] {
    font-size: 0.75rem;
    color: var(--rz-text-secondary-color, #6c757d);
}

.alarm-countdown[b-doyto5x2vo] {
    font-size: 0.7rem;
    color: var(--rz-danger, #dc3545);
    font-weight: 600;
    margin-top: 0.25rem;
}

.alarm-reminder[b-doyto5x2vo] {
    font-size: 0.7rem;
    color: var(--rz-warning, #ffc107);
    margin-top: 0.25rem;
}

.more-items[b-doyto5x2vo] {
    text-align: center;
    margin-top: 0.5rem;
}

.more-items small[b-doyto5x2vo] {
    color: var(--rz-text-secondary-color, #6c757d);
}

.view-all[b-doyto5x2vo] {
    text-align: center;
    margin-top: 0.5rem;
}

.view-all a[b-doyto5x2vo] {
    color: var(--rz-primary, #1976d2);
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 500;
}

.view-all a:hover[b-doyto5x2vo] {
    text-decoration: underline;
}

.empty-state[b-doyto5x2vo] {
    text-align: center;
    padding: 1rem;
    color: var(--rz-text-secondary-color, #6c757d);
}

.search-range[b-doyto5x2vo] {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    color: var(--rz-text-tertiary-color, #adb5bd);
}

/* Nested/child menu items */
.nav-item.ms-3[b-doyto5x2vo] {
    padding-left: 1.5rem;
}

.nav-item.ms-3[b-doyto5x2vo]  .nav-link,
.nav-item.ms-3[b-doyto5x2vo]  button.nav-link {
    font-size: 0.9rem;
    height: 2.5rem;
}

/* Triggered notifications container - receives dynamic content from SignalR */
#notification-container-right-sidebar[b-doyto5x2vo] {
    padding: 0.5rem 1rem;
    max-height: 400px;
    overflow-y: auto;
}

/* Notification card styles when injected via JavaScript */
#notification-container-right-sidebar .notification-card[b-doyto5x2vo] {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white !important;
}

#notification-container-right-sidebar .notification-card-header[b-doyto5x2vo] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

#notification-container-right-sidebar .notification-card-title[b-doyto5x2vo] {
    font-weight: 600;
    font-size: 0.85rem;
    color: white !important;
    flex: 1;
}

#notification-container-right-sidebar .notification-card-time[b-doyto5x2vo] {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7) !important;
    white-space: nowrap;
    margin-left: 0.5rem;
}

#notification-container-right-sidebar .notification-card-body[b-doyto5x2vo] {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem;
}

#notification-container-right-sidebar .notification-card-meta[b-doyto5x2vo] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
}

/* Type-specific colors for triggered notifications */
#notification-container-right-sidebar .notification-card.alarm[b-doyto5x2vo] {
    border-left: 4px solid var(--rz-danger, #dc3545);
    background: rgba(220, 53, 69, 0.15);
}

#notification-container-right-sidebar .notification-card.reminder[b-doyto5x2vo] {
    border-left: 4px solid var(--rz-warning, #ffc107);
    background: rgba(255, 193, 7, 0.15);
}

#notification-container-right-sidebar .notification-card.info[b-doyto5x2vo] {
    border-left: 4px solid var(--rz-info, #17a2b8);
    background: rgba(23, 162, 184, 0.15);
}
/* /Components/Pages/Todos/TodoForm.razor.rz.scp.css */
/* Fix disabled RadzenDropDown border thickness in read-only mode */
[b-h032bfg0en] .rz-dropdown:disabled,
[b-h032bfg0en] .rz-dropdown[disabled] {
    border: 1px solid var(--rz-border-color, #dee2e6) !important;
    background-color: var(--rz-base-100, #f8f9fa) !important;
    opacity: 0.7;
}

/* Fix disabled RadzenDatePicker background in read-only mode */
[b-h032bfg0en] .rz-datepicker:disabled,
[b-h032bfg0en] .rz-datepicker[disabled] {
    background-color: var(--rz-base-100, #f8f9fa) !important;
    border: 1px solid var(--rz-border-color, #dee2e6) !important;
    opacity: 0.7;
}

[b-h032bfg0en] .rz-datepicker:disabled input,
[b-h032bfg0en] .rz-datepicker[disabled] input {
    background-color: var(--rz-base-100, #f8f9fa) !important;
    border: none !important;
}

/* Ensure consistent styling for all disabled form fields */
[b-h032bfg0en] .rz-textbox:disabled,
[b-h032bfg0en] .rz-textbox[disabled] {
    background-color: var(--rz-base-100, #f8f9fa) !important;
    border: 1px solid var(--rz-border-color, #dee2e6) !important;
    opacity: 0.7;
}

/* Fix for read-only description box */
.border[b-h032bfg0en] {
    border: 1px solid var(--rz-border-color, #dee2e6) !important;
}

/* Ensure HTML editor in read-only mode has consistent styling */
[b-h032bfg0en] .rz-html-editor:disabled,
[b-h032bfg0en] .rz-html-editor[disabled] {
    background-color: var(--rz-base-100, #f8f9fa) !important;
    border: 1px solid var(--rz-border-color, #dee2e6) !important;
}

/* ============================================
   NOTE: Calendar styling has been moved to:
   - wwwroot/app.css (global calendar styles)
   - wwwroot/css/dx-dark-theme.css (dark theme overrides)
   
   Following DRY principle - all calendars use the same styling
   ============================================ */
