#static-pages-content h2 {
    font-family: inherit;
    font-weight: 600;
    font-size: 22px;
    color: #000;
}

#static-pages-content p,
#static-pages-content ul li {
    line-height: 21px;
}

#static-pages-content ul li {
    padding-bottom: 15px;
}

#static-pages-content p+h2,
#static-pages-content ul+h2 {
    margin-top: 25px;
}

body {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Noto Serif Tibetan - restricted to Tibetan Unicode range only */
@font-face {
    font-family: "Noto Serif Tibetan";
    src: url("/static/Sherab-theme/fonts/sherab_tibetan_fonts/Noto_Serif_Tibetan/NotoSerifTibetan-VariableFont_wght.3bbb522ec7cf.ttf") format("truetype");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0F00-0FFF;
}

/* Jomolhari - restricted to Tibetan Unicode range only */
@font-face {
    font-family: "Jomolhari";
    src: url("/static/Sherab-theme/fonts/sherab_tibetan_fonts/Jomolhari/Jomolhari-Regular.75e5273dc91c.ttf") format("truetype");
    font-weight: normal;
    font-display: swap;
    unicode-range: U+0F00-0FFF;
}

/* Tibetan fonts - static/platform text uses Noto Serif Tibetan */
:lang(bo) {
    font-family: "Noto Serif Tibetan", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Ensure search/discovery elements use Noto Serif Tibetan */
#discovery-message:lang(bo),
.search-status-label:lang(bo),
.header-search-facets:lang(bo),
h2.header-search-facets:lang(bo),
.header-courses:lang(bo),
h2.header-courses:lang(bo),
.search-input:lang(bo),
input.search-input:lang(bo),
input.search-input:lang(bo)::placeholder,
.discovery-input:lang(bo),
input.discovery-input:lang(bo),
input.discovery-input:lang(bo)::placeholder,
.language-selector:lang(bo),
select.language-selector:lang(bo),
.settings-language-form:lang(bo) select,
.important-dates-item-title:lang(bo),
p.important-dates-item-title:lang(bo) {
    font-family: "Noto Serif Tibetan", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* User-uploaded Tibetan content uses Jomolhari (applies regardless of page language) */
.course-title,
.course-name,
.course-organization,
h3.course-title,
h3.course-title a,
.course-target-link,
a.course-target-link,
.listing-courses .course-item .course-title a,
.listing-courses .course-item a.course-target-link,
#partner-details .d-card-wrapper .d-card-body .name-heading,
#partner-details .d-card-wrapper .d-card-body .name-heading span {
    font-family: "Jomolhari", "Noto Serif Tibetan", "Open Sans", sans-serif !important;
    font-weight: 600 !important;
}

/* XBlock / Course Content Iframe Overrides */
/* Ensure Jomolhari is used for course content bodies, problems, and headings loaded via iframe */
.xblock h1,
.xblock h2,
.xblock h3,
.xblock h4,
.xblock h5,
.xblock h6,
.xblock p,
.xblock li,
.xblock span,
.xblock div,
.problem,
.problem p,
.problem h1,
.problem h2,
.problem h3,
.xblock-student_view-vertical,
.xblock-student_view-vertical .vert-mod .vert,
.xblock-student_view-vertical .vert-mod .vert .xblock-student_view-html,
.xblock-student_view-vertical .vert-mod .vert .xblock-student_view-problem,
/* MCQ Specific Selectors */
.wrapper-problem-response,
.choicegroup,
.field-input,
.field-label,
.problem .choicegroup label,
.problem .choicegroup input,
.problem .choicegroup .field-input,
.problem .choicegroup .field-label,
.problem .wrapper-problem-response .choicegroup label,
.problem .wrapper-problem-response .choicegroup input,
/* Unit Title - Multiple selectors to ensure coverage */
h3.h3,
.vert-mod h3,
.vert h3,
.xblock h3.h3,
body h3.h3,
.xmodule_display h3,
.xmodule_VerticalModule h3,
h3[role="heading"] {
    font-family: "Jomolhari", "Noto Serif Tibetan", "Open Sans", sans-serif !important;
}

/* Video player icons: override FontAwesome glyphs with Bootstrap Icons,
   because legacy `.fa` markup from the video xblock doesn't render under FA6. */
.video .icon.fa::before,
.video-controls .icon.fa::before,
.xblock .video .icon.fa::before,
.xblock .video-controls .icon.fa::before,
.video .btn-play.fa::before,
.xblock .video .btn-play.fa::before {
    font-family: "bootstrap-icons" !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.video .btn-play.fa-youtube-play::before,
.xblock .video .btn-play.fa-youtube-play::before { content: "\f4f0" !important; } /* bi-play-circle-fill */

.video .icon.fa.fa-play::before,
.xblock .video .icon.fa.fa-play::before { content: "\f4f4" !important; }

.video .icon.fa.fa-pause::before,
.xblock .video .icon.fa.fa-pause::before { content: "\f4c3" !important; }

.video .icon.fa.fa-volume-up::before,
.xblock .video .icon.fa.fa-volume-up::before { content: "\f610" !important; }

.video .icon.fa.fa-volume-off::before,
.xblock .video .icon.fa.fa-volume-off::before,
.video .icon.fa.fa-volume-mute::before,
.xblock .video .icon.fa.fa-volume-mute::before { content: "\f60c" !important; }

.video .icon.fa.fa-cog::before,
.xblock .video .icon.fa.fa-cog::before,
.video .icon.fa.fa-gear::before,
.xblock .video .icon.fa.fa-gear::before { content: "\f3e2" !important; }

.video .icon.fa.fa-arrows-alt::before,
.xblock .video .icon.fa.fa-arrows-alt::before,
.video .icon.fa.fa-expand::before,
.xblock .video .icon.fa.fa-expand::before { content: "\f3df" !important; }

.video .icon.fa.fa-compress::before,
.xblock .video .icon.fa.fa-compress::before { content: "\f3de" !important; }

.video .icon.fa.fa-step-forward::before,
.xblock .video .icon.fa.fa-step-forward::before { content: "\f55d" !important; }

.video .icon.fa.fa-step-backward::before,
.xblock .video .icon.fa.fa-step-backward::before { content: "\f551" !important; }

.video .icon.fa.fa-cc::before,
.xblock .video .icon.fa.fa-cc::before,
.video .icon.fa.fa-closed-captioning::before,
.xblock .video .icon.fa.fa-closed-captioning::before,
.video .icon.fa.fa-caption::before,
.xblock .video .icon.fa.fa-caption::before { content: "\f164" !important; }

.video .icon.fa.fa-language::before,
.xblock .video .icon.fa.fa-language::before,
.video .icon.fa.fa-comment::before,
.xblock .video .icon.fa.fa-comment::before { content: "\f658" !important; }

/* Problem block notifications and CTAs icons: override FontAwesome glyphs with Bootstrap Icons,
   because legacy `.fa` markup doesn't render under FA6 in Learning MFE. */
.notification .icon.fa::before,
.submit-cta-description .fa::before {
    font-family: "bootstrap-icons" !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.notification .icon.fa.fa-check::before { content: "\f26a" !important; } /* bi-check-circle-fill */
.notification .icon.fa.fa-close::before { content: "\f622" !important; } /* bi-x-circle-fill */
.notification .icon.fa.fa-asterisk::before { content: "\f151" !important; } /* bi-asterisk */
.notification .icon.fa.fa-info-circle::before,
.submit-cta-description .fa.fa-info-circle::before { content: "\f432" !important; } /* bi-info-circle-fill */
.notification .icon.fa.fa-exclamation-circle::before { content: "\f33b" !important; } /* bi-exclamation-circle-fill */
.notification .icon.fa.fa-save::before { content: "\f525" !important; } /* bi-save */
.notification .icon.fa.fa-question::before { content: "\f4e4" !important; } /* bi-question-circle-fill */

/* ── ORA (Open Response Assessment) icons ──
   edx-ora2 legacy templates use FA4 `.icon.fa.fa-*` classes extensively.
   The theme's FA6 CDN conflicts with these, so we map them to Bootstrap Icons. */
.openassessment .icon.fa::before,
.wrapper--openassessment .icon.fa::before,
.openassessment__steps .icon.fa::before,
.step__header .icon.fa::before,
.step__status .icon.fa::before,
.ui-slidable .icon.fa::before,
.ui-staff__button .icon.fa::before,
.ui-staff_close_button .icon.fa::before {
    font-family: "bootstrap-icons" !important;
    font-weight: normal !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* fa-caret-right — used on ORA step toggles, rubric toggles, response buttons */
.openassessment .icon.fa.fa-caret-right::before,
.wrapper--openassessment .icon.fa.fa-caret-right::before { content: "\f285" !important; } /* bi-caret-right-fill */

/* fa-caret-down — expanded state (JS toggles fa-caret-right ↔ fa-caret-down) */
.openassessment .icon.fa.fa-caret-down::before,
.wrapper--openassessment .icon.fa.fa-caret-down::before { content: "\f282" !important; } /* bi-caret-down-fill */

/* fa-spinner — loading indicator */
.openassessment .icon.fa.fa-spinner::before,
.wrapper--openassessment .icon.fa.fa-spinner::before { content: "\f116" !important; } /* bi-arrow-clockwise */

/* fa-exclamation-triangle — warnings (closed, cancelled states) */
.openassessment .icon.fa.fa-exclamation-triangle::before,
.wrapper--openassessment .icon.fa.fa-exclamation-triangle::before { content: "\f337" !important; } /* bi-exclamation-triangle-fill */

/* fa-exclamation-circle — validation errors */
.openassessment .icon.fa.fa-exclamation-circle::before,
.wrapper--openassessment .icon.fa.fa-exclamation-circle::before { content: "\f33b" !important; } /* bi-exclamation-circle-fill */

/* fa-times-circle — error/close in edit header */
.openassessment .icon.fa.fa-times-circle::before,
.wrapper--openassessment .icon.fa.fa-times-circle::before { content: "\f622" !important; } /* bi-x-circle-fill */

/* fa-close / fa-times — close button in staff area */
.openassessment .icon.fa.fa-close::before,
.openassessment .icon.fa.fa-times::before,
.wrapper--openassessment .icon.fa.fa-close::before,
.wrapper--openassessment .icon.fa.fa-times::before { content: "\f623" !important; } /* bi-x-lg */

/* fa-external-link — "Grade Available Responses" staff link */
.openassessment .icon.fa.fa-external-link::before,
.wrapper--openassessment .icon.fa.fa-external-link::before { content: "\f1c5" !important; } /* bi-box-arrow-up-right */

/* fa-info-circle — assessment title info */
.openassessment .icon.fa.fa-info-circle::before,
.wrapper--openassessment .icon.fa.fa-info-circle::before { content: "\f432" !important; } /* bi-info-circle-fill */

/* fa-circle-o — draft save icon in response */
.openassessment .icon.fa.fa-circle-o::before,
.wrapper--openassessment .icon.fa.fa-circle-o::before { content: "\f28a" !important; } /* bi-circle */

/* fa-check — completed step */
.openassessment .icon.fa.fa-check::before,
.wrapper--openassessment .icon.fa.fa-check::before { content: "\f26b" !important; } /* bi-check-lg */

/* fa-check-circle — completed status */
.openassessment .icon.fa.fa-check-circle::before,
.wrapper--openassessment .icon.fa.fa-check-circle::before { content: "\f26a" !important; } /* bi-check-circle-fill */

/* fa-calendar — deadline display in response step */
.openassessment .icon.fa.fa-calendar::before,
.wrapper--openassessment .icon.fa.fa-calendar::before {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    content: "\f073" !important;
} /* fa-calendar-days (grid-style calendar) */

/* fa-refresh — "Saving draft" spinner icon (set via JS) */
.openassessment .icon.fa.fa-refresh::before,
.wrapper--openassessment .icon.fa.fa-refresh::before,
.openassessment .save__submission__icon.fa.fa-refresh::before,
.wrapper--openassessment .save__submission__icon.fa.fa-refresh::before { content: "\f116" !important; } /* bi-arrow-clockwise */

/* fa-check-circle-o — "Draft saved!" icon (set via JS) */
.openassessment .icon.fa.fa-check-circle-o::before,
.wrapper--openassessment .icon.fa.fa-check-circle-o::before,
.openassessment .save__submission__icon.fa.fa-check-circle-o::before,
.wrapper--openassessment .save__submission__icon.fa.fa-check-circle-o::before { content: "\f26a" !important; } /* bi-check-circle-fill */

/* Add spin animation for the saving draft refresh icon */
.openassessment .icon.fa.fa-refresh,
.wrapper--openassessment .icon.fa.fa-refresh,
.openassessment .save__submission__icon.fa.fa-refresh,
.wrapper--openassessment .save__submission__icon.fa.fa-refresh {
    animation: fa-spin 2s infinite linear !important;
    display: inline-block !important;
}

/* Keep the spin animation working for Bootstrap Icons */
.openassessment .icon.fa.fa-spin,
.wrapper--openassessment .icon.fa.fa-spin {
    animation: fa-spin 2s infinite linear !important;
    display: inline-block !important;
}

/* ── Global fallback for any remaining .icon.fa elements ──
   Catch all `.icon.fa` that slipped through the specific rules above.
   This ensures the correct font-family is applied globally. */
.icon.fa::before {
    font-family: "Font Awesome 6 Free", "FontAwesome", "bootstrap-icons" !important;
    font-weight: 900 !important;
}


/* Hide the redundant legacy status icon that appears above the submit button
   (next to problem inputs) since we now have the large notification below. */
.problem .status .status-icon,
.problem .status.correct::after,
.problem .status.incorrect::after,
.problem .status.unanswered::after {
    display: none !important;
}

/* imporoved ui styling for Correct/Incorrect notifications */
.problem .notification.success {
    background: linear-gradient(135deg, #e6f9ed 0%, #d1f3e0 100%) !important;
    border: 1px solid #a3e4b5 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #1e7039 !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.problem .notification.error {
    background: linear-gradient(135deg, #fdecea 0%, #fad1cd 100%) !important;
    border: 1px solid #f1a9a0 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #a1231a !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.problem .notification.general {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%) !important;
    border: 1px solid #cce0ff !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #004085 !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.problem .notification.warning {
    background: linear-gradient(135deg, #fffcf5 0%, #fff4cc 100%) !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    color: #856404 !important;
    margin-top: 20px !important;
    transition: all 0.3s ease !important;
}

.problem .notification {
    margin-bottom: 20px !important;
}

.problem .notification .notification-message {
    font-weight: 600 !important;
    font-size: 1.1em !important;
    letter-spacing: 0.2px !important;
    vertical-align: middle !important;
    display: inline-block !important;
    position: relative !important;
    top: 6px !important;
}

.problem .notification .icon {
    font-size: 1.6em !important;
    margin-right: 14px !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)) !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Consistent, subtle styling for ALL problem action buttons (Save, Show answer, Reset, Hint) */
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn {
    background: transparent !important;
    border: 1px solid #d8dbe0 !important;
    border-radius: 6px !important;
    padding: 4px 12px !important;            /* smaller than the old 10px 20px */
    max-width: none !important;
    color: #6c757d !important;               /* muted, less prominent */
    font-weight: 500 !important;
    font-size: 0.8125rem !important;         /* ~13px */
    line-height: 1.4 !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn:hover,
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn:focus {
    background: #f1f3f5 !important;
    color: #212529 !important;
    border-color: #c2c7cd !important;
    text-decoration: none !important;
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn:active {
    background: #e9ecef !important;
}

/* Optional: remove the vertical divider lines between buttons for a cleaner row */
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-button-wrapper {
    border-right: none !important;
    padding: 0 6px !important;
}

/* Icons for each action button (Font Awesome 6 Free, already loaded in main.html).
   Markup classes: .hint-button, .save, .reset, .show */
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn::before {
    font-family: "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    margin-right: 6px !important;
    font-size: 0.95em !important;
    line-height: 1 !important;
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.hint-button::before {
    content: "\f0eb" !important;   /* lightbulb */
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.save::before {
    content: "\f0c7" !important;   /* floppy disk */
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.reset::before {
    content: "\f0e2" !important;   /* arrow-rotate-left */
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.show::before {
    content: "\f06e" !important;   /* eye */
}

/* Intent-based coloring: Reset is destructive -> red tint on hover/focus */
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.reset:hover,
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.reset:focus {
    background: #fdf0ef !important;
    color: #c0392b !important;
    border-color: #e8b3ad !important;
}

/* Show answer: quieter, slightly distinct (borderless, lighter) so it reads as tertiary */
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.show {
    border-color: transparent !important;
    color: #868e96 !important;
}

.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.show:hover,
.xmodule_display.xmodule_ProblemBlock div.problem .action .problem-action-btn.show:focus {
    background: #f1f3f5 !important;
    color: #495057 !important;
    border-color: transparent !important;
}

/* Course about page - Jomolhari for all heading elements */
.course-info h1,
.course-info .heading-group,
.course-info .heading-group *,
.course-info header.course-profile .intro .heading-group {
    font-family: "Open Sans", "Noto Serif Tibetan", sans-serif !important;
    font-weight: 600 !important;
}

:lang(bo) .course-info h1,
:lang(bo) .course-info .heading-group,
:lang(bo) .course-info .heading-group *,
:lang(bo) .course-info header.course-profile .intro .heading-group {
    font-family: "Noto Serif Tibetan", "Open Sans", sans-serif !important;
}

/* Course about page - 40px font size and Jomolhari font for main course title */
.course-info .heading-group h1,
.course-info .heading-group h1 span,
.course-info header.course-profile .intro .heading-group h1,
.course-info header.course-profile .intro .heading-group h1 span,
:lang(bo) .course-info .heading-group h1,
:lang(bo) .course-info .heading-group h1 span,
:lang(bo) .course-info header.course-profile .intro .heading-group h1,
:lang(bo) .course-info header.course-profile .intro .heading-group h1 span {
    font-size: 40px !important;
    font-family: "Jomolhari", "Noto Serif Tibetan", "Open Sans", sans-serif !important;
    font-weight: 600 !important;
}

/* Partner content box: use base font for English, Jomolhari for Tibetan fallback */
.partner-content-box,
.partner-content-box * {
    font-family: "Open Sans", "Jomolhari", "Noto Serif Tibetan", "Helvetica Neue", Helvetica, Arial, sans-serif !important;

}

/* Force English characters to use original fonts even when lang=bo */
:lang(bo) {
    font-feature-settings: normal;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
div,
li,
td,
th,
label,
input,
button,
select,
textarea {
    font-synthesis: none;
}

.wrapper-footer footer#footer-openedx .select-lang-button {
    background: none;
    box-shadow: none;
    text-shadow: none;
    font-family: inherit;
    letter-spacing: 0px;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 17px;
    height: auto;
}

.courses-container .courses .course .course-image {
    position: relative;
}

.courses-container .courses .course .course-image .partner-logo-wrapper {
    padding: 7px;
    position: absolute;
    bottom: -30px;
    left: 20px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 1px 1px 2px 0 hsla(0, 0%, 66.7%, .5);
}

.courses-container .courses .course .course-image .partner-logo-wrapper img {
    height: 47px;
    width: 93.0625px;
}

.courses-container .courses .course .course-info .course-organization {
    padding-top: 35px;
}

.courses-container .courses .course .course-info .course-title {
    display: block;
    margin: 0 0 10px;
    min-height: 66px;
    font-size: 22px;
    line-height: 1.4;
}

.courses-container .courses .course .course-info .course-date {
    display: block;
    margin-top: 30px;
    line-height: 1.4;
}

.global-header .nav-links .secondary .dropdown-user-menu {
    z-index: 10000
}

#schools-partners-div .partner-slider {
    display: flex;
    overflow-x: auto;
}

#schools-partners-div .partner-item {
    flex: 0 0 auto;
    margin: 10px;
    align-self: center;
}

#schools-partners-div .partner-slider .slick-slide img {
    display: block;
    max-height: 135px;
    object-fit: contain;
    width: auto;
}

#schools-partners-div .slick-arrow {
    border: none;
    box-shadow: none;
}

#schools-partners-div .slick-arrow:hover,
#schools-partners-div .slick-arrow:focus {
    background: none !important;
    box-shadow: none;
}

.discovery-card .d-card-body {
    padding-bottom: 0 !important
}

.course-info header.course-profile .intro-inner-wrapper .intro .main-cta a.register {
    width: 30%;
    display: inline-block;
}

.course-info header.course-profile .intro-inner-wrapper .intro .main-cta a.wishlist-btn {
    width: 30%;
    border: 1px solid #000663;
    border-bottom: 1px solid #00003a;
    box-shadow: inset 0 1px 0 0 #2592c0;
    color: #fff;
    background-color: #0075b4;
    background-image: -webkit-linear-gradient(top, #0075b4 0%, #004393 50%, #002a84 50%, #002f86 100%);
    background-image: linear-gradient(to bottom, #0075b4 0%, #004393 50%, #002a84 50%, #002f86 100%);
    text-decoration: none;
    text-shadow: 0 -1px 1px #000042;
    box-sizing: border-box;
    border-radius: 3px;
    display: inline-block;
    font: normal 1.2rem / 1.6rem "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: 1px;
    padding: 10px 0;
    text-align: center;
    margin-left: 15px;
}

#wishlist_message {
    padding: 12px;
    margin-top: 5px;
    color: #fff;
}

#wishlist_message.error {
    background: #cb0712;
}

#wishlist_message.success {
    background: #098c2c;
}

.view-wishlist .info-date-block {
    font-family: "Noto Serif Tibetan", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

@media (max-width: 768px) {
    .course-info header.course-profile .intro-inner-wrapper .intro .main-cta {
        float: none;
        padding-bottom: 0;
    }

    .course-info header.course-profile .intro-inner-wrapper .intro .main-cta strong {
        float: none;
        display: block;
        width: 100%;
    }

    .course-info header.course-profile .intro-inner-wrapper .intro .main-cta a {
        display: block;
        width: 100% !important;
        margin: 10px 0;
        margin-left: 0 !important;
    }

    .course-info header.course-profile .intro-inner-wrapper .intro>.heading-group {
        border: none;
    }

    .course-info header.course-profile .intro-inner-wrapper>div.table {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .course-info header.course-profile .intro-inner-wrapper .intro {
        width: 100%;
        flex: 1;
    }

    .course-info header.course-profile .intro-inner-wrapper .media {
        flex: 1;
        padding: 20px;
        order: -1;
        width: 100%;
    }
}

.global-header {
    border-bottom: 1px solid #FFAF66;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    line-height: 1.5;
}

.global-header .nav-links .main .nav-tab a {
    font-size: 16px !important;
}

.global-header .nav-links .main .nav-tab a.active,
.global-header .nav-links .main .nav-tab a:hover {
    border-bottom-style: solid;
    border-bottom-color: #FC8044;
}

@media (max-width: 1080px) {
    .global-header .nav-links .main .nav-tab a {
        padding: 7px 20px 19px;
    }
}

body.view-partner-details,
body.view-center-details {
    overflow-x: hidden;
}

.global-header {
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.global-header a,
.global-header span,
.global-header p,
.global-header li,
.global-header div {
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Tibetan font for header when language is Tibetan */
.global-header:lang(bo),
.global-header:lang(bo) a,
.global-header:lang(bo) span,
.global-header:lang(bo) p,
.global-header:lang(bo) li,
.global-header:lang(bo) div {
    font-family: "Noto Serif Tibetan", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.global-header .header-logo .logo {
    height: 40px !important;
}

.global-header .nav-links .main .nav-tab a {
    font-size: 18.5px !important;
    font-weight: 480 !important;
    color: #454545 !important;
    padding-top: 3.5px !important;
    padding-bottom: 18.5px !important;
    margin-left: 9.5px !important;
    margin-right: 12.5px !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.global-header .nav-links .main .nav-tab:first-child a {
    padding-left: 12.5px !important;
}

.global-header .nav-links .secondary {
    margin-left: auto !important;
    margin-right: 15px !important;
}

.global-header .nav-links .secondary .toggle-user-dropdown {
    font-size: 18.5px !important;
    font-weight: 480 !important;
    padding-top: 9.5px !important;
    padding-bottom: 9.5px !important;
    margin-top: -10px !important;
}

.global-header .nav-links .secondary .toggle-user-dropdown .username {
    font-weight: 400 !important;
}

.global-header .nav-links .secondary .toggle-user-dropdown .username {
    color: #093055 !important;
}

.global-header .settings-language-form .language-selector {
    font-size: 18.5px !important;
    font-weight: 480 !important;
}

.global-header .nav-links .secondary .dropdown-user-menu {
    font-size: 18.5px !important;
}

.footer {
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    background-color: #FFFFFF !important;
    font-weight: 400 !important;
}

.footer a,
.footer span,
.footer p,
.footer li,
.footer div {
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* Tibetan font for footer when language is Tibetan */
.footer:lang(bo),
.footer:lang(bo) a,
.footer:lang(bo) span,
.footer:lang(bo) p,
.footer:lang(bo) li,
.footer:lang(bo) div {
    font-family: "Noto Serif Tibetan", -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* empty dashboard message for wishlist */
.empty-dashboard-message {
    border: 3px solid #F1E7E2;
    background: #F1E7E2;
    padding: 40px 20px;
    text-align: center;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

/* Improve text spacing in empty dashboard message */
.empty-dashboard-message h2,
.empty-dashboard-message p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Mobile specific styles for empty dashboard message */
@media (max-width: 768px) {
    .empty-dashboard-message {
        padding: 30px 15px;
    }

    .empty-dashboard-message h2 {
        font-size: 22px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .empty-dashboard-message p {
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.3px;
        margin-bottom: 20px;
    }
}

/* Style the Explore courses button with rounded corners */
.empty-dashboard-message .btn-primary {
    border-radius: 25px !important;
    padding: 18px 25px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.empty-dashboard-message .btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Mobile specific styles for the Explore courses button */
@media (max-width: 768px) {
    .empty-dashboard-message .btn-primary {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-width: 160px !important;
    }
}

.global-header .nav-links .secondary .nav-item {
    padding: 0;
}

.settings-language-form {
    float: none;
    padding: 0;
    overflow: visible;
}

.settings-language-form .language-selector-main {
    position: relative;
    display: inline-flex;
    width: auto;
    background: #FFFFFF;
    overflow: visible;
}

.settings-language-form .language-selector-main label {
    margin: 0;
}

.settings-language-form .language-selector-main .globe-icon {
    color: #FDAF66;
    position: absolute;
    top: 50%;
    padding-left: 5px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.authenticated-settings-language-form .language-selector-main .globe-icon {
    font-size: 1.75rem !important;
}

.not-authenticated-settings-language-form .language-selector-main .globe-icon {
    font-size: 1.5rem !important;
}

.settings-language-form .language-selector {
    display: inline-block;
    appearance: none;
    background: none;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px !important;
    cursor: pointer;
    border: none;
}

.settings-language-form .language-selector option {
    white-space: nowrap;
}

.settings-language-form .language-selector:focus-visible {
    outline: none;
}

.authenticated-settings-language-form .language-selector {
    padding: 8px 5px 9px 40px;
}

.not-authenticated-settings-language-form .language-selector {
    padding: 5px 10px 5px 35px;
    color: #1b6d99;
}

.mobile-menu {
    border-top: 1px solid #FFAF66;
}

.mobile-menu.hidden {
    display: none !important;
}

@media (max-width: 1440px) {
    .global-header .main-header {
        height: 40px;
    }

    .global-header .header-logo a {
        margin-left: 50%;
    }

    .global-header .header-logo a .logo {
        margin-left: -50%;
    }

    .global-header .hamburger-menu {
        display: block;
        left: 20px;
        position: absolute;
        top: 18px;
        width: 30px;
        height: 20px;
        padding-bottom: 5px;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
        cursor: pointer;
    }

    .global-header .hamburger-menu .line {
        display: block;
        position: absolute;
        height: 5px;
        width: 100%;
        background: #767676;
        opacity: 1;
        left: 0;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: 0.25s ease-in-out;
        transition: 0.25s ease-in-out;
    }

    .global-header .hamburger-menu .line:nth-child(1) {
        top: 0;
    }

    .global-header .hamburger-menu .line:nth-child(2) {
        top: 10px;
    }

    .global-header .hamburger-menu .line:nth-child(3) {
        top: 10px;
    }

    .global-header .hamburger-menu .line:nth-child(4) {
        top: 20px;
    }

    .global-header .hamburger-menu.open .line:nth-child(1) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .global-header .hamburger-menu.open .line:nth-child(2) {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .global-header .hamburger-menu.open .line:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .global-header .hamburger-menu.open .line:nth-child(4) {
        top: 18px;
        width: 0%;
        left: 50%;
    }

    .mobile-menu .mobile-nav-link {
        position: static;
        transform: none;
        overflow: hidden;
        padding: 0;
    }

    .mobile-menu .mobile-nav-link a {
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        outline: none;
        display: block;
        background-color: #fff;
        border-radius: 0;
        width: 100%;
        padding: 12px 20px;
        border-bottom: 1px solid #e7e7e7;
        text-align: left;
        cursor: pointer;
    }

    .hidden-mobile:not(.mobile-nav-link) {
        display: none !important;
    }

    .mobile-menu .mobile-nav-link a::after {
        content: '\00BB';
        padding-left: 4px;
    }

    .mobile-menu {
        display: block !important;
    }

    .mobile-nav-item .settings-language-form {
        display: block;
        padding: 11px 20px;
        border-bottom: 1px solid #e7e7e7;
        text-align: left;
        cursor: pointer;
    }

    .settings-language-form .language-selector {
        border: none;
        text-align: left;
        background: transparent;
        appearance: none;
        padding: 0px 30px 0px 40px;
        color: #1b6d99;
        font-size: 1rem;
        font-weight: 600;
    }

    .settings-language-form .language-selector-main {
        align-items: center;
    }

    .settings-language-form .language-selector-main select {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .settings-language-form .language-selector-main .globe-icon {
        font-size: 1.25rem !important;
        padding-left: 1px;
    }

    .mobile-menu .mobile-nav-link form:hover,
    .mobile-menu .mobile-nav-link form:focus {
        background-color: #FFFFFF;
        color: #fff;
    }
}

@media (min-width: 1440px) {
    .hidden-mobile:not(.mobile-nav-link) {
        display: block;
    }

    .global-header .nav-links .secondary .nav-item {
        display: inline-block;
    }
}

/* Make user profile image round */
.user-image-frame {
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    object-fit: cover !important;
}


/* Add hover effect to profile dropdown trigger */
.toggle-user-dropdown {
    transition: all 0.3s ease !important;
    padding: 11px 7px !important;
    padding-bottom: 13px !important;
    border-radius: 20px !important;

}

.toggle-user-dropdown:hover {
    background-color: rgba(9, 48, 85, 0.05) !important;
    box-shadow: 0 2px 8px rgba(9, 48, 85, 0.2) !important;
}

/* Style the dropdown arrow icon */
.dropdown-arrow {
    margin-left: 2px !important;
    margin-bottom: 3px !important;
    vertical-align: middle !important;
    color: #093055 !important;
}

/* Style the dropdown menu to match the modern design */
.dropdown-user-menu {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e6e9ef !important;
    padding: 8px 0 !important;
    min-width: 180px !important;
    margin-top: 5px !important;
    background-color: white !important;
}

/* Style the dropdown menu items */
.dropdown-user-menu .dropdown-item {
    padding: 0 !important;
    border: none !important;
}

.dropdown-user-menu .dropdown-item a {
    padding: 12px 16px !important;
    color: #333 !important;
    font-size: 16px !important;
    display: block !important;
    text-decoration: none !important;
    transition: background-color 0.5s ease !important;
}

.dropdown-user-menu .dropdown-item a:hover {
    background-color: #f5f7fa !important;
    color: #093055 !important;
}

/* Add separator only above the Sign Out item */
.dropdown-user-menu .signout-item {
    border-top: 1px solid #f0f0f0 !important;
    /* margin-top: 5px !important; */
    /* padding-top: 5px !important; */
}