/* /Layout/AdminLayout.razor.rz.scp.css */
/* AdminLayout Scoped CSS */

/* Overrides for Admin Theme */
.f1-admin[b-y2fgbz29qr] {
    background: var(--danger) !important;
    /* Using dangerous red for admin */
}

/* Ensure layout variables are available if needed, but they are usually global */
/* Header Profile Styles */
.user-profile-header[b-y2fgbz29qr] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    transition: background 0.2s;
}

.user-profile-header:hover[b-y2fgbz29qr] {
    background: rgba(0, 0, 0, 0.03);
}

.avatar-small[b-y2fgbz29qr] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-info-header[b-y2fgbz29qr] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: right;
}

.user-name[b-y2fgbz29qr] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.user-role[b-y2fgbz29qr] {
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 500;
}

.vr[b-y2fgbz29qr] {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    align-self: center;
}
/* /Layout/AdminNavMenu.razor.rz.scp.css */
/* Sidebar Header */
.sidebar-header[b-gf82c3xgdw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo[b-gf82c3xgdw] {
    font-size: 1.5rem;
    font-weight: 700;
    /* Admin uses Danger/Red Gradient */
    background: linear-gradient(135deg, var(--danger) 0%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s;
}

.logo-icon[b-gf82c3xgdw] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    /* Admin Icon Gradient */
    background: linear-gradient(135deg, var(--danger), #fca5a5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.toggle-btn[b-gf82c3xgdw] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-btn:hover[b-gf82c3xgdw] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--danger);
}

/* Navigation */
.nav-menu[b-gf82c3xgdw] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* Deep selector to affect NavLink's anchor tag */
[b-gf82c3xgdw] .nav-item {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
}

[b-gf82c3xgdw] .nav-item:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--danger);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

[b-gf82c3xgdw] .nav-item.active {
    /* Admin Active State (Red tint) */
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

[b-gf82c3xgdw] .material-icons-round {
    font-size: 1.5rem;
}

/* Group Headers */
.nav-group-header[b-gf82c3xgdw] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    margin-top: 0.5rem;
    height: 20px;
    opacity: 0.8;
}

.nav-div[b-gf82c3xgdw] {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 0.5rem 1rem;
}

/* Collapse Logic handled via BLazor Class Check */
.nav-group-header.display-none[b-gf82c3xgdw], 
.nav-div.display-none[b-gf82c3xgdw] {
    display: none;
}
/* /Layout/CompanyLayout.razor.rz.scp.css */
/* CompanyLayout Scoped CSS */

/* Overrides for Company Theme (Indigo/Purple base) */
.f1-company[b-34y60wt9rq] {
    background: var(--primary) !important;
}

/* Header Profile Styles */
.user-profile-header[b-34y60wt9rq] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    transition: background 0.2s;
}

.user-profile-header:hover[b-34y60wt9rq] {
    background: rgba(0, 0, 0, 0.03);
}

.avatar-small[b-34y60wt9rq] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.user-info-header[b-34y60wt9rq] {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: right;
}

.user-name[b-34y60wt9rq] {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.user-role[b-34y60wt9rq] {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

.vr[b-34y60wt9rq] {
    width: 1px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.1);
    align-self: center;
}
/* /Layout/CompanyNavMenu.razor.rz.scp.css */
/* Sidebar Header */
.sidebar-header[b-cuj7ic26yk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo[b-cuj7ic26yk] {
    font-size: 1.5rem;
    font-weight: 700;
    /* Company uses Primary Gradient */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-main) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s;
}

.logo-icon[b-cuj7ic26yk] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    /* Company Icon Gradient */
    background: linear-gradient(135deg, var(--primary-main), var(--secondary-light));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-light);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.toggle-btn[b-cuj7ic26yk] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-btn:hover[b-cuj7ic26yk] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

/* Navigation */
.nav-menu[b-cuj7ic26yk] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex: 1;
}

/* Deep selector to affect NavLink's anchor tag */
[b-cuj7ic26yk] .nav-item {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
}

[b-cuj7ic26yk] .nav-item:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

[b-cuj7ic26yk] .nav-item.active {
    /* Company Active State matched to Aero Nature */
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--primary-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

[b-cuj7ic26yk] .material-icons-round {
    font-size: 1.5rem;
}

/* Group Headers */
.nav-group-header[b-cuj7ic26yk] {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1rem;
    margin-top: 0.5rem;
    /* Reduced from default if it was larger, or just explicit */
    margin-bottom: 0.25rem;
    height: 20px;
    opacity: 0.8;
}

/* Divider */
.nav-div[b-cuj7ic26yk] {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 0.25rem 1rem;
}

/* Collapse Logic handled via BLazor Class Check */
.nav-group-header.display-none[b-cuj7ic26yk],
.nav-div.display-none[b-cuj7ic26yk] {
    display: none;
}

/* Submenu Styles */
.nav-submenu[b-cuj7ic26yk] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.nav-submenu.expanded[b-cuj7ic26yk] {
    max-height: 500px;
    /* Arbitrary large value for transition */
}

[b-cuj7ic26yk] .nav-item-sub {
    padding: 0.6rem 1rem 0.6rem 3.5rem;
    /* Indented */
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    position: relative;
}

[b-cuj7ic26yk] .nav-item-sub:hover {
    color: var(--primary-main);
    background: rgba(255, 255, 255, 0.4);
}

[b-cuj7ic26yk] .nav-item-sub.active {
    color: var(--primary-dark);
    font-weight: 500;
}

[b-cuj7ic26yk] .nav-item-sub::before {
    content: '';
    position: absolute;
    left: 2.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-muted);
    opacity: 0.5;
}

[b-cuj7ic26yk] .nav-item-sub.active::before {
    background-color: var(--primary-main);
    opacity: 1;
}

.expand-icon[b-cuj7ic26yk] {
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.nav-item.expanded .expand-icon[b-cuj7ic26yk] {
    transform: rotate(180deg);
}
/* /Layout/MainLayout.razor.rz.scp.css */
/* MainLayout styles are now global in app.css */
/* /Layout/NavMenu.razor.rz.scp.css */
/* Sidebar Header */
.sidebar-header[b-o5nbuzbmiu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo[b-o5nbuzbmiu] {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-main) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s;
}

.logo-icon[b-o5nbuzbmiu] {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-main), var(--secondary-light));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-light);
    display: grid;
    place-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.toggle-btn[b-o5nbuzbmiu] {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.toggle-btn:hover[b-o5nbuzbmiu] {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-main);
}

/* Navigation */
.nav-menu[b-o5nbuzbmiu] {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    flex: 1;
    /* Pushes profile to bottom if container allows */
}

/* Deep selector because NavLink renders an anchor tag */
[b-o5nbuzbmiu] .nav-item {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
}

[b-o5nbuzbmiu] .nav-item:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--primary-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

[b-o5nbuzbmiu] .nav-item.active {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--primary-dark);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

[b-o5nbuzbmiu] .material-icons-round {
    font-size: 1.5rem;
}

/* User Profile Section */
.user-profile[b-o5nbuzbmiu] {
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.avatar[b-o5nbuzbmiu] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-info div:first-child[b-o5nbuzbmiu] {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-info div:last-child[b-o5nbuzbmiu] {
    color: var(--text-muted);
    font-size: 0.8rem;
}
