/* Global Top Navigation Bar Override */
.header_area,
.header_area.navbar_fixed,
#sticky-header {
    background: rgb(0, 181, 192) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Main menu top-level links */
.header_area .main_menu #mobile-menu > li > a,
.header_area .main_menu .menu_dropdown > ul > li > a {
    color: var(--system_secendory_color) !important;
}

.header_area .main_menu #mobile-menu > li > a:hover,
.header_area .main_menu .menu_dropdown > ul > li > a:hover,
.header_area .main_menu #mobile-menu > li.submenu_active > a,
.header_area .main_menu .menu_dropdown > ul > li.submenu_active > a {
    color: var(--system_secendory_color) !important;
    opacity: 0.85;
}

/* Ensure submenu and mega-menu links remain dark for readability */
.header_area .main_menu .submenu li a,
.header_area .main_menu .mega_menu li a,
.header_area .main_menu .mega_menu_list li a {
    color: #2b3d4e !important;
}

.header_area .main_menu .submenu li a:hover,
.header_area .main_menu .mega_menu li a:hover,
.header_area .main_menu .mega_menu_list li a:hover {
    color: rgb(0, 181, 192) !important;
    opacity: 1 !important;
}

/* Categories dropdown link */
.header_area .categories_menu {
    color: var(--system_secendory_color) !important;
}
.header_area .categories_menu span,
.header_area .categories_menu i {
    color: var(--system_secendory_color) !important;
}

/* Search input icons fill */
.header_area .category_search .theme_search_field button svg path {
    fill: var(--system_secendory_color) !important;
}

.header_area .category_search .theme_search_field input {
    color: var(--system_secendory_color) !important;
    border-color: rgba(31, 43, 64, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header_area .category_search .theme_search_field input::placeholder {
    color: rgba(31, 43, 64, 0.7) !important;
}

/* User profile display name */
.header_area .profile_info span {
    color: var(--system_secendory_color) !important;
}

/* Language selector & Currency selector formatting */
.header_area .translator-switch .nice_Select,
.header_area .nice_Select {
    color: var(--system_secendory_color) !important;
    border-color: rgba(31, 43, 64, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.header_area .nice_Select::after {
    border-color: var(--system_secendory_color) !important;
}

.header_area .nice_Select .list {
    background-color: #ffffff !important;
}

.header_area .nice_Select .option {
    color: #202e3b !important;
}

.header_area .nice_Select .option:hover,
.header_area .nice_Select .option.selected.focus {
    background-color: rgba(0, 181, 192, 0.1) !important;
}

/* Show full course/class titles without ellipsis truncation */
.course-item-title,
.course-item-info .title,
.couse_wizged .course_content h4,
.quiz_wizged .course_content h4,
.course_content h4,
.course__details_head .title,
.classes-item-content h4,
.noBrake,
.course_content .noBrake,
.course_content h4.noBrake {
    overflow: visible !important;
    text-overflow: clip !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    line-clamp: unset !important;
    -webkit-line-clamp: unset !important;
    white-space: normal !important;
}

/* Fix width and visual layout of the filter dropdown to look premium and modern */
.short_select .nice-select.small_select,
.short_select .nice-select,
.small_select.nice-select,
.small_select.nice_Select,
.nice-select.small_select,
.nice_Select.small_select {
    width: 220px !important;
    min-width: 220px !important;
    height: 42px !important;
    line-height: 40px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    padding-left: 16px !important;
    padding-right: 36px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    transition: all 0.2s ease-in-out !important;
}

.short_select .nice-select.small_select:hover,
.short_select .nice-select:hover,
.small_select.nice-select:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03) !important;
}

.short_select .nice-select.small_select:focus,
.short_select .nice-select:focus,
.short_select .nice-select.small_select.open,
.short_select .nice-select.open,
.small_select.nice-select.open {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.short_select .nice-select .current,
.small_select.nice-select .current {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
}

.short_select .nice-select::after,
.small_select.nice-select::after {
    border-bottom: 2px solid #64748b !important;
    border-right: 2px solid #64748b !important;
    content: '' !important;
    display: block !important;
    height: 6px !important;
    margin-top: -4px !important;
    right: 16px !important;
    top: 50% !important;
    width: 6px !important;
    transform: rotate(45deg) !important;
    transition: transform 0.2s ease-in-out !important;
}

.short_select .nice-select.open::after,
.small_select.nice-select.open::after {
    transform: rotate(-135deg) !important;
    margin-top: -2px !important;
}

.short_select .nice-select .list,
.small_select.nice-select .list {
    width: 220px !important;
    min-width: 220px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05) !important;
    margin-top: 6px !important;
    padding: 6px 0 !important;
    background-color: #ffffff !important;
    z-index: 999 !important;
}

.short_select .nice-select .option,
.small_select.nice-select .option {
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #334155 !important;
    line-height: 36px !important;
    min-height: 36px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.short_select .nice-select .option:hover,
.short_select .nice-select .option.focus,
.short_select .nice-select .option.selected.focus,
.small_select.nice-select .option:hover,
.small_select.nice-select .option.focus {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}

.short_select .nice-select .option.selected,
.small_select.nice-select .option.selected {
    font-weight: 600 !important;
    color: #2563eb !important;
    background-color: #eff6ff !important;
}


