/* /Pages/Account/Components/BillingSettings.razor.rz.scp.css */
/* Minimal custom CSS - Bootstrap handles most styling */
/* /Pages/Account/Components/NotificationSettings.razor.rz.scp.css */
/* Minimal custom CSS - Bootstrap handles most styling */
/* /Pages/Account/Components/OrganisationSettings.razor.rz.scp.css */
/* Minimal custom CSS - leveraging Bootstrap classes for consistency */

.rdt-organisation-section[b-dicdspb8ol] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    background-color: #ffffff;
}

.rdt-organisation-section h4[b-dicdspb8ol] {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

/* Form styling consistent with other account pages */
.form-label[b-dicdspb8ol] {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-control[b-dicdspb8ol] {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem;
}

.form-control:focus[b-dicdspb8ol] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
/* /Pages/Account/Components/PreferencesSettings.razor.rz.scp.css */
/* Minimal custom CSS - Bootstrap handles most styling */
/* /Pages/Account/Components/ProfileSettings.razor.rz.scp.css */
.rdt-profile-avatar-section[b-bs0o9cs1qe] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    background-color: #f8f9fa;
}

.rdt-profile-avatar .rdt-avatar-circle[b-bs0o9cs1qe] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 1.5rem;
}

@media (min-width: 576px) {
    .rdt-profile-avatar .rdt-avatar-circle[b-bs0o9cs1qe] {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
}

.rdt-profile-avatar-actions h5[b-bs0o9cs1qe] {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.rdt-profile-avatar-actions p[b-bs0o9cs1qe] {
    font-size: 14px;
}

.rdt-profile-content .form-label[b-bs0o9cs1qe] {
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.rdt-profile-content .form-control[b-bs0o9cs1qe] {
    border-radius: 6px;
    border: 1px solid #ced4da;
    padding: 0.75rem;
}

.rdt-profile-content .form-control:focus[b-bs0o9cs1qe] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}
/* /Pages/Account/Components/SecuritySettings.razor.rz.scp.css */
.rdt-security-section[b-duz3winz8l] {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    background-color: #ffffff;
}

.rdt-security-section h4[b-duz3winz8l] {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.rdt-sessions-list[b-duz3winz8l], 
.rdt-security-log[b-duz3winz8l] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background-color: #f8f9fa;
}

.rdt-session-item[b-duz3winz8l], 
.rdt-log-item[b-duz3winz8l] {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
}

.rdt-session-item:last-child[b-duz3winz8l], 
.rdt-log-item:last-child[b-duz3winz8l] {
    border-bottom: none;
}

/* Custom styles that complement Bootstrap - minimal custom CSS needed */
.rdt-sessions-list .list-group-item:first-child[b-duz3winz8l],
.rdt-security-log .list-group-item:first-child[b-duz3winz8l] {
    border-top: none;
}

.rdt-sessions-list .list-group-item:last-child[b-duz3winz8l],
.rdt-security-log .list-group-item:last-child[b-duz3winz8l] {
    border-bottom: none;
}
/* /Pages/Account/Settings.razor.rz.scp.css */
/* Settings page layout - minimal adjustments needed */
.rdt-settings-page[b-v59b9wl3f4] {
    /* Let RdtSidebarSettings handle its own positioning */
}

/* Ensure proper content spacing with the repositioned settings nav */
.rdt-settings-page .col:not(.col-auto)[b-v59b9wl3f4] {
    margin-left: -3rem; /* Compensate for the settings nav moving left */
    padding-left: 3rem; /* Add back proper spacing */
}

/* Hover effect for settings cards */
.rdt-hover-lift[b-v59b9wl3f4] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rdt-hover-lift:hover[b-v59b9wl3f4] {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
/* /Pages/Policy/Policy.razor.rz.scp.css */
.row.g-3[b-3s02qhe4e2] {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}
/* /Shared/Components/Library/RdtButton.razor.rz.scp.css */
.btn[b-7n9mn0o4ya] {
    height: 40px;
    padding: 0 16px 0 12px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.btn-primary[b-7n9mn0o4ya] {
    background-color: #1f2937;
    color: #ffffff;
    padding-left: 12px;
    padding-right: 16px;
}

.btn-primary:hover:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #374151;
}

.btn-primary:active:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #111827;
}

.btn-primary:disabled[b-7n9mn0o4ya] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary[b-7n9mn0o4ya] {
    background-color: #f2f2f2;
    color: #1f2937;
    border: 1px solid #1f2937 !important;
    padding-left: 13px;
    padding-right: 17px;
}

.btn-secondary:hover:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #e8e8e8;
}

.btn-secondary:active:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #d9d9d9;
}

.btn-secondary:disabled[b-7n9mn0o4ya] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-tertiary[b-7n9mn0o4ya] {
    background-color: #ffffff;
    color: #1f2937;
    border: 1px solid #e8e8e8 !important;
    padding-left: 13px;
    padding-right: 17px;
}

.btn-tertiary:hover:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #f9f9f9;
}

.btn-tertiary:active:not(:disabled)[b-7n9mn0o4ya] {
    background-color: #f2f2f2;
}

.btn-tertiary:disabled[b-7n9mn0o4ya] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-tertiary span[b-7n9mn0o4ya],
.btn-tertiary i[b-7n9mn0o4ya] {
    opacity: 0.8;
}

.btn i[b-7n9mn0o4ya] {
    flex-shrink: 0;
}
/* /Shared/Components/Library/RdtSettingsNavigation.razor.rz.scp.css */
.rdt-settings-navigation[b-mibsva5liu] {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e9ecef;
    min-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.rdt-settings-navigation .nav[b-mibsva5liu] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: 32px; /* Bigger gap from the top */
}

/* Base styles for nav items - using ::deep to penetrate CSS isolation */
[b-mibsva5liu] .rdt-settings-nav-item {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 15px;
    font-weight: 400;
    color: #6c757d !important; /* Grey color for nav items */
    transition: all 0.15s ease;
    margin: 0;
    width: 100%;
    text-align: left;
    position: relative;
    line-height: 1.4;
    border-left: 3px solid transparent !important; /* Space for colored outline */
    text-decoration: none !important;
    cursor: pointer;
}

/* Override all Bootstrap link states with ::deep */
[b-mibsva5liu] .rdt-settings-nav-item,
[b-mibsva5liu] .rdt-settings-nav-item:link,
[b-mibsva5liu] .rdt-settings-nav-item:visited,
[b-mibsva5liu] .rdt-settings-nav-item:focus,
[b-mibsva5liu] .rdt-settings-nav-item:hover,
[b-mibsva5liu] a.rdt-settings-nav-item,
[b-mibsva5liu] a.rdt-settings-nav-item:link,
[b-mibsva5liu] a.rdt-settings-nav-item:visited,
[b-mibsva5liu] a.rdt-settings-nav-item:focus {
    color: #6c757d !important;
    text-decoration: none !important;
    background-color: transparent !important;
}

/* Hover states */
[b-mibsva5liu] .rdt-settings-nav-item:hover:not(.active):not(.disabled),
[b-mibsva5liu] a.rdt-settings-nav-item:hover:not(.active):not(.disabled) {
    background-color: #f8f9fa !important; /* Light grey background on hover */
    color: #495057 !important;
    text-decoration: none !important;
}

/* Active states */
[b-mibsva5liu] .rdt-settings-nav-item.active,
[b-mibsva5liu] a.rdt-settings-nav-item.active {
    background-color: #f8f9fa !important; /* Light grey background for active state */
    color: #495057 !important;
    font-weight: 500;
    border-left: 3px solid #adb5bd !important; /* Light grey colored outline for active state */
    text-decoration: none !important;
}

[b-mibsva5liu] .rdt-settings-nav-item.active:hover,
[b-mibsva5liu] a.rdt-settings-nav-item.active:hover {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    text-decoration: none !important;
}

