.dropdown-up.dropdown-options-component {
    bottom: 100%;
    top: auto !important;
    margin-top: 0;
    margin-bottom: 5px;
    box-shadow: 0px 0px 2px 0px #00000040;
}
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-component-wrapper {
    display: inline-flex;
    align-items: center;
    height: fit-content;
    width: 100%;
    gap: 12px;
}

.dropdown-toggle-component {
  box-sizing: border-box;
  width: 100%;
  padding: 4px 10px;
  text-align: left;
  border: 1px solid rgba(111, 111, 111, 1);
  background-color: rgba(255, 255, 255, 1);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  border-radius: 4px !important;
  align-items: center;
  gap: 7px;
  min-width: 160px;
}

.dropdown-toggle-component.variant-lightModeButton {
    border: 1px solid #B1B1B1 !important;
    background-color: #FFFFFF !important;
    color: #314158 !important;
    box-shadow: 0px 0px 3px 0px #0000001A;
    border-radius: 8px !important;
}

.dropdown-toggle-component:focus {
    box-shadow: 0 0 0 1px #0B6F85;
    outline: none;
}

.dropdown-toggle-component.variant-lightModeButton:focus {
    border: 1px solid #E8F0FA !important;
    background-color: #E5DFF0 !important;
    color: #314158 !important;
}

.dropdown-toggle-component.small{
	height:35px !important;
}
.dropdown-toggle-component.medium{
	height:40px !important;
}

.dropdown-toggle-component.large{
	height:47px !important;
}

.dropdown-toggle-component.disabled{
	background-color: rgba(245, 245, 245, 1) !important;
	border: 1px solid rgba(144, 144, 144, 1) !important;
}

.dropdown-toggle-component.disabled span
{
	color: rgba(166, 166, 166, 1) !important;
}

.dropdown-toggle-component.disabled img
{
	opacity: 0.6;
}

.dropdown-toggle-component span {
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 17.9px;
	color: rgba(77, 77, 77, 1);
	text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width:475px;
    flex: 1;
}

.dropdown-toggle-component:hover{
  background-color: rgba(245, 245, 245, 1);
}

.dropdown-toggle-component.variant-lightModeButton:hover:not(:disabled) {
    border: 1px solid #E8F0FA !important;
    background-color: #F2EFF7 !important;
    color: #314158 !important;
}

.dropdown-toggle-component .arrow {
  float: right;
}

.dropdown-toggle-component.showOnHover {
	border: 1px solid transparent;
	background-color: transparent;
}

.dropdown-toggle-component.showOnHover:hover, .dropdown-toggle-component.showOnHover:focus,
.dropdown-container:has(.dropdown-options-component) > .dropdown-toggle-component.showOnHover {
	border: 1px solid rgba(111, 111, 111, 1);
	background-color: rgba(255, 255, 255, 1);
}

.dropdown-options-component {
	position: absolute;
	left: 0;
	width: 100%;
	margin: 5px 0px 0px 0px;
	padding: 5px 0;
	list-style: none;
    box-shadow: 0px 0px 2px 0px #00000040;
	background: #fff;
	z-index: 101;
	font-size: 15px;
	font-weight: 400;
	line-height: 14.32px;
	border-radius: 4px !important;
	max-height:300px;
    overflow:auto;
    min-width:160px;
    color: #4D4D4D;
}

.dropdown-options-component:has(.dropdown-search-bar) {
    padding-top: 0px;
}

#student-list-dropdown .dropdown-toggle-component, #student-list-dropdown .dropdown-options-component{
	min-width: 550px;
}

.dropdown-option {
	cursor: pointer;
	border: none !important;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: flex;
    gap: 5px;
    align-items: center;
    font-size:15px;
    line-height: 18px;
}
.dropdown-option.small {
	height:34px;
	padding-left:15px;
	padding-right:15px;
	padding-top:6px;
	padding-bottom:6px;
	
}
.dropdown-option.medium {
	height:38px;
	padding-left:15px;
	padding-right:15px;
	padding-top:8px;
	padding-bottom:8px;
}
.dropdown-option.large {
	height:42px;
	padding-left:15px;
	padding-right:15px;
	padding-top:10px;
	padding-bottom:10px;
}

