/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Modern Layout Styles */
.page[b-oq7n3hqkur] {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main[b-oq7n3hqkur] {
    flex: 1;
    background-color: transparent;
}

.sidebar[b-oq7n3hqkur] {
    background: linear-gradient(160deg, #8B7AB8 0%, #7461A6 40%, #7BC89E 100%);
    box-shadow: 3px 0 20px rgba(0, 0, 0, 0.08);
}

.top-row[b-oq7n3hqkur] {
    background-color: var(--background-secondary);
    border-bottom: 1px solid var(--border-light);
    justify-content: flex-end;
    height: 4rem;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.top-row[b-oq7n3hqkur]  a, .top-row[b-oq7n3hqkur]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--primary-brand);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    font-size: 0.9375rem;
}

.top-row[b-oq7n3hqkur]  a:hover, .top-row[b-oq7n3hqkur]  .btn-link:hover {
    text-decoration: underline;
    color: var(--primary-brand-hover);
}

.top-row[b-oq7n3hqkur]  a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 640.98px) {
    .top-row[b-oq7n3hqkur] {
        justify-content: space-between;
        height: 3.75rem;
    }

    .top-row[b-oq7n3hqkur]  a, .top-row[b-oq7n3hqkur]  .btn-link {
        margin-left: 0;
    }

    .sidebar[b-oq7n3hqkur] {
        background: linear-gradient(135deg, #8B7AB8 0%, #7461A6 60%, #7BC89E 100%);
    }
}

@media (min-width: 641px) {
    .page[b-oq7n3hqkur] {
        flex-direction: row;
    }

    .sidebar[b-oq7n3hqkur] {
        width: 270px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-oq7n3hqkur] {
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .top-row.auth[b-oq7n3hqkur]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-oq7n3hqkur], article[b-oq7n3hqkur] {
        padding-left: 2.5rem !important;
        padding-right: 2rem !important;
    }
}

/* Enhanced error UI */
#blazor-error-ui[b-oq7n3hqkur] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    bottom: 0;
    box-shadow: var(--shadow-xl);
    display: none;
    left: 0;
    padding: 1.25rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    border-top: 4px solid #fef2f2;
    font-weight: 600;
    font-size: 0.9375rem;
}

#blazor-error-ui .dismiss[b-oq7n3hqkur] {
    cursor: pointer;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

#blazor-error-ui .dismiss:hover[b-oq7n3hqkur] {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.15);
}

#blazor-error-ui .reload[b-oq7n3hqkur] {
    color: white;
    text-decoration: underline;
    margin-left: 0.5rem;
    font-weight: 600;
}

#blazor-error-ui .reload:hover[b-oq7n3hqkur] {
    color: #fef2f2;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Navigation Styles */
.navbar-toggler[b-7uqvogaffu] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.625rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--border-radius-lg);
    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.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(139, 122, 184, 0.15);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-toggler:hover[b-7uqvogaffu] {
    background-color: rgba(139, 122, 184, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.navbar-toggler:checked[b-7uqvogaffu] {
    background-color: rgba(139, 122, 184, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-7uqvogaffu] {
    min-height: 4rem;
    background: linear-gradient(135deg, #8B7AB8 0%, #7461A6 100%);
    box-shadow: var(--shadow-md);
}

.navbar-brand[b-7uqvogaffu] {
    font-size: 1.375rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
    letter-spacing: -0.01em;
}

.navbar-brand:hover[b-7uqvogaffu] {
    color: #FFB84D !important;
    transform: translateY(-1px);
}

.bi[b-7uqvogaffu] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
    transition: transform 0.2s ease-in-out;
}

/* Modern icon colors using CSS variables */
.bi-house-door-fill[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-speedometer2[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-speedometer2' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5V6a.5.5 0 0 1-1 0V4.5A.5.5 0 0 1 8 4zM3.732 5.732a.5.5 0 0 1 .707 0l.915.914a.5.5 0 1 1-.708.708l-.914-.915a.5.5 0 0 1 0-.707zM2 10a.5.5 0 0 1 .5-.5h1.586a.5.5 0 0 1 0 1H2.5A.5.5 0 0 1 2 10zm9.5 0a.5.5 0 0 1 .5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5zm.754-4.246a.389.389 0 0 0-.527-.02L7.547 9.31a.91.91 0 1 0 1.302 1.258l3.434-4.297a.389.389 0 0 0-.029-.518z'/%3E%3Cpath fill-rule='evenodd' d='M0 10a8 8 0 1 1 15.547 2.661c-.442 1.253-1.845 1.602-2.932 1.25C11.309 13.488 9.475 13 8 13c-1.474 0-3.31.488-4.615.911-1.087.352-2.49.003-2.932-1.25A7.988 7.988 0 0 1 0 10zm8-7a7 7 0 0 0-6.603 9.329c.203.575.923.876 1.68.63C4.397 12.533 6.358 12 8 12s3.604.532 4.923.96c.757.245 1.477-.056 1.68-.631A7 7 0 0 0 8 3z'/%3E%3C/svg%3E");
}

.bi-people[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-people' viewBox='0 0 16 16'%3E%3Cpath d='M15 14s1 0 1-1-1-4-5-4-5 3-5 4 1 1 1 1h8zm-7.978-1A.261.261 0 0 1 7 12.996c.001-.264.167-1.03.76-1.72C8.312 10.629 9.282 10 11 10c1.717 0 2.687.63 3.24 1.276.593.69.758 1.457.76 1.72l-.008.002A.274.274 0 0 1 15 13H7.022zM11 7a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm3-2a3 3 0 1 1-6 0 3 3 0 0 1 6 0zM6.936 9.28a5.88 5.88 0 0 0-1.23-.247A7.35 7.35 0 0 0 5 9c-4 0-5 3-5 4 0 .667.333 1 1 1h4.216A2.238 2.238 0 0 1 5 13c0-1.01.377-2.042 1.09-2.904.243-.294.526-.569.846-.816zM4.92 10A5.493 5.493 0 0 0 4 13H1c0-.26.164-1.03.76-1.724.545-.636 1.492-1.256 3.16-1.275zM1.5 5.5a3 3 0 1 1 6 0 3 3 0 0 1-6 0zm3-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z'/%3E%3C/svg%3E");
}

.bi-box-arrow-right[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-box-arrow-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M10 12.5a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v2a.5.5 0 0 0 1 0v-2A1.5 1.5 0 0 0 9.5 2h-8A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-2a.5.5 0 0 0-1 0v2z'/%3E%3Cpath fill-rule='evenodd' d='M15.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708.708L14.293 7.5H5.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.bi-box-arrow-in-right[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-box-arrow-in-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M6 3.5a.5.5 0 0 1 .5-.5h8a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-8a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 0-1 0v2A1.5 1.5 0 0 0 6.5 14h8a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-8A1.5 1.5 0 0 0 5 3.5v2a.5.5 0 0 0 1 0v-2z'/%3E%3Cpath fill-rule='evenodd' d='M11.854 8.354a.5.5 0 0 0 0-.708l-3-3a.5.5 0 1 0-.708.708L10.293 7.5H1.5a.5.5 0 0 0 0 1h8.793l-2.147 2.146a.5.5 0 0 0 .708.708l3-3z'/%3E%3C/svg%3E");
}

.bi-person-plus[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-person-plus' viewBox='0 0 16 16'%3E%3Cpath d='M6 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm4 8c0 1-1 1-1 1H1s-1 0-1-1 1-4 6-4 6 3 6 4zm-1-.004c-.001-.246-.154-.986-.832-1.664C9.516 10.68 8.289 10 6 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10z'/%3E%3Cpath fill-rule='evenodd' d='M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

.bi-person-plus-fill[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-person-plus-fill' viewBox='0 0 16 16'%3E%3Cpath d='M1 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3Cpath fill-rule='evenodd' d='M13.5 5a.5.5 0 0 1 .5.5V7h1.5a.5.5 0 0 1 0 1H14v1.5a.5.5 0 0 1-1 0V8h-1.5a.5.5 0 0 1 0-1H13V5.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

.bi-heart[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-heart' viewBox='0 0 16 16'%3E%3Cpath d='m8 2.748-.717-.737C5.6.281 2.514.878 1.4 3.053c-.523 1.023-.641 2.5.314 4.385.92 1.815 2.834 3.989 6.286 6.357 3.452-2.368 5.365-4.542 6.286-6.357.955-1.886.838-3.362.314-4.385C13.486.878 10.4.28 8.717 2.01L8 2.748zM8 15C-7.333 4.868 3.279-3.04 7.824 1.143c.06.055.119.112.176.171a3.12 3.12 0 0 1 .176-.17C12.72-3.042 23.333 4.867 8 15z'/%3E%3C/svg%3E");
}

.bi-bug[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-bug' viewBox='0 0 16 16'%3E%3Cpath d='M4.355.522a.5.5 0 0 1 .623.333l.291.956A4.979 4.979 0 0 1 8 1c1.007 0 1.946.298 2.731.811l.29-.956a.5.5 0 1 1 .957.29l-.41 1.352A4.985 4.985 0 0 1 13 6h.5a.5.5 0 0 0 .5-.5V5a.5.5 0 0 1 1 0v.5A1.5 1.5 0 0 1 13.5 7H13v1h1.5a.5.5 0 0 1 0 1H13v1h.5a1.5 1.5 0 0 1 1.5 1.5v.5a.5.5 0 1 1-1 0v-.5a.5.5 0 0 0-.5-.5H13a5 5 0 0 1-10 0h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 1 1-1 0v-.5A1.5 1.5 0 0 1 2.5 10H3V9H1.5a.5.5 0 0 1 0-1H3V7h-.5A1.5 1.5 0 0 1 1 5.5V5a.5.5 0 0 1 1 0v.5a.5.5 0 0 0 .5.5H3c0-1.364.547-2.601 1.432-3.503l-.41-1.352a.5.5 0 0 1 .333-.623zM4 7v4a4 4 0 0 0 3.5 3.97V7H4zm4.5 0v7.97A4 4 0 0 0 12 11V7H8.5zM12 6a3.989 3.989 0 0 0-1.334-2.982A3.983 3.983 0 0 0 8 2a3.983 3.983 0 0 0-2.667 1.018A3.989 3.989 0 0 0 4 6h8z'/%3E%3C/svg%3E");
}

.bi-wrench[b-7uqvogaffu] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238B7AB8' class='bi bi-wrench' viewBox='0 0 16 16'%3E%3Cpath d='M.102 2.223A3.004 3.004 0 0 0 3.78 5.897l6.341 6.252A3.003 3.003 0 0 0 13 16a3 3 0 1 0-.851-5.878L5.897 3.781A3.004 3.004 0 0 0 2.223.1l2.141 2.142L4 4l-1.757.364L.102 2.223zm13.37 9.019.528.026.287.445.445.287.026.529L15 13l-.242.471-.026.529-.445.287-.287.445-.529.026L13 15l-.471-.242-.529-.026-.287-.445-.445-.287-.026-.529L11 13l.242-.471.026-.529.445-.287.287-.445.529-.026L13 11l.471.242z'/%3E%3C/svg%3E");
}

.nav-item[b-7uqvogaffu] {
    font-size: 0.9375rem;
    padding: 0.25rem 0;
    margin: 0.125rem 1rem;
}

.nav-item:first-of-type[b-7uqvogaffu] {
    padding-top: 1.25rem;
}

.nav-item:last-of-type[b-7uqvogaffu] {
    padding-bottom: 1.25rem;
}

.nav-item[b-7uqvogaffu]  a,
.nav-item[b-7uqvogaffu]  button {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: var(--border-radius-xl);
    height: 3.25rem;
    display: flex;
    align-items: center;
    line-height: 3.25rem;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    padding: 0 1.125rem;
    margin: 0;
    border: none;
    width: 100%;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(8px);
}

.nav-item[b-7uqvogaffu]  a:hover,
.nav-item[b-7uqvogaffu]  button:hover {
    background-color: #ffffff;
    color: var(--primary-brand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-item[b-7uqvogaffu]  a:hover .bi,
.nav-item[b-7uqvogaffu]  button:hover .bi {
    transform: scale(1.15);
}

.nav-item[b-7uqvogaffu]  a.active {
    background: linear-gradient(135deg, var(--primary-brand) 0%, var(--primary-brand-hover) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.nav-item[b-7uqvogaffu]  a.active .bi {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Separator styling */
hr[b-7uqvogaffu] {
    border-color: rgba(255, 255, 255, 0.25) !important;
    margin: 1.25rem 1rem !important;
    opacity: 1 !important;
}

.nav-scrollable[b-7uqvogaffu] {
    display: none;
    background-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-2xl) var(--border-radius-2xl) 0 0;
    margin-top: 0.625rem;
}

.navbar-toggler:checked ~ .nav-scrollable[b-7uqvogaffu] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-7uqvogaffu] {
        display: none;
    }

    .nav-scrollable[b-7uqvogaffu] {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 4rem);
        overflow-y: auto;
        background-color: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(12px);
        margin-top: 0;
        border-radius: 0;
    }

    /* Custom scrollbar for navigation */
    .nav-scrollable[b-7uqvogaffu]::-webkit-scrollbar {
        width: 6px;
    }

    .nav-scrollable[b-7uqvogaffu]::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08);
        border-radius: 3px;
    }

    .nav-scrollable[b-7uqvogaffu]::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 3px;
    }

    .nav-scrollable[b-7uqvogaffu]::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.4);
    }
}