/* Disabled states */
[b-mibsva5liu] .rdt-settings-nav-item.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* Icon styles */
[b-mibsva5liu] .rdt-settings-nav-item i {
    width: 18px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6c757d !important; /* Grey color for icons */
}

[b-mibsva5liu] .rdt-settings-nav-item.active i {
    color: #495057 !important; /* Slightly darker grey for active icons */
}

[b-mibsva5liu] .rdt-settings-nav-item .link-text {
    font-size: 15px;
    font-weight: inherit;
    color: inherit !important; /* Ensure text inherits the parent color */
}

/* Sign out specific styling */
[b-mibsva5liu] .rdt-settings-nav-signout {
    margin-top: auto;
    border: none !important;
}

[b-mibsva5liu] .rdt-settings-nav-signout:hover {
    background-color: #fff5f5 !important;
}

[b-mibsva5liu] .rdt-settings-nav-signout .text-danger,
[b-mibsva5liu] .rdt-settings-nav-signout i.text-danger {
    color: #dc3545 !important;
}

[b-mibsva5liu] .rdt-settings-nav-signout:hover .text-danger,
[b-mibsva5liu] .rdt-settings-nav-signout:hover i.text-danger {
    color: #c82333 !important;
}

/* Override Bootstrap hr styling for cleaner divider */
.rdt-settings-navigation hr[b-mibsva5liu] {
    border-top: 1px solid #e9ecef;
    opacity: 1;
}

/* Remove Bootstrap focus styles that don't match design */
[b-mibsva5liu] .rdt-settings-nav-item:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Additional nuclear-level overrides for stubborn Bootstrap styles */
[b-mibsva5liu] a[href].rdt-settings-nav-item {
    color: #6c757d !important;
    text-decoration: none !important;
}

[b-mibsva5liu] a[href].rdt-settings-nav-item:hover:not(.active) {
    color: #495057 !important;
    background-color: #f8f9fa !important;
    text-decoration: none !important;
}

[b-mibsva5liu] a[href].rdt-settings-nav-item.active {
    color: #495057 !important;
    background-color: #f8f9fa !important;
    border-left: 3px solid #adb5bd !important;
    text-decoration: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rdt-settings-navigation[b-mibsva5liu] {
        width: 100%;
        position: relative;
        min-height: auto;
    }
}
/* /Shared/Components/Library/RdtSidebar.razor.rz.scp.css */
.rdt-sidebar.nav[b-jsdr7h9lxq] {
  width: 232px !important;
  background: linear-gradient(180deg, #1E293B 0%, rgba(15, 23, 42, 0.93) 100%);
  display: flex;
  flex-direction: column;
  height: 100vh;
  transition: width 0.3s ease;
  color: rgba(255, 255, 255, 0.64);
}

  .rdt-sidebar.nav.collapsed[b-jsdr7h9lxq] {
    width: 72px !important;
  }

    .rdt-sidebar.nav.collapsed .rdt-nav-group[b-jsdr7h9lxq] {
        width: 72px;
    }

      .rdt-nav-scrollable[b-jsdr7h9lxq] {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-bottom: 20px;
        overflow-y: auto;
      }

      .rdt-logo-container[b-jsdr7h9lxq] {
        height: 80px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin-bottom: 20px;
        flex-shrink: 0;
        padding: 16px;
      }

      .rdt-logo-box[b-jsdr7h9lxq] {
        width: 100%;
        height: 100%;
      }

        .rdt-logo-box img[b-jsdr7h9lxq] {
          width: auto;
          height: 100%;
          max-width: 100%;
          object-fit: contain;
        }

      .rdt-nav-group[b-jsdr7h9lxq] {
        padding: 0 12px;
        position: relative;
        margin-bottom: 8px;
      }

      .rdt-group-header[b-jsdr7h9lxq] {
        color: rgba(255, 255, 255, 0.50);
        font-size: 10px;
        font-weight: 400;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        padding-left: 8px;
      }

      .rdt-divider[b-jsdr7h9lxq] {
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        margin: 16px 8px 20px 8px;
      }

      .rdt-icon-wrapper[b-jsdr7h9lxq] {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 12px;
      }

      .link-text[b-jsdr7h9lxq] {
        font-size: 14px;
        font-weight: 400;
        letter-spacing: -0.14px;
      }

      .rdt-user-profile[b-jsdr7h9lxq] {
        padding: 10px 12px;
        border-radius: 10px;
      }

      @media (max-width: 640.98px) {
        .rdt-sidebar.nav[b-jsdr7h9lxq] {
          width: 100% !important;
          height: auto;
        }
      }
/* /Shared/Components/Library/RdtSidebarItem.razor.rz.scp.css */
.nav-item-link[b-kjufuii1if] {
	position: relative;
	height: 36px;
	padding: 6px 12px;
	border-radius: 6px;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	color: rgba(255, 255, 255, 0.64);
	border: 1px solid transparent;
	font-size: 13px;
	font-weight: 400;
	line-height: 23px;
	letter-spacing: 0.2px;
	background-color: transparent;
}

.nav-item-link:hover:not(.active):not(.disabled)[b-kjufuii1if] {
	background-color: rgba(242, 242, 242, 0.05);
	color: rgba(255, 255, 255, 0.64);
}

.nav-item-link.active[b-kjufuii1if] {
	background-color: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
}

.nav-item-link:focus-visible[b-kjufuii1if] {
	outline: none;
	background-color: rgba(242, 242, 242, 0.06);
	border-color: var(--color-supporting-deep-blue, #3b5bdb);
	color: rgba(255, 255, 255, 0.64);
}

.nav-item-link.disabled[b-kjufuii1if] {
	opacity: 0.3;
	pointer-events: none;
	cursor: not-allowed;
	background-color: transparent;
}

.nav-item-link i[b-kjufuii1if] {
	font-size: 18px;
}

.nav-item-link .link-text[b-kjufuii1if] {
	flex-shrink: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* /Shared/Components/Library/RdtSidebarSecondary.razor.rz.scp.css */
.rdt-sidebar-secondary[b-d1bxtbd4jb] {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e9ecef;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrollbars */
    display: flex;
    flex-direction: column;
    position: relative;
    left: -3rem; /* Move secondary nav left to close gap with main sidebar */
    transition: width 0.3s ease, left 0.3s ease;
}

/* Collapsed state - much narrower for icon-only display */
.rdt-sidebar-secondary.collapsed[b-d1bxtbd4jb] {
    width: 48px; /* Reduced from 60px to 48px for more compact look */
    left: -3rem; /* Keep same left position when collapsed */
    overflow-x: hidden; /* Prevent horizontal scrollbars in collapsed state */
}

/* Header Section Styles */
.rdt-sidebar-header[b-d1bxtbd4jb] {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom-color: #dee2e6;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.rdt-sidebar-header-content h6[b-d1bxtbd4jb] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.rdt-sidebar-header-content h5[b-d1bxtbd4jb] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.rdt-sidebar-header-content p[b-d1bxtbd4jb] {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

.rdt-sidebar-header-collapsed[b-d1bxtbd4jb] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    width: 100%;
    max-width: 48px; /* Ensure header doesn't exceed collapsed width */
}

/* Only change: Make header icon smaller */
.rdt-sidebar-header-collapsed i[b-d1bxtbd4jb] {
    font-size: 1rem !important; /* Reduced from fs-4 (1.5rem) to 1rem */
}

/* Hide header content when collapsed */
.rdt-sidebar-secondary.collapsed .rdt-sidebar-header-content[b-d1bxtbd4jb] {
    display: none !important;
}

/* Show collapsed header when collapsed */
.rdt-sidebar-secondary:not(.collapsed) .rdt-sidebar-header-collapsed[b-d1bxtbd4jb] {
    display: none !important;
}

/* Utility classes for header */
.letter-spacing-1[b-d1bxtbd4jb] {
    letter-spacing: 0.5px;
}

.fs-7[b-d1bxtbd4jb] {
    font-size: 0.875rem;
}

.rdt-sidebar-secondary .nav[b-d1bxtbd4jb] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    padding-top: 32px; /* Bigger gap from the top */
    gap: 0 !important; /* Remove any gaps between items */
    padding-bottom: 60px; /* Space for collapse button */
    width: 100%; /* Ensure nav doesn't exceed sidebar width */
    max-width: 100%; /* Prevent overflow */
}

/* Adjust navigation padding when header is present */
.rdt-sidebar-secondary .nav.px-2[b-d1bxtbd4jb] {
    padding-top: 1rem; /* Reduced padding when header is present */
}

/* Force remove Bootstrap gap classes */
.rdt-sidebar-secondary .nav.gap-2[b-d1bxtbd4jb],
.rdt-sidebar-secondary .nav.flex-column.gap-2[b-d1bxtbd4jb] {
    gap: 0 !important;
}

/* Remove any margins from RdtSidebarItem containers */
.rdt-sidebar-secondary .nav > *[b-d1bxtbd4jb] {
    margin: 0 !important;
}

/* Hide text elements when collapsed - target the correct span elements */
.rdt-sidebar-secondary.collapsed[b-d1bxtbd4jb]  .link-text,
.rdt-sidebar-secondary.collapsed span.link-text[b-d1bxtbd4jb],
.rdt-sidebar-secondary.collapsed hr[b-d1bxtbd4jb] {
    display: none !important;
}

/* Ensure text is visible when expanded */
.rdt-sidebar-secondary:not(.collapsed)[b-d1bxtbd4jb]  .link-text,
.rdt-sidebar-secondary:not(.collapsed) span.link-text[b-d1bxtbd4jb] {
    display: inline !important;
}

/* Center icons when collapsed - tighter padding */
.rdt-sidebar-secondary.collapsed[b-d1bxtbd4jb]  .nav-item-link {
    justify-content: center !important;
    padding: 10px 0 !important; /* Remove horizontal padding completely for perfect centering */
    text-align: center !important;
    width: 100% !important;
    max-width: 48px !important; /* Ensure nav items don't exceed collapsed width */
    margin: 0 !important;
}

.rdt-sidebar-secondary.collapsed[b-d1bxtbd4jb]  .nav-item-link i {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Keep sign-out button visible but center its icon */
.rdt-sidebar-secondary.collapsed .rdt-secondary-nav-signout[b-d1bxtbd4jb] {
    justify-content: center !important;
    padding: 10px 0 !important; /* Remove horizontal padding completely for perfect centering */
    text-align: center !important;
    display: flex !important; /* Ensure button stays visible */
    width: 100% !important;
    max-width: 48px !important; /* Ensure sign out button doesn't exceed collapsed width */
    margin: 0 !important;
}

.rdt-sidebar-secondary.collapsed .rdt-secondary-nav-signout i[b-d1bxtbd4jb] {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* Override RdtSidebarItem styles for light theme */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link {
    height: auto !important;
    padding: 12px 16px !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #6c757d !important; /* Grey color for nav items */
    background-color: transparent !important;
    border: none !important;
    border-left: 3px solid transparent !important; /* Space for colored outline */
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
}

/* Hover states for RdtSidebarItem */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link:hover:not(.active):not(.disabled) {
    background-color: #f8f9fa !important; /* Light grey background on hover */
    color: #495057 !important;
}

/* Active states for RdtSidebarItem */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link.active {
    background-color: #f8f9fa !important; /* Light grey background for active state */
    color: #495057 !important;
    font-weight: 500 !important;
    border-left: 3px solid #adb5bd !important; /* Light grey colored outline for active state */
}

.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link.active:hover {
    background-color: #f8f9fa !important;
    color: #495057 !important;
}

/* Disabled states for RdtSidebarItem */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link.disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Icon styles for RdtSidebarItem with improved centering */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link i {
    width: 18px !important;
    font-size: 16px !important;
    color: #6c757d !important; /* Grey color for icons */
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    transition: margin-right 0.3s ease, margin-left 0.3s ease !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link.active i {
    color: #495057 !important; /* Slightly darker grey for active icons */
}

/* Text styles for RdtSidebarItem with smooth transitions */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link .link-text {
    font-size: 15px !important;
    font-weight: inherit !important;
    color: inherit !important;
    flex: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

/* Focus styles for RdtSidebarItem */
.rdt-sidebar-secondary[b-d1bxtbd4jb]  .nav-item-link:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    background-color: #f8f9fa !important;
    border-color: transparent !important;
}

/* Sign out button styling with improved transitions */
.rdt-secondary-nav-signout[b-d1bxtbd4jb] {
    border: none !important;
    background: none !important;
    border-radius: 0 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: #dc3545 !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    width: 100% !important;
    text-align: left !important;
    position: relative !important;
    line-height: 1.4 !important;
    border-left: 3px solid transparent !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin-top: auto !important;
    display: flex !important; /* Ensure button is always visible */
    align-items: center !important;
}

.rdt-secondary-nav-signout:hover[b-d1bxtbd4jb] {
    background-color: #fff5f5 !important;
    color: #c82333 !important;
    text-decoration: none !important;
}

.rdt-secondary-nav-signout i.text-danger[b-d1bxtbd4jb] {
    color: inherit !important;
    width: 18px !important;
    font-size: 16px !important;
    transition: margin-right 0.3s ease, margin-left 0.3s ease !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Target the specific span element in the sign-out button */
.rdt-secondary-nav-signout span.link-text[b-d1bxtbd4jb] {
    color: inherit !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    flex: 1 !important;
}

/* Divider styling with smooth transitions */
.rdt-sidebar-secondary hr[b-d1bxtbd4jb] {
    border-top: 1px solid #e9ecef;
    opacity: 1;
    margin: 16px 12px;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Collapse Toggle Button - DevOps Style */
.rdt-sidebar-collapse-btn[b-d1bxtbd4jb] {
    position: absolute;
    bottom: 16px;
    right: 12px; /* Adjusted to fit better in narrower collapsed state */
    width: 24px; /* Slightly smaller to fit in 48px width */
    height: 24px; /* Slightly smaller to fit in 48px width */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.rdt-sidebar-collapse-btn:hover[b-d1bxtbd4jb] {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.rdt-sidebar-collapse-btn:active[b-d1bxtbd4jb] {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rdt-sidebar-collapse-btn i[b-d1bxtbd4jb] {
    font-size: 10px; /* Slightly smaller icon */
    color: #6c757d;
    transition: transform 0.3s ease, color 0.2s ease;
}

.rdt-sidebar-collapse-btn:hover i[b-d1bxtbd4jb] {
    color: #495057;
}

/* Rotate chevron when collapsed */
.rdt-sidebar-collapse-btn.collapsed i[b-d1bxtbd4jb] {
    transform: rotate(180deg);
}

/* Adjust collapse button position when collapsed */
.rdt-sidebar-secondary.collapsed .rdt-sidebar-collapse-btn[b-d1bxtbd4jb] {
    right: 12px; /* Centered in the 48px width */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rdt-sidebar-secondary[b-d1bxtbd4jb] {
        width: 100%;
        position: relative;
        min-height: auto;
        left: 0; /* Remove left positioning on mobile */
    }

    .rdt-sidebar-secondary.collapsed[b-d1bxtbd4jb] {
        width: 100%;
    }

    /* Hide collapse button on mobile */
    .rdt-sidebar-collapse-btn[b-d1bxtbd4jb] {
        display: none;
    }
}