.dropdown-option.selected{
	background-color: #E7F1F3;
}

.dropdown-option:hover {
  background: #ECECEC;
}

.dropdown-option-label {
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
}

/* Gray count badge for dropdown options */
.dropdown-option-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 20px;
	padding: 2px 8px;
	background-color: #F3F4F6;
	color: #6B7280;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	flex-shrink: 0;
}

/* Selected option with badge in dropdown button */
.dropdown-selected-with-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.dropdown-selected-label {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dropdown-toggle-component::after 
{
  content: unset;
}
.dropdown-search-bar {
    position: sticky;
    top: 0px;
    background: white;
    border-bottom: 1px solid #E3E3E3;
    display: flex;
    align-items: center;
    padding-bottom: 0px;
	padding-right: 3px;
	padding-left: 3px;
}

.dropdown-search-bar.small {
    height: 38px;
    padding-top:5px;
    margin-bottom:5px;
}
.dropdown-search-bar.medium{
    height: 40px;
    padding-top:5px;
    margin-bottom:5px;
}
.dropdown-search-bar.large {
    height: 42px;
    padding-top:5px;
    margin-bottom:5px;
}
.dropdown-search-bar-input {
	border: none;
	width: calc(100% - 25px);
    font-size: 15px;
    height: 100%;
	text-overflow: ellipsis;
}

.dropdown-search-bar-container {
	padding-left: 12px;
	padding-right: 12px;
}

html body input.dropdown-search-bar-input:focus, html body .dropdown-search-bar-container:has(input.dropdown-search-bar-input:focus){
	outline: none !important;
}

html body .dropdown-search-bar-container:has(input.dropdown-search-bar-input:focus-visible) {
	outline: 2px solid #0B6F85 !important;
	border-radius: 4px !important;
}

html body input.dropdown-search-bar-input:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	border-radius: 4px !important;
}

.search-glass-icon{
	background-image: url(/Dashboard/icons/MagnifyingGlassforSearchBar.svg);
    border-width: 0px;
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
    display: block;
}
.copyrightAccessibilityDropdown ul{
	height:110px;
}

.user-role-dropdown span{
	width:100px;
}

.advancedSearchFieldContainer ul{
	max-height: 140px !important;
}

#livestreamSecuritySection  #geoRestrictionStateSelect button,#livestreamSecuritySection #geoRestrictionCountrySelect button{
	min-width:115px;
}

#livestreamSecuritySection  #geoRestrictionStateSelect ul,#livestreamSecuritySection #geoRestrictionCountrySelect ul{
	min-width:115px;
}
.dropdown-option:focus-visible{
    outline: 2px solid #0B6F85 !important;
    outline-offset: -2px;
    border-radius: 4px !important;
}

.dropdown-focused{
    border-radius: 4px !important;
    border: 1px solid #316D83;
    box-shadow: 0px 0px 4px 0px #316D8340;
}

.dropdown-toggle-component:focus-visible{
	outline: 2px solid #0B6F85 !important;
    outline-offset: -1px !important;
    border-radius: 4px !important;
}

#userRoleRosterBsDropdownButton button, #rosterUserAccountStatus button, .user-lock-dropdown button{
	border:none;
}

#userLockStatusRosterBsDropdownButton button, #userLockStatusRosterBsDropdownButton ul{
	min-width:140px;
}
#acceptedConsentFormTypeDropdownBsDropdownButton{
	max-width:265px;
}

@media only screen and (max-width: 594px) {
 #acceptedConsentFormTypeDropdownBsDropdownButton{
	max-width:200px;
}
}
@media only screen and (max-width: 541px) {
 #acceptedConsentFormTypeDropdownBsDropdownButton{
	max-width:175px;
}
}
#analytics_courses_main #selectFilterDropdownBsDropdownButton{
    max-width: 250px;
    min-width: 250px;
}

#selAddPermissionRole ul, #selAddPermissionAccess ul{
	position:fixed !important;
	left:auto !important;
	width:auto !important;
}
#selectGroupDropdown button{
	width:192px;
}

::-webkit-scrollbar {
	width: 13px !important;
}

 ::-webkit-scrollbar-thumb {
	background-clip: padding-box !important;
    border: 3px solid white;
    border-radius: 10px !important;
} 

::-webkit-scrollbar-track {
    background: transparent !important;
}
#selectDivisionIDDeleteSubAdmin ul{
	position: fixed;
    left: auto;
    width: 90%;
}
.loading-ellipsis {
	margin-top: 6px;
}

#shareAccessTypes button, #shareAccessTypes ul{
	min-width:134px !important;
}

#timeStampDropdownContainer{
	margin-right:6px;
}

.advancedSearchFieldContainer button, .advancedSearchFieldContainer ul{
	max-width:160px;
}

.dropdown-label {
    margin: 0px !important;
    line-height:18px;
    color: rgba(77, 77, 77, 1);
    font-weight: 500;
    font-size: 15px;
    white-space: nowrap;
}

.dropdown-tooltip-wrapper .dropdown-tooltip {
    visibility: hidden;
    opacity: 0;
       background-color: #333;
    color: #fff;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 4px !important;
    font-size: 12px;
    white-space: nowrap;
    overflow: visible !important;
    transition: opacity 0.2s ease;
    min-width: 135px;
    word-wrap: break-word;
    text-wrap: auto;
    z-index: 10;
    text-align: center;
}

.dropdown-tooltip-wrapper .dropdown-tooltip::before {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    width: 0;
    height: 0;
}


.dropdown-tooltip-wrapper:hover .dropdown-tooltip {
    visibility: visible;
    opacity: 1;
}

/* =========================================
   BREADCRUMB VARIANT DROPDOWN STYLES
   (institution | scope | course | folderSelection | subChannel)
   ========================================= */

/* Closed Button State */
.dropdown-toggle-component.variant-institution,
.dropdown-toggle-component.variant-scope,
.dropdown-toggle-component.variant-course,
.dropdown-toggle-component.variant-folderSelection,
.dropdown-toggle-component.variant-subChannel {
    border: 1px solid #D1D5DB;
    border-radius: 6px !important;
    padding: 6px 12px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #4B5563;
    font-size: 14px;
    min-width: 0;
}

/* Left Icon — fixed size, never shrinks */
.dropdown-toggle-component.variant-institution .dropdown-button-left-icon,
.dropdown-toggle-component.variant-scope .dropdown-button-left-icon,
.dropdown-toggle-component.variant-course .dropdown-button-left-icon,
.dropdown-toggle-component.variant-folderSelection .dropdown-button-left-icon,
.dropdown-toggle-component.variant-subChannel .dropdown-button-left-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}

.dropdown-toggle-component.variant-institution .dropdown-button-left-icon img,
.dropdown-toggle-component.variant-scope .dropdown-button-left-icon img,
.dropdown-toggle-component.variant-course .dropdown-button-left-icon img,
.dropdown-toggle-component.variant-folderSelection .dropdown-button-left-icon img,
.dropdown-toggle-component.variant-subChannel .dropdown-button-left-icon img,
.dropdown-toggle-component.variant-institution .dropdown-button-left-icon svg,
.dropdown-toggle-component.variant-scope .dropdown-button-left-icon svg,
.dropdown-toggle-component.variant-course .dropdown-button-left-icon svg,
.dropdown-toggle-component.variant-folderSelection .dropdown-button-left-icon svg,
.dropdown-toggle-component.variant-subChannel .dropdown-button-left-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Label text — fills remaining space, truncates */
.dropdown-toggle-component.variant-institution .dropdown-text-span,
.dropdown-toggle-component.variant-scope .dropdown-text-span,
.dropdown-toggle-component.variant-course .dropdown-text-span,
.dropdown-toggle-component.variant-folderSelection .dropdown-text-span,
.dropdown-toggle-component.variant-subChannel .dropdown-text-span,
.dropdown-toggle-component.variant-institution > span:not(.dropdown-button-left-icon):not(.loading-ellipsis),
.dropdown-toggle-component.variant-scope > span:not(.dropdown-button-left-icon):not(.loading-ellipsis),
.dropdown-toggle-component.variant-course > span:not(.dropdown-button-left-icon):not(.loading-ellipsis),
.dropdown-toggle-component.variant-folderSelection > span:not(.dropdown-button-left-icon):not(.loading-ellipsis),
.dropdown-toggle-component.variant-subChannel > span:not(.dropdown-button-left-icon):not(.loading-ellipsis) {
    flex: 1 1 0;
    min-width: 0;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #4B5563;
}

/* Caret icon — always pushed to far right */
.dropdown-toggle-component.variant-institution .dropdown-caret-icon,
.dropdown-toggle-component.variant-scope .dropdown-caret-icon,
.dropdown-toggle-component.variant-course .dropdown-caret-icon,
.dropdown-toggle-component.variant-folderSelection .dropdown-caret-icon,
.dropdown-toggle-component.variant-subChannel .dropdown-caret-icon {
    flex: 0 0 auto;
    margin-left: auto;
}

/* Open Dropdown Menu Box */
.dropdown-options-component.variant-institution,
.dropdown-options-component.variant-scope,
.dropdown-options-component.variant-course,
.dropdown-options-component.variant-folderSelection,
.dropdown-options-component.variant-subChannel {
    border: 1px solid #E5E7EB;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background-color: #FFFFFF;
    margin-top: 4px;
}

/* Header Section inside Menu */
.dropdown-menu-custom-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #E5E7EB;
    color: #311B58;
    font-weight: 600;
    font-size: 16px;
    background-color: #FFFFFF;
}

.dropdown-menu-header-icon {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.dropdown-menu-header-icon svg,
.dropdown-menu-header-icon img {
    width: 20px;
    height: 20px;
}

/* List Item Options */
.dropdown-options-component.variant-institution .dropdown-option,
.dropdown-options-component.variant-scope .dropdown-option,
.dropdown-options-component.variant-course .dropdown-option,
.dropdown-options-component.variant-folderSelection .dropdown-option,
.dropdown-options-component.variant-subChannel .dropdown-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #4B5563;
    background-color: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.15s ease;
}

.dropdown-options-component.variant-institution .dropdown-option:last-child,
.dropdown-options-component.variant-scope .dropdown-option:last-child,
.dropdown-options-component.variant-course .dropdown-option:last-child,
.dropdown-options-component.variant-folderSelection .dropdown-option:last-child,
.dropdown-options-component.variant-subChannel .dropdown-option:last-child {
    border-bottom: none;
}

/* List Item Image/Icon wrapper */
.dropdown-options-component.variant-institution .dropdown-option-img,
.dropdown-options-component.variant-scope .dropdown-option-img,
.dropdown-options-component.variant-course .dropdown-option-img,
.dropdown-options-component.variant-folderSelection .dropdown-option-img,
.dropdown-options-component.variant-subChannel .dropdown-option-img {
    display: flex;
    align-items: center;
    margin-right: 10px;
    flex: 0 0 auto;
}

.dropdown-options-component.variant-institution .dropdown-option-img img,
.dropdown-options-component.variant-scope .dropdown-option-img img,
.dropdown-options-component.variant-course .dropdown-option-img img,
.dropdown-options-component.variant-folderSelection .dropdown-option-img img,
.dropdown-options-component.variant-subChannel .dropdown-option-img img,
.dropdown-options-component.variant-institution .dropdown-option-img svg,
.dropdown-options-component.variant-scope .dropdown-option-img svg,
.dropdown-options-component.variant-course .dropdown-option-img svg,
.dropdown-options-component.variant-folderSelection .dropdown-option-img svg,
.dropdown-options-component.variant-subChannel .dropdown-option-img svg {
    width: 18px;
    height: 18px;
}

/* Hover State */
.dropdown-options-component.variant-institution .dropdown-option:hover,
.dropdown-options-component.variant-scope .dropdown-option:hover,
.dropdown-options-component.variant-course .dropdown-option:hover,
.dropdown-options-component.variant-folderSelection .dropdown-option:hover,
.dropdown-options-component.variant-subChannel .dropdown-option:hover {
    background-color: #ECECEC;
}

/* Selected State */
.dropdown-options-component.variant-institution .dropdown-option.selected,
.dropdown-options-component.variant-scope .dropdown-option.selected,
.dropdown-options-component.variant-course .dropdown-option.selected,
.dropdown-options-component.variant-folderSelection .dropdown-option.selected,
.dropdown-options-component.variant-subChannel .dropdown-option.selected {
    background-color: #E9F1F3;
    color: #374151;
}