:root {
    --mud-palette-surface: null;

    /* AppBar styling */
    --gwis-appbar-select-bg: rgba(255,255,255,0.1);

    /* Sizing Scale */
    --gwis-size-xs: 0.25rem;   /* 4px */
    --gwis-size-sm: 0.5rem;    /* 8px */
    --gwis-size-md: 1rem;      /* 16px */
    --gwis-size-lg: 1.5rem;    /* 24px */
    --gwis-size-xl: 2rem;      /* 32px */

    /* Font Size Scale */
    --gwis-font-xs: 0.75rem;   /* 12px */
    --gwis-font-sm: 0.875rem;  /* 14px */
    --gwis-font-md: 1rem;      /* 16px */

    /* Icon Sizes */
    --gwis-icon-sm: 2rem;
    --gwis-icon-md: 2.5rem;
    --gwis-icon-lg: 3rem;

    /* Select/Dropdown Widths */
    --gwis-select-min: 200px;
    --gwis-select-min-wide: 250px;
    --gwis-select-max: 400px;
}

/* Navigation */
/* Appbar */

.appbar-company-icon {
    height: 40px;
    margin: 10px;
    border-radius: 50%;
}

/* End Appbar */
/* End Navigation */
/* Login Page */
.login-container {
    max-height: 96.9vh;
    overflow: hidden;
}

.left-panel {
    background-color: #f5f5f5; /* Light background for banner */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 0 !important;
}

.left-panel img {
    height: auto;
    object-fit: cover;
}

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    height: 96vh;
}

.login-paper {
    padding: 24px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.company-logo {
    max-height: 60px;
    margin-bottom: 16px;
}

.login-title {
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Hide left panel on small screens */
@media (max-width: 600px) {
    .left-panel {
        display: none;
    }
}

/* End Login Page */

/* Candidate Recruitment Badge */
.recruitment-candidate-status-badge > .mud-chip-container > .mud-chip {
    min-height: 3rem;
}

.recruitment-candidate-status-badge {
    height: 100%;
    width: 100%;
}

.recruitment-candidate-status-badge .mud-badge-wrapper .mud-badge {
    left: calc(100% - 2rem) !important;
    height: 2rem;
    width: 2rem;
    min-height: 2rem;
    min-width: 2rem;
    top: 25% !important;
    border-radius: 1rem;
}

.recruitment-candidate-phone-badge {
    font-size: .8rem;
    top: .15rem;
    position: relative;
}

/* End Candidate Recruitment Badge */

/* Candidate Details Page */

.gwis-input-tooltip {
    width: 100%;
}

@media (min-width: 1280px) {
    .candidate-details-left {
        width: 80%;
    }

    .candidate-details-right {
        width: 20%;
    }
}

/* End Candidate Details Page */

/* Begin Recruitment Candidate Overview */
.recruitment-statusoverview-swimminglane {
    border: 1px solid #d5d5d5;
    background-color: #f1f1f1;
}

.recruitment-statusoverview-step {
    box-shadow: none;
    border: 1px dotted #9c9c9c;
}


/* End Recruitment Candidate Overview */

.mud-table-container {
    width: 100% !important;
}

/* Begin Hours Availability */

.mud-cal-week-cell.mud-cal-disabled {
    background-color: var(--mud-palette-action-disabled-background);
}

/* End Hours Availability */

/* Blazor Error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
}

/* End Blazor Error UI */

/* Grid Column Widths - Use grid-col-width-* classes instead */
/* End Grid Column Widths */

/* Container Utilities */
.container-full-width {
    max-width: 100%;
}

/* End Container Utilities */

/* Dialog Sizes */
.dialog-large {
    min-width: 80vw;
    min-height: 80vh;
}

/* End Dialog Sizes */

/* Begin Planning Scheduler Components */

.mud-calendar-container {
    min-height: 70vh;
}

.planning-button-fixed-size-twinned-large {
    width: 20rem;
    min-width: 20rem;
    max-width: 20rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

.planning-button-fixed-size-twinned-small {
    width: 5rem;
    min-width: 5rem;
    max-width: 5rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

.planning-button-fixed-size {
    width: 20rem;
    min-width: 20rem;
    max-width: 20rem;
    height: 2rem;
    min-height: 2rem;
    max-height: 2rem;
}

/* Free Scheduler Blocks */
.planning-free-block-normal {
    background-color: var(--mud-palette-primary);
    color: white;
    border: 2px solid var(--mud-palette-primary-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.planning-free-block-normal:hover {
    background-color: var(--mud-palette-primary-darken);
}

.planning-free-block-warning {
    background-color: var(--mud-palette-warning);
    color: white;
    border: 2px solid var(--mud-palette-warning-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.planning-free-block-warning:hover {
    background-color: var(--mud-palette-warning-darken);
}

.planning-free-block-content {
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    position: relative;
}

.planning-free-block-time {
    font-size: 0.85em;
    margin-top: 2px;
}

.warning-icon {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 0.9em;
}

/* Toolbar Elements */
.toolbar-date-picker {
    max-width: 200px;
}

.toolbar-team-select {
    min-width: 250px;
    max-width: 400px;
}

/* End Planning Scheduler Components */

/* Changes van Patrick */
.content-left-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background-color: #f1f1f1;
}

.content-left-container .mud-paper {
    background-color: #f1f1f1;
}

.content-left-container .mud-nav-group button:first-child {
    background-color: #a7a7a7;
    color: white;
}

.mud-appbar h6 {
    line-height: var(--mud-appbar-height);
}

.mud-tab {
    border: 0 !important;
}

.mud-tab-active {
    background-color: #a7a7a7;
    color: white !important;
    border: 0 !important;
}


.last-updated {
    font-weight: bold;
    font-size: 12px;
    display: block;
    line-height: 12px;
}

.last-updated-by {
    color: #a6a6a6;
    font-size: 12px;
    line-height: 12px;
}

.content-main-container {
    margin-top: 20px;
}

.mud-table-head .mud-table-cell {
    border: 1px solid #e9e9e9;
    background-color: #cbcbcb;
}

.mud-table-head .mud-table-cell:first-child {
    border-left: 0;
}

.mud-table-head .mud-table-cell:last-child {
    border-right: 0;
}

/* End changes van Patrick */

/* Text Utilities */
.text-overflow-ellipsis {
    overflow: hidden;
    text-wrap: nowrap;
    width: 100%;
}

.text-overflow-ellipsis-max {
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 200px;
    text-overflow: ellipsis;
}

.text-size-sm {
    font-size: .6rem;
}

.text-size-md {
    font-size: .8rem;
}

.text-align-start {
    text-align: start;
}

/* End Text Utilities */

/* Icon Utilities */
.icon-size-sm {
    height: 2rem;
    width: 2rem;
}

.icon-size-sm-positioned {
    height: 2rem;
    width: 2rem;
    top: 1rem;
}

.icon-positioned-top {
    top: 0;
    position: relative;
}

.icon-positioned-right {
    position: absolute;
    right: 0;
}

/* End Icon Utilities */

/* Layout Utilities */
.display-block-center {
    display: block;
    text-align: center;
}

.display-grid-padded {
    display: grid;
    padding-top: 10px;
    padding-bottom: 10px;
    min-width: 30rem;
}

.height-full {
    height: 100%;
}

.width-full {
    width: 100%;
}

.height-width-full {
    height: 100%;
    width: 100%;
}

.toolbar-height-sm {
    height: 3em;
}

/* Spacing Utilities */
.ml-2 {
    margin-left: 8px;
}

/* End Layout Utilities */

/* Button Utilities */
.btn-action {
    padding: 0.5rem;
    margin: 0.5rem;
}

/* End Button Utilities */

/* ==========================================================================
   Dialog Styles
   ========================================================================== */

/* Dialog Sizes */
.dialog-xlarge {
    min-width: 80vw;
    min-height: 80vh;
}

.dialog-large-width {
    min-width: 80vw;
    max-width: 80vw;
}

.dialog-medium {
    min-width: 60vw;
    min-height: 50vh;
}

/* End Dialog Styles */

/* ==========================================================================
   Planning & Shift Components
   ========================================================================== */

/* Shift Dialog Elements */
.shift-dialog__add-button {
    right: 1rem;
    position: fixed;
    top: 3.5rem;
}

.shift-dialog__list-item {
    border: 1px solid lightgray;
}

.shift-dialog__delete-button {
    position: absolute;
    z-index: 5;
    right: 0;
    top: 0;
    padding: 0;
    margin: 0.5vh;
}

.shift-dialog__status-chip {
    width: 150px;
}

.shift-dialog__status-chip--disabled {
    width: 150px;
    cursor: not-allowed;
    color: lightgray;
}

.shift-dialog__info-text {
    display: inline-grid;
    line-height: 0.7rem;
    text-align: start;
}

.shift-dialog__list-item--disabled {
    cursor: not-allowed;
}

.shift-dialog__text--disabled {
    color: darkgray;
}

/* Mutation & Schedule Lock Dialogs */
.mutation-dialog__info-section {
    background-color: var(--mud-palette-background-grey);
}

/* Shift Overview Components */
.shift-overview__paper-bordered {
    border: 1px solid var(--mud-palette-divider);
}

.shift-overview__icon-vertical-align {
    vertical-align: middle;
}

/* End Planning & Shift Components */

/* ==========================================================================
   Recruitment Components
   ========================================================================== */

/* Recruitment Task Dialog */
.recruitment-task__icon-small {
    height: 2rem;
    width: 2rem;
}

/* End Recruitment Components */

/* ==========================================================================
   Scheduler Components
   ========================================================================== */

/* Availability Component */
.availability__container {
    min-height: 80vh;
}

.availability__delete-button {
    position: absolute;
    z-index: 5;
    color: white;
    right: 0.5vh;
    height: 1.5vh;
}

.availability__block--disabled {
    background-color: var(--mud-palette-gray-dark);
    cursor: not-allowed;
}

.availability__text--disabled {
    color: var(--mud-palette-gray-light);
}

/* Planning Component Selects */
.planning-select__min-width {
    min-width: 30rem;
    max-width: 25%;
}

/* End Scheduler Components */

/* ==========================================================================
   Container & Grid Utilities
   ========================================================================== */

.container-max-width-full {
    max-width: 100%;
}

.grid-col-width-50 {
    width: 50px;
}

.grid-col-width-80 {
    width: 80px;
}

.grid-col-width-100 {
    width: 100px;
}

.grid-col-width-120 {
    width: 120px;
}

.grid-col-width-150 {
    width: 150px;
}

.grid-col-width-200 {
    width: 200px;
}

/* End Container & Grid Utilities */

/* ==========================================================================
   Platform Components
   ========================================================================== */

/* Function Editor */
.function-editor__row-full-width {
    width: 100%;
}

.function-editor__text-flex {
    flex: 1;
}

.function-editor__select-width {
    min-width: 200px;
    max-width: 300px;
}

/* Company Details */
.company-details__supplier-text {
    color: gray;
    font-size: 0.875rem;
}

/* End Platform Components */

/* ==========================================================================
   Common Component Utilities
   ========================================================================== */

/* Sales Dashboard */
.dashboard__select-min-width {
    min-width: 200px;
}

.dashboard__loading-container {
    min-height: 200px;
}

/* End Common Component Utilities */

/* ==========================================================================
   Layout - AppBar Selects (Added by CSS Migration)
   ========================================================================== */

.layout__appbar-select {
    min-width: var(--gwis-select-min);
    background-color: var(--gwis-appbar-select-bg);
}

.layout__appbar-select--wide {
    min-width: var(--gwis-select-min-wide);
    background-color: var(--gwis-appbar-select-bg);
}

.layout__appbar-select--extra-wide {
    min-width: 300px;
    background-color: var(--gwis-appbar-select-bg);
}

.layout__flag-icon {
    width: 20px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

/* ==========================================================================
   Page Styles (Added by CSS Migration)
   ========================================================================== */

.page__hero-image {
    width: 100%;
    max-height: 400px;
}

.page__preformatted-text {
    white-space: pre-wrap;
}

.page__error-icon--large {
    font-size: 8rem;
}

.page__scroll-container {
    overflow: scroll;
    max-height: 93vh;
    height: 93vh;
}

/* ==========================================================================
   Dialog Select Styling (Added by CSS Migration - Fixes dropdown width issues)
   ========================================================================== */

.dialog__select {
    min-width: var(--gwis-select-min);
}

.dialog__select--wide {
    min-width: var(--gwis-select-min-wide);
}

.dialog__select--full {
    width: 100%;
    min-width: var(--gwis-select-min);
}

/* ==========================================================================
   Editor Select Styling (Added by CSS Migration - For platform editors)
   ========================================================================== */

.editor__select {
    min-width: var(--gwis-select-min);
}

.editor__select--wide {
    min-width: var(--gwis-select-min-wide);
    max-width: var(--gwis-select-max);
}

/* ==========================================================================
   Recruitment Candidate Cards - Color States (Added by CSS Migration)
   ========================================================================== */

.recruitment__candidate-card--secondary {
    background-color: rgba(var(--mud-palette-secondary-rgb), .15);
}

.recruitment__candidate-card--tertiary {
    background-color: rgba(var(--mud-palette-tertiary-rgb), .15);
}

.recruitment__candidate-card--info {
    background-color: rgba(var(--mud-palette-info-rgb), .15);
}

.recruitment__candidate-card--success {
    background-color: rgba(var(--mud-palette-success-rgb), .15);
}

.recruitment__candidate-card--warning {
    background-color: rgba(var(--mud-palette-warning-rgb), .15);
}

.recruitment__candidate-card--error {
    background-color: rgba(var(--mud-palette-error-rgb), .15);
}

.recruitment__color-swatch {
    width: 50px;
    height: 50px;
}

.recruitment__color-swatch--selected {
    border: 2px solid black;
}

/* ==========================================================================
   Platform - Color Indicators (Added by CSS Migration)
   ========================================================================== */

.platform__color-indicator {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* ==========================================================================
   Utility Classes (Added by CSS Migration)
   ========================================================================== */

.util__flex-grow {
    flex: 1;
}

/* ==========================================================================
   Image Editor (Added by CSS Migration)
   ========================================================================== */

.image-editor__preview {
    height: 2em;
}

/* ==========================================================================
   Shift Overview Components (Migrated from GWISShiftOverview.razor)
   ========================================================================== */

.shift-overview__team-select,
.shift-overview__date-picker {
    max-width: 200px;
}

.shift-overview__item {
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-left: 4px solid var(--mud-palette-primary);
}

.shift-overview__item:hover {
    background-color: var(--mud-palette-action-default-hover);
}

.shift-overview__week-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    min-height: 200px;
}

.shift-overview__week-grid-day {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--mud-palette-background-default);
}

.shift-overview__week-grid-day-header {
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    padding: 8px;
    text-align: center;
}

.shift-overview__week-grid-day-content {
    flex: 1;
    padding: 4px;
    overflow-y: auto;
    max-height: 300px;
}

.shift-overview__week-grid-shift {
    background-color: var(--mud-palette-primary-lighten);
    border-left: 3px solid var(--mud-palette-primary);
    padding: 6px;
    margin-bottom: 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shift-overview__week-grid-shift:hover {
    background-color: var(--mud-palette-primary-hover);
    transform: translateX(2px);
}

.shift-overview__week-grid-shift .shift-time {
    font-weight: 600;
    display: block;
}

.shift-overview__week-grid-shift .shift-team {
    display: block;
    margin-top: 2px;
}

@media (max-width: 1200px) {
    .shift-overview__week-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .shift-overview__week-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shift-overview__week-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Scheduler Components (Migrated from scoped CSS files)
   ========================================================================== */

/* Free Scheduler */
.free-scheduler__container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.free-scheduler__normal {
    background-color: var(--mud-palette-primary);
    color: white;
    border: 2px solid var(--mud-palette-primary-darken);
    cursor: move;
    transition: all 0.2s;
}

.free-scheduler__normal:hover {
    background-color: var(--mud-palette-primary-darken);
}

.free-scheduler__warning {
    background-color: var(--mud-palette-warning);
    color: white;
    border: 2px solid var(--mud-palette-warning-darken);
    cursor: move;
    transition: all 0.2s;
}

.free-scheduler__warning:hover {
    background-color: var(--mud-palette-warning-darken);
}

.free-scheduler__content {
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.free-scheduler__time {
    font-size: 0.85em;
    margin-top: 2px;
}

.free-scheduler__warning-icon {
    position: absolute;
    top: 2px;
    right: 24px;
    font-size: 0.9em;
}

.free-scheduler__delete {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 3px;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10;
}

.free-scheduler__container:hover .free-scheduler__delete {
    opacity: 1;
}

.free-scheduler__delete:hover {
    background: rgba(0, 0, 0, 0.5);
}

.free-scheduler__delete svg {
    width: 14px;
    height: 14px;
}

/* Predefined Scheduler */
.predefined-scheduler__container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.predefined-scheduler__inactive {
    background-color: rgba(128, 128, 128, 0.2);
    border: 2px dashed rgba(128, 128, 128, 0.4);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    color: rgba(0, 0, 0, 0.6);
}

.predefined-scheduler__inactive:hover {
    opacity: 0.8;
    background-color: rgba(128, 128, 128, 0.3);
    border-color: rgba(128, 128, 128, 0.6);
}

.predefined-scheduler__active {
    background-color: var(--mud-palette-primary);
    color: white;
    border: 2px solid var(--mud-palette-primary-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.predefined-scheduler__active:hover {
    background-color: var(--mud-palette-primary-darken);
}

.predefined-scheduler__content {
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.predefined-scheduler__time {
    font-size: 0.85em;
    margin-top: 2px;
}

.predefined-scheduler__edit {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 3px;
    padding: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 10;
}

.predefined-scheduler__container:hover .predefined-scheduler__edit {
    opacity: 1;
}

.predefined-scheduler__edit:hover {
    background: rgba(0, 0, 0, 0.5);
}

.predefined-scheduler__edit svg {
    width: 14px;
    height: 14px;
}

/* Planning Predefined Scheduler */
.planning-predefined__inactive {
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
}

.planning-predefined__inactive:hover {
    opacity: 0.8;
    border-color: #999;
}

.planning-predefined__active {
    background-color: var(--mud-palette-primary);
    color: white;
    border: 2px solid var(--mud-palette-primary-darken);
    cursor: pointer;
    transition: all 0.2s;
}

.planning-predefined__active:hover {
    background-color: var(--mud-palette-primary-darken);
}

.planning-predefined__content {
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.planning-predefined__time {
    font-size: 0.85em;
    margin-top: 2px;
}

/* Weekly Schedule List */
.weekly-schedule__day-column {
    min-height: 120px;
    border-left: 4px solid var(--mud-palette-primary);
}

.weekly-schedule__block {
    background-color: var(--mud-palette-background-grey);
    transition: all 0.2s;
}

.weekly-schedule__block:hover {
    background-color: var(--mud-palette-action-default-hover);
}

.weekly-schedule__time-picker {
    max-width: 140px;
}

/* Template Block Scheduler */
.template-block__container {
    position: relative;
    height: 100%;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    color: white;
    overflow: hidden;
}

.template-block__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.template-block__time {
    font-size: 0.85em;
    opacity: 0.9;
}

.template-block__delete {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.template-block__container:hover .template-block__delete {
    opacity: 1;
}

.template-block__delete:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Navigation Components (Migrated from LogInOrOut.razor.css)
   ========================================================================== */

/* Bootstrap Icon Base Styling */
.nav__icon {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

/* Specific Icons for Navigation */
.nav__icon--person-badge {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.nav__icon--logout {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

/* Navigation Item Styling */
.nav__item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav__item .nav__link {
    color: #d7d7d7;
    background: none;
    border: none;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
}

.nav__item .nav__link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* End Navigation Components */

/* ==========================================================================
   Layout Components (Migrated from MainLayout.razor.css)
   ========================================================================== */

/* Page Layout */
.layout__page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.layout__main {
    flex: 1;
}

.layout__sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* Top Row Navigation */
.layout__top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.layout__top-row a,
.layout__top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
}

.layout__top-row a:hover,
.layout__top-row .btn-link:hover {
    text-decoration: underline;
}

.layout__top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Behavior */
@media (max-width: 640.98px) {
    .layout__top-row {
        justify-content: space-between;
    }

    .layout__top-row a,
    .layout__top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .layout__page {
        flex-direction: row;
    }

    .layout__sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .layout__top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .layout__top-row.auth a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .layout__top-row,
    article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Note: Blazor Error UI (#blazor-error-ui) is already defined at lines 168-187 */

/* End Layout Components */