/* ============================================
   IVONS — MasterStudy LMS Page Overrides v5
   (Claymorphism + Glassmorphism v2.0)
   ============================================

   This file overrides styles on pages generated
   by the MasterStudy LMS plugin, where we don't
   control the HTML structure.

   Loaded on ALL pages (see functions.php) — safe
   because it only targets .masterstudy-* and
   .ms_lms_* selectors.

   Target pages:
   - Courses Archive (ms_lms_courses_archive)
   - Single Course (masterstudy-single-course-*)
   - Student/Instructor Dashboard (masterstudy-account-*)
   - Course Builder
   - Lesson Page (masterstudy-course-player-*)
   - Quiz Page
   - Certificates
   - Login / Register (masterstudy-authorization)
   - Public Profiles (instructor/student)
   - Checkout / Cart
   - Messages
   - Analytics, Bundles, Assignments (Pro)
   - Points, Gradebook, Enterprise Groups (Pro)

   Strategy:
   - Target ACTUAL selectors: masterstudy-*, ms_lms_*, stm_lms_*
   - Override hardcoded grays with Ivons tokens
   - Apply border-radius, shadows, gradients, hover effects
   - Use !important only when specificity requires it
   - All values reference --iv-* design tokens

   Changes from v3:
   - Glassmorphism on modals, sidebar, filter, dropdowns
   - Glow shadows on button hovers and card hovers
   - CTA shadows on primary action buttons
   - Warm gradient backgrounds on archive & dashboard
   - Spring physics via var(--iv-cubic-bounce)
   - Scroll reveal on LMS elements via data-reveal (js/animations.js)

   ============================================ */


/* ============================================
   1. GLOBAL OVERRIDES — Hardcoded Gray Colors
   ============================================

   MasterStudy's new component CSS uses hardcoded gray
   values that bypass both Theme Options and LMS color
   settings. We replace them with Ivons tokens.

   ============================================ */

/* --- Text colors --- */
body .masterstudy-account,
body .masterstudy-single-course-modern,
body .masterstudy-authorization,
body .ms_lms_courses_archive {
  color: var(--iv-text-secondary);
}

/* Override #4d5e6f — MasterStudy muted text */
body .masterstudy-account-menu__list-item-label,
body .masterstudy-account-menu__list-section-title,
body .masterstudy-account-profile__link,
body .masterstudy-curriculum-list__meta,
body .masterstudy-curriculum-list__title,
body .masterstudy-single-course-details__name,
body .masterstudy-single-course-details__info,
body .masterstudy-instructor-course-actions__title,
body .masterstudy-instructor-course-actions__value,
body .masterstudy-tabs__item,
body .ms_lms_courses_card_item_info_meta,
body .ms_lms_courses_card_item_info_category,
body .ms_lms_courses_archive__filter_options_item_checkbox_label,
body .ms_lms_courses_archive__sorting_select_label {
  color: var(--iv-text-secondary) !important;
}

/* Override #001931 — MasterStudy dark text */
/* Note: active menu label color is controlled by Theme Options Custom CSS (dark sidebar) */
/* Note: .masterstudy-single-course-title and .masterstudy-single-course-excerpt__content
   are handled in Section 9 (white text on dark gradient topbar) */
body .masterstudy-account-profile__name,
body .masterstudy-curriculum-list__section-title,
body .masterstudy-curriculum-list__link,
body .masterstudy-single-course-details__quantity,
body .masterstudy-instructor-course-actions__status_publish,
body .ms_lms_courses_card_item_info_title,
body .ms_lms_courses_archive__filter_options_item_title {
  color: var(--iv-text-primary) !important;
}

/* Override #808c98 — MasterStudy light text */
body .masterstudy-account-menu__list-item_badge,
body .masterstudy-curriculum-list__order,
body .masterstudy-single-course-faq__answer-toggler,
body .ms_lms_courses_archive__filter_toggle {
  color: var(--iv-text-light) !important;
}

/* --- Background colors --- */
/* Override #eef1f7 — MasterStudy light background */
body .ms_lms_courses_archive__content,
body .masterstudy-account-menu__mode,
body .masterstudy-stats-block {
  background-color: var(--iv-bg-page) !important;
}

/* --- Course topbar → Dark gradient with white text --- */
body .masterstudy-single-course-modern__topbar {
  background: var(--iv-gradient-hero) !important;
  background-color: var(--iv-primary-900) !important;
}

/* --- Warm gradient backgrounds (v2.0) --- */
body .ms_lms_courses_archive__content {
  background: var(--iv-gradient-warm-bg) !important;
}

body .masterstudy-account-menu__mode {
  background: var(--iv-gradient-warm-bg) !important;
}

/* --- Border colors --- */
/* Override #b3bac2, #dbe0e9 — MasterStudy border grays */
body .masterstudy-account-menu__list-item,
body .masterstudy-curriculum-list__item,
body .masterstudy-single-course-modern__sidebar,
body .masterstudy-stats-block,
body .masterstudy-authorization__form-field,
body .masterstudy-select__wrapper,
body .ms_lms_courses_card_item,
body .ms_lms_courses_archive__filter,
body .ms_lms_courses_archive__sorting_select {
  border-color: var(--iv-border-light) !important;
}

body .masterstudy-curriculum-list__section,
body .masterstudy-instructor-course-actions,
body .ms_lms_courses_card_item_info_divider {
  border-color: var(--iv-border) !important;
}


/* ============================================
   2. BORDER RADIUS — Ivons Rounded Corners
   ============================================

   MasterStudy uses sharp or slightly rounded
   corners. Ivons uses a consistent radius system.

   ============================================ */

/* --- Cards --- */
body .ms_lms_courses_card_item,
body .ms_lms_courses_card_item_wrapper,
body .masterstudy-course-card,
body .masterstudy-course-card__wrapper,
body .masterstudy-stats-block,
body .masterstudy-popular-courses__item,
body .masterstudy-related-courses__item,
body .masterstudy-single-course-categories__item,
body .ms_lms_courses_archive__filter {
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
}

/* --- Buttons --- */
body .masterstudy-button,
body .masterstudy-buy-button__link,
body .masterstudy-buy-button__separator,
body .ms_lms_courses_archive__filter_actions_button,
body .ms_lms_courses_archive__filter_actions_reset {
  border-radius: var(--iv-radius-lg) !important;
}

/* --- All colored buttons must have white text ---
   When accent_color was light blue, dark text was readable.
   Now it's dark teal — dark text becomes invisible.
   Must target .masterstudy-button__title too — it overrides parent color. */
body .masterstudy-button_style-primary,
body .masterstudy-button_style-secondary,
body .masterstudy-button_style-accent,
body .masterstudy-button_style-warning,
body .masterstudy-button_style-success,
body .masterstudy-button_style-danger,
body .masterstudy-buy-button__link,
body .masterstudy-account-have-question__button,
body .masterstudy-course-player-button,
body .ms_lms_courses_archive__filter_actions_button,
body [class*="masterstudy-button"][class*="_style-"] {
  color: #fff !important;
}

body .masterstudy-button_style-primary .masterstudy-button__title,
body .masterstudy-button_style-secondary .masterstudy-button__title,
body .masterstudy-button_style-accent .masterstudy-button__title,
body .masterstudy-button_style-warning .masterstudy-button__title,
body .masterstudy-button_style-success .masterstudy-button__title,
body .masterstudy-button_style-danger .masterstudy-button__title,
body .masterstudy-buy-button__link .masterstudy-button__title,
body .masterstudy-account-have-question__button .masterstudy-button__title,
body .masterstudy-course-player-button .masterstudy-button__title,
body [class*="masterstudy-button"][class*="_style-"] .masterstudy-button__title {
  color: #fff !important;
}

/* --- Form elements --- */
body .masterstudy-authorization__form-input,
body .masterstudy-authorization__form-input_pass,
body .masterstudy-authorization__checkbox,
body .masterstudy-select__wrapper,
body .masterstudy-select__input,
body .ms_lms_courses_archive__sorting_select,
body .ms_lms_course_search_box__search_input {
  border-radius: var(--iv-radius-lg) !important;
}

/* --- Tabs and toggles --- */
body .masterstudy-single-course-tabs__item,
body .masterstudy-tabs__item {
  border-radius: var(--iv-radius-lg) var(--iv-radius-lg) 0 0 !important;
}

body .masterstudy-switcher {
  border-radius: var(--iv-radius-pill) !important;
}

/* --- Curriculum items --- */
body .masterstudy-curriculum-list__item,
body .masterstudy-curriculum-list__link {
  border-radius: var(--iv-radius-lg) !important;
}

/* --- Modal --- */
body .masterstudy-authorization-modal__container,
body .masterstudy-authorization-modal__wrapper,
body .masterstudy-enterprise-modal__container,
body .masterstudy-grade-details_popup,
body .masterstudy-single-course-share-button-modal__container {
  border-radius: var(--iv-radius-2xl) !important;
}

/* --- Badges and tags --- */
body .masterstudy-account-menu__list-item_badge,
body .masterstudy-instructor-course-actions__status,
body .masterstudy-single-course-categories__item,
body .ms_lms_courses_card_item_info_category {
  border-radius: var(--iv-radius-pill) !important;
}


/* ============================================
   3. BOX SHADOWS — Ivons Depth System
   ============================================ */

/* --- Cards default --- */
body .ms_lms_courses_card_item,
body .masterstudy-course-card,
body .masterstudy-popular-courses__item,
body .masterstudy-related-courses__item {
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all 0.35s var(--iv-cubic-bounce) !important;
  border: 1.5px solid var(--iv-border-light) !important;
}

/* --- Cards hover --- */
body .ms_lms_courses_card_item:hover,
body .masterstudy-course-card:hover,
body .masterstudy-popular-courses__item:hover,
body .masterstudy-related-courses__item:hover {
  box-shadow: var(--iv-shadow-clay-hover), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-6px) !important;
  border-color: transparent !important;
}

/* --- Sidebar panel --- */
body .masterstudy-single-course-modern__sidebar {
  box-shadow: var(--iv-shadow-clay) !important;
}

/* --- Stats blocks --- */
body .masterstudy-stats-block {
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all 0.35s var(--iv-cubic-bounce) !important;
}

body .masterstudy-stats-block:hover {
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-4px) !important;
}

/* --- Modal --- */
body .masterstudy-authorization-modal__container {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  box-shadow: var(--iv-shadow-glass) !important;
}

/* --- Grade Details Popup --- */
body .masterstudy-grade-details_popup {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  box-shadow: var(--iv-shadow-glass) !important;
  border-radius: var(--iv-radius-2xl) !important;
}

/* --- Share Button Modal --- */
body .masterstudy-single-course-share-button-modal__container {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  box-shadow: var(--iv-shadow-glass) !important;
  border-radius: var(--iv-radius-2xl) !important;
}


/* ============================================
   4. HOVER & TRANSITION EFFECTS
   ============================================ */

/* --- Course card image zoom --- */
body .ms_lms_courses_card_item_image img,
body .masterstudy-course-card__image img {
  transition: transform var(--iv-transition-normal) !important;
}

body .ms_lms_courses_card_item:hover .ms_lms_courses_card_item_image img,
body .masterstudy-course-card:hover .masterstudy-course-card__image img {
  transform: scale(1.05) !important;
}

/* --- Course card title color change --- */
body .ms_lms_courses_card_item_info_title,
body .masterstudy-course-card__info-title {
  transition: color var(--iv-transition-fast) !important;
}

body .ms_lms_courses_card_item:hover .ms_lms_courses_card_item_info_title,
body .masterstudy-course-card:hover .masterstudy-course-card__info-title {
  color: var(--iv-primary-900) !important;
}

/* --- Curriculum item hover --- */
body .masterstudy-curriculum-list__item {
  transition: all var(--iv-transition-fast) !important;
}

body .masterstudy-curriculum-list__item:hover {
  background-color: var(--iv-primary-50) !important;
  color: var(--iv-primary-900) !important;
}


/* ============================================
   5. GRADIENTS — Ivons Brand Gradients
   ============================================ */

/* --- Primary buttons → Teal gradient --- */
body .masterstudy-button_style-primary {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

body .masterstudy-button_style-primary:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

/* --- Buy button → Teal gradient --- */
body .masterstudy-buy-button__link {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

body .masterstudy-buy-button__link:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

/* --- Secondary/accent buttons → Purple gradient --- */
body .masterstudy-button_style-secondary {
  background: var(--iv-gradient-accent) !important;
  color: #fff !important;
  border: none !important;
}

body .masterstudy-button_style-secondary:hover {
  box-shadow: var(--iv-shadow-accent), var(--iv-shadow-glow-accent) !important;
  transform: translateY(-1px) !important;
}

/* --- Filter actions button → Teal gradient --- */
body .ms_lms_courses_archive__filter_actions_button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

/* --- CTA section in course sidebar --- */
body .masterstudy-single-course-modern__cta {
  background: var(--iv-gradient-primary) !important;
}

/* Certificate included text — white on teal gradient CTA */
body .masterstudy-single-course-modern__cta .masterstudy-buy-button__single-price-info-text,
body .masterstudy-buy-button__price-info-text,
body .masterstudy-buy-button__single-price-info-text {
  color: rgba(255,255,255,0.9) !important;
  font-size: var(--iv-text-xs) !important;
}


/* ============================================
   6. GOLD COLOR — Ratings & Reviews
   ============================================

   MasterStudy uses #eab830 for stars.
   We override with Ivons gold (#D4A853).

   ============================================ */

/* Star ratings */
body .masterstudy-single-course-rating__star-wrapper svg,
body .masterstudy-single-course-rating__star,
body .ms_lms_courses_card_item_info_rating_stars_filled,
body .ms_lms_courses_card_item_info_rating_star,
body .masterstudy-popular-courses__rating-star svg,
body .masterstudy-related-courses__rating-star svg,
body .masterstudy-course-card__rating-star svg,
body .star-rating span::before,
body .star-rating::before {
  color: var(--iv-gold) !important;
  fill: var(--iv-gold) !important;
}


/* ============================================
   7. DASHBOARD — Account Pages
   ============================================ */

/* --- Sidebar menu --- */
/* Background removed — controlled by Theme Options Custom CSS (dark sidebar) */
body .masterstudy-account-menu {
  border-radius: var(--iv-radius-2xl) !important;
}

/* --- Menu item active & hover ---
   Colors are controlled by Theme Options Custom CSS (dark sidebar).
   Only keep radius and font-weight here. */
body .masterstudy-account-menu__list-item_active,
body .masterstudy-account-mobile-menu__link_active {
  border-radius: var(--iv-radius-lg) !important;
  font-weight: var(--iv-weight-semibold) !important;
}

body .masterstudy-account-menu__list-item:hover {
  border-radius: var(--iv-radius-lg) !important;
}

/* --- Menu section titles --- */
body .masterstudy-account-menu__list-section-title {
  color: var(--iv-text-light) !important;
  font-size: var(--iv-text-xs) !important;
  font-weight: var(--iv-weight-semibold) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* --- Profile section --- */
body .masterstudy-account-profile__avatar img {
  border: 3px solid var(--iv-primary-700) !important;
  border-radius: var(--iv-radius-full) !important;
}

body .masterstudy-account-profile__name {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* --- Stats blocks --- */
body .masterstudy-stats-block {
  background: var(--iv-bg-white) !important;
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  padding: var(--iv-space-4) var(--iv-space-6) !important;
}

body .masterstudy-stats-block__icon svg,
body .masterstudy-stats-block__icon i {
  color: var(--iv-primary-700) !important;
}

body .masterstudy-stats-block__title {
  font-size: var(--iv-text-xs) !important;
  color: var(--iv-text-secondary) !important;
}

body .masterstudy-stats-block__value {
  font-weight: var(--iv-weight-extrabold) !important;
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
}

/* --- Course cards in dashboard --- */
body .masterstudy-instructor-courses__add-new-course-btn {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-semibold) !important;
}

body .masterstudy-instructor-course-actions__modal-status {
  font-family: var(--iv-font-ar) !important;
}

/* Status badges inside colored buttons must be white */
body .masterstudy-instructor-course-actions__status_publish,
body .masterstudy-instructor-course-actions__status_draft,
body .masterstudy-instructor-course-actions__status_pending,
body .masterstudy-instructor-course-actions__status {
  color: #fff !important;
}

/* --- Switcher (Instructor/Student mode) --- */
body .masterstudy-switcher-background {
  background: var(--iv-primary-900) !important;
  border-radius: var(--iv-radius-pill) !important;
}

body .masterstudy-switcher-handle {
  border-radius: var(--iv-radius-pill) !important;
}

/* --- Tables in dashboard --- */
body .masterstudy-account table,
body .masterstudy-instructor-courses table {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-lg) !important;
  overflow: hidden !important;
}

body .masterstudy-account table th {
  background: var(--iv-bg-page) !important;
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-small) !important;
}

body .masterstudy-account table td {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-secondary) !important;
  font-size: var(--iv-text-small) !important;
  border-bottom: 1px solid var(--iv-border-light) !important;
}

/* --- "Have a question" section --- */
body .masterstudy-account-have-question__label {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-account-have-question__button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
}


/* ============================================
   8. AUTHORIZATION — Login / Register Modal
   ============================================ */

/* --- Modal container --- */
body .masterstudy-authorization-modal__container {
  background: var(--iv-bg-white) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-lg) !important;
  padding: var(--iv-space-8) !important;
}

/* --- Modal header --- */
body .masterstudy-authorization__header-title {
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-extrabold) !important;
  color: var(--iv-text-primary) !important;
}

/* --- Form inputs --- */
body .masterstudy-authorization__form-input {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: var(--iv-space-3) var(--iv-space-4) !important;
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-body) !important;
  color: var(--iv-text-primary) !important;
  background: var(--iv-bg-page) !important;
  transition: all var(--iv-transition-fast) !important;
}

body .masterstudy-authorization__form-input:focus {
  border-color: var(--iv-primary-900) !important;
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1) !important;
  background: var(--iv-bg-white) !important;
}

/* --- Password input --- */
body .masterstudy-authorization__form-input_pass {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
}

/* --- Checkbox --- */
body .masterstudy-authorization__checkbox {
  border-radius: var(--iv-radius-sm) !important;
  border-color: var(--iv-border) !important;
}

body .masterstudy-authorization__checkbox-title {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-secondary) !important;
  font-size: var(--iv-text-small) !important;
}

/* --- Submit button --- */
body .masterstudy-authorization button[type="submit"],
body .masterstudy-authorization .masterstudy-button_style-primary {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: var(--iv-space-4) var(--iv-space-6) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-semibold) !important;
  width: 100% !important;
  transition: all var(--iv-transition-fast) !important;
}

body .masterstudy-authorization button[type="submit"]:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

/* --- Register/switch link --- */
body .masterstudy-authorization__switch-account-link {
  color: var(--iv-accent-700) !important;
  font-weight: var(--iv-weight-semibold) !important;
  font-family: var(--iv-font-ar) !important;
  transition: color var(--iv-transition-fast) !important;
}

body .masterstudy-authorization__switch-account-link:hover {
  color: var(--iv-accent-600) !important;
}

/* --- Lost password link --- */
body .masterstudy-authorization__switch-lost-pass {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-small) !important;
}

/* --- Become instructor --- */
body .masterstudy-authorization__instructor-text {
  color: var(--iv-accent-700) !important;
  font-weight: var(--iv-weight-semibold) !important;
  font-family: var(--iv-font-ar) !important;
}

/* --- Strength password indicator --- */
body .masterstudy-authorization__strength-password {
  font-family: var(--iv-font-ar) !important;
}


/* ============================================
   9. SINGLE COURSE PAGE
   ============================================ */

/* --- Course title --- */
body .masterstudy-single-course-title {
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-extrabold) !important;
  color: #ffffff !important;
  line-height: 1.4 !important;
}

/* --- Course excerpt --- */
body .masterstudy-single-course-excerpt,
body .masterstudy-single-course-excerpt__content,
body .masterstudy-single-course-excerpt__visible,
body .masterstudy-single-course-excerpt__hidden {
  color: rgba(255,255,255,0.8) !important;
  line-height: 1.9 !important;
  font-size: var(--iv-text-body) !important;
}

body .masterstudy-single-course-excerpt__continue {
  color: rgba(255,255,255,0.7) !important;
}

body .masterstudy-single-course-excerpt__more {
  color: #ffffff !important;
  font-weight: var(--iv-weight-semibold) !important;
}

/* --- Course rating — white text on dark gradient topbar --- */
body .masterstudy-single-course-rating__count {
  color: #ffffff !important;
}

body .masterstudy-single-course-rating__quantity {
  color: rgba(255,255,255,0.7) !important;
}

body .masterstudy-single-course-rating__star-wrapper svg,
body .masterstudy-single-course-rating__star {
  color: var(--iv-gold) !important;
}

/* --- Course categories — white text on dark gradient topbar --- */
body .masterstudy-single-course-categories__title {
  color: rgba(255,255,255,0.7) !important;
}

body .masterstudy-single-course-categories__item {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

/* --- Instructor info — white text on dark gradient topbar --- */
body .masterstudy-single-course-instructor__title {
  color: rgba(255,255,255,0.7) !important;
  font-size: var(--iv-text-small) !important;
}

body .masterstudy-single-course-instructor__name {
  color: #ffffff !important;
  font-weight: var(--iv-weight-bold) !important;
}

body .masterstudy-single-course-instructor__name:hover {
  color: var(--iv-primary-300) !important;
}

body .masterstudy-single-course-instructor__avatar img {
  border: 2px solid var(--iv-primary-700) !important;
  border-radius: var(--iv-radius-full) !important;
}

/* --- Tabs (underline style) --- */
body .masterstudy-single-course-tabs_style-underline .masterstudy-single-course-tabs__item {
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-semibold) !important;
  color: var(--iv-text-secondary) !important;
  border-bottom: 2px solid transparent !important;
  transition: all var(--iv-transition-fast) !important;
}

body .masterstudy-single-course-tabs_style-underline .masterstudy-single-course-tabs__item_active {
  color: var(--iv-primary-900) !important;
  border-bottom-color: var(--iv-primary-900) !important;
}

body .masterstudy-single-course-tabs_style-underline .masterstudy-single-course-tabs__item:hover {
  color: var(--iv-primary-900) !important;
}

/* --- Curriculum list --- */
body .masterstudy-curriculum-list {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-curriculum-list__section-title {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-size: var(--iv-text-h4) !important;
}

body .masterstudy-curriculum-list__title {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  transition: color var(--iv-transition-fast) !important;
}

body .masterstudy-curriculum-list__link:hover .masterstudy-curriculum-list__title {
  color: var(--iv-primary-900) !important;
}

body .masterstudy-curriculum-list__meta {
  color: var(--iv-text-light) !important;
  font-size: var(--iv-text-xs) !important;
}

/* --- Sidebar panel --- */
body .masterstudy-single-course-modern__sidebar {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  border-radius: var(--iv-radius-2xl) !important;
  padding: var(--iv-space-6) !important;
  box-shadow: var(--iv-shadow-glass) !important;
}

/* --- Buy button in sidebar --- */
body .masterstudy-buy-button {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-buy-button__price-single {
  font-weight: var(--iv-weight-extrabold) !important;
  color: var(--iv-primary-900) !important;
  font-size: var(--iv-text-number) !important;
  font-family: var(--iv-font-en), var(--iv-font-ar) !important;
}

body .masterstudy-buy-button__price-sale {
  color: var(--iv-text-light) !important;
  text-decoration: line-through !important;
  font-family: var(--iv-font-en), var(--iv-font-ar) !important;
}

/* --- Course details list --- */
body .masterstudy-single-course-details {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-single-course-details__icon svg,
body .masterstudy-single-course-details__icon i {
  color: var(--iv-primary-700) !important;
}

body .masterstudy-single-course-details__name {
  font-size: var(--iv-text-small) !important;
  color: var(--iv-text-secondary) !important;
}

body .masterstudy-single-course-details__quantity {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
}

/* --- Categories (inside topbar → white on dark gradient) --- */
body .masterstudy-single-course-categories__item {
  background: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-medium) !important;
  padding: var(--iv-space-1) var(--iv-space-3) !important;
  border-radius: var(--iv-radius-pill) !important;
}

/* --- Instructor --- */
body .masterstudy-single-course-instructor {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-single-course-instructor__name {
  font-weight: var(--iv-weight-bold) !important;
  color: #ffffff !important;
}

/* --- Reviews section --- */
body .masterstudy-single-course-reviews {
  font-family: var(--iv-font-ar) !important;
}

/* --- FAQ section --- */
body .masterstudy-single-course-faq {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-single-course-faq__question {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  padding: var(--iv-space-4) var(--iv-space-6) !important;
  cursor: pointer !important;
}

body .masterstudy-single-course-faq__answer {
  color: var(--iv-text-secondary) !important;
  line-height: 1.8 !important;
}

body .masterstudy-single-course-faq__item {
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  margin-bottom: var(--iv-space-3) !important;
  overflow: hidden !important;
  background: var(--iv-bg-white) !important;
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all 0.35s var(--iv-cubic-bounce) !important;
}

body .masterstudy-single-course-faq__item:hover {
  border-color: transparent !important;
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-2px) !important;
}

/* --- Related courses section --- */
body .masterstudy-related-courses {
  font-family: var(--iv-font-ar) !important;
}

body .masterstudy-related-courses__title,
body .masterstudy-popular-courses__title {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* --- Share button --- */
body .masterstudy-single-course-share-button__title {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  transition: color var(--iv-transition-fast) !important;
}

body .masterstudy-single-course-share-button:hover .masterstudy-single-course-share-button__title {
  color: var(--iv-primary-900) !important;
}

/* --- Wishlist button --- */
body .masterstudy-single-course-wishlist__title {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
  transition: color var(--iv-transition-fast) !important;
}

body .masterstudy-single-course-wishlist:hover .masterstudy-single-course-wishlist__title {
  color: var(--iv-accent-700) !important;
}

/* --- Video player wrapper --- */
body .masterstudy-single-course-modern__desc .masterstudy_stm_video,
body .masterstudy-single-course-modern__desc iframe {
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
}


/* ============================================
   10. COURSES ARCHIVE — Filters & Search
   ============================================ */

/* --- Main archive container --- */
body .ms_lms_courses_archive {
  font-family: var(--iv-font-ar) !important;
}

body .ms_lms_courses_archive__content {
  background-color: var(--iv-bg-page) !important;
}

/* --- Filter sidebar --- */
body .ms_lms_courses_archive__filter {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  border-radius: var(--iv-radius-2xl) !important;
  padding: var(--iv-space-6) !important;
  box-shadow: var(--iv-shadow-glass) !important;
}

body .ms_lms_courses_archive__filter_options_item_title {
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-small) !important;
}

body .ms_lms_courses_archive__filter_options_item_checkbox_label {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-secondary) !important;
  font-size: var(--iv-text-small) !important;
}

body .ms_lms_courses_archive__filter_options_item_radio_fake {
  border-color: var(--iv-border) !important;
  border-radius: var(--iv-radius-full) !important;
}

/* --- Filter actions --- */
body .ms_lms_courses_archive__filter_actions_button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-semibold) !important;
  padding: var(--iv-space-3) var(--iv-space-6) !important;
  box-shadow: var(--iv-shadow-primary) !important;
  transition: all var(--iv-transition-fast) !important;
}

body .ms_lms_courses_archive__filter_actions_button:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

body .ms_lms_courses_archive__filter_actions_reset {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-small) !important;
}

/* --- Sorting bar --- */
body .ms_lms_courses_archive__sorting {
  font-family: var(--iv-font-ar) !important;
}

body .ms_lms_courses_archive__sorting_select,
body .ms_lms_courses_archive__sorting_select_label {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-secondary) !important;
  font-size: var(--iv-text-small) !important;
}

/* --- Search box --- */
body .ms_lms_course_search_box {
  font-family: var(--iv-font-ar) !important;
}

body .ms_lms_course_search_box__search_input {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-pill) !important;
  padding: var(--iv-space-3) var(--iv-space-6) !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
  background: var(--iv-bg-white) !important;
  transition: all var(--iv-transition-fast) !important;
}

body .ms_lms_course_search_box__search_input:focus {
  border-color: var(--iv-primary-900) !important;
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1) !important;
}

body .ms_lms_course_search_box__search_input_button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-full) !important;
}

/* --- Course card on archive page --- */
body .ms_lms_courses_card_item {
  background: var(--iv-bg-white) !important;
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
  transition: all 0.35s var(--iv-cubic-bounce) !important;
}

body .ms_lms_courses_card_item:hover {
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-6px) !important;
  border-color: transparent !important;
}

body .ms_lms_courses_card_item_info_title {
  font-family: var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-bold) !important;
  color: var(--iv-text-primary) !important;
  font-size: var(--iv-text-body) !important;
  line-height: 1.5 !important;
  transition: color var(--iv-transition-fast) !important;
}

body .ms_lms_courses_card_item_info_category {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-primary-700) !important;
  font-size: var(--iv-text-xs) !important;
  font-weight: var(--iv-weight-medium) !important;
}

body .ms_lms_courses_card_item_info_price {
  font-family: var(--iv-font-en), var(--iv-font-ar) !important;
  font-weight: var(--iv-weight-extrabold) !important;
  color: var(--iv-primary-900) !important;
}

body .ms_lms_courses_card_item_info_price_sale {
  color: var(--iv-text-light) !important;
  text-decoration: line-through !important;
  font-family: var(--iv-font-en), var(--iv-font-ar) !important;
}

body .ms_lms_courses_card_item_info_meta {
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-secondary) !important;
  font-size: var(--iv-text-xs) !important;
}

body .ms_lms_courses_card_item_info_rating_quantity {
  font-family: var(--iv-font-en), var(--iv-font-ar) !important;
  font-size: var(--iv-text-xs) !important;
  color: var(--iv-text-secondary) !important;
}

/* --- Pagination --- */
body .ms_lms_courses_archive__pagination_wrapper {
  font-family: var(--iv-font-ar) !important;
}


/* ============================================
   11. COMPONENT OVERRIDES — Shared Elements
   ============================================ */

/* --- Select component --- */
body .masterstudy-select__wrapper {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  background: var(--iv-bg-white) !important;
}

body .masterstudy-select__dropdown {
  background: var(--iv-glass-bg) !important;
  backdrop-filter: var(--iv-glass-blur) !important;
  -webkit-backdrop-filter: var(--iv-glass-blur) !important;
  border: var(--iv-glass-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  box-shadow: var(--iv-shadow-glass) !important;
}

body .masterstudy-select__option:hover {
  background-color: var(--iv-primary-50) !important;
  color: var(--iv-primary-900) !important;
}

/* --- Checkbox component --- */
body .masterstudy-checkbox {
  border-radius: var(--iv-radius-sm) !important;
}

/* --- Input component --- */
body .masterstudy-input input,
body .masterstudy-input textarea {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: var(--iv-space-3) var(--iv-space-4) !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
  transition: all var(--iv-transition-fast) !important;
}

body .masterstudy-input input:focus,
body .masterstudy-input textarea:focus {
  border-color: var(--iv-primary-900) !important;
  box-shadow: 0 0 0 3px rgba(15,118,110,0.1) !important;
}

/* --- Progress bar --- */
body .masterstudy-progress,
body .masterstudy-progress-bar {
  border-radius: var(--iv-radius-pill) !important;
  background: var(--iv-border-light) !important;
  overflow: hidden !important;
}

body .masterstudy-progress-bar__fill,
body .masterstudy-progress-fill {
  background: var(--iv-gradient-primary) !important;
  border-radius: var(--iv-radius-pill) !important;
}

/* --- Loader --- */
body .masterstudy-analytics-loader::after,
body .stm_lms_loader::after {
  border-color: var(--iv-primary-900) transparent transparent transparent !important;
}

/* --- Breadcrumbs --- */
body .stm_lms_breadcrumbs_unit {
  font-family: var(--iv-font-ar) !important;
  font-size: var(--iv-text-small) !important;
}

body .stm_lms_breadcrumbs_unit a {
  color: var(--iv-text-secondary) !important;
  transition: color var(--iv-transition-fast) !important;
}

body .stm_lms_breadcrumbs_unit a:hover {
  color: var(--iv-primary-900) !important;
}

body .stm_lms_breadcrumbs_unit .current {
  color: var(--iv-primary-900) !important;
  font-weight: var(--iv-weight-semibold) !important;
}


/* ============================================
   12. RESPONSIVE OVERRIDES
   ============================================ */

@media (max-width: 1024px) {
  body .masterstudy-single-course-modern__sidebar {
    position: relative !important;
    width: 100% !important;
    margin-top: var(--iv-space-6) !important;
  }
}

@media (max-width: 768px) {
  body .masterstudy-single-course-modern__sidebar {
    padding: var(--iv-space-4) !important;
  }

  body .masterstudy-single-course-tabs__item {
    font-size: var(--iv-text-small) !important;
    padding: 10px 16px !important;
  }

  body .masterstudy-account-menu {
    border-radius: var(--iv-radius-lg) !important;
    padding: var(--iv-space-2) !important;
  }

  body .masterstudy-account-menu__list-item {
    font-size: var(--iv-text-xs) !important;
    padding: 8px 12px !important;
  }

  body .masterstudy-authorization-modal__container {
    padding: var(--iv-space-6) !important;
    margin: var(--iv-space-4) !important;
  }

  body .ms_lms_courses_archive__filter {
    padding: var(--iv-space-4) !important;
    border-radius: var(--iv-radius-lg) !important;
  }
}

@media (max-width: 480px) {
  body .masterstudy-authorization-modal__container {
    padding: var(--iv-space-4) !important;
    margin: var(--iv-space-2) !important;
  }

  body .ms_lms_courses_card_item {
    border-radius: var(--iv-radius-lg) !important;
  }
}

/* ============================================
   ICON SPACING — Global RTL fix
   ============================================ */
/* MasterStudy icons (stmlms-*) are too close to their labels.
   In RTL, margin-inline-end adds space between icon and text,
   regardless of direction. */

/* Archive course cards — meta icons */
.ms_lms_courses_card_item_info_rating i,
.ms_lms_courses_card_item_meta_block i {
  margin-inline-end: 6px !important;
}

/* Filter icons */
.ms_lms_courses_archive__filter_actions_reset i,
.ms_lms_courses_archive__filter_actions_button i {
  margin-inline-end: 6px !important;
}

/* Single course — detail icons */
.masterstudy-single-course-details__icon-wrapper {
  margin-inline-end: 8px !important;
}

/* Single course — review button icon */
.masterstudy-single-course-reviews__add-button-icon {
  margin-inline-end: 6px !important;
}

/* Dashboard sidebar — menu item icons */
.masterstudy-account-menu__list-item i {
  margin-inline-end: 10px !important;
}

/* Dashboard — question button icon */
.masterstudy-account-have-question__button i {
  margin-inline-end: 6px !important;
}

/* Buy button icon */
.masterstudy-buy-button__link i {
  margin-inline-end: 6px !important;
}

/* Generic MasterStudy button icons */
.masterstudy-button i {
  margin-inline-end: 6px !important;
}

/* Course player icons next to text */
.masterstudy-curriculum-list__link i,
.masterstudy-curriculum-list__item i {
  margin-inline-end: 8px !important;
}

/* Quiz/lesson navigation icons */
.masterstudy-course-player-button i {
  margin-inline-end: 6px !important;
}

/* Wishlist icon */
.stm-lms-wishlist i {
  margin-inline-end: 6px !important;
}


/* ============================================
   13. COURSE PLAYER — Lesson Page
   ============================================ */

/* --- 13.1 Header --- */
.masterstudy-course-player-header {
  background: var(--iv-bg-warm) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06) !important;
}

.masterstudy-course-player-header__course-label {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-header__course-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-header__back {
  border-color: var(--iv-border-light) !important;
}

.masterstudy-course-player-header__back:hover {
  background: var(--iv-primary-50) !important;
}

.masterstudy-course-player-header__curriculum .masterstudy-button {
  font-family: var(--iv-font-ar) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-course-player-header__discussions-toggler {
  border-color: var(--iv-border-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-header__discussions-toggler__title {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-header__assignment-timer,
.masterstudy-course-player-header__quiz-timer {
  background: var(--iv-gradient-primary) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-en) !important;
}

.masterstudy-course-player-header__dark-mode {
  border-color: var(--iv-border-light) !important;
}

.masterstudy-course-player-header__login .masterstudy-button {
  font-family: var(--iv-font-ar) !important;
}


/* --- 13.2 Curriculum Sidebar --- */
.masterstudy-course-player-curriculum {
  background: var(--iv-bg-warm) !important;
  border-inline-end: 1px solid var(--iv-border-light) !important;
}

.masterstudy-course-player-curriculum__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-course-player-curriculum__mobile-title {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-curriculum__mobile-close {
  color: var(--iv-text-light) !important;
}

/* Curriculum items */
.masterstudy-curriculum-list__section-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-curriculum-list__item {
  border-radius: var(--iv-radius-lg) !important;
  transition: background var(--iv-transition-normal), color var(--iv-transition-normal) !important;
}

.masterstudy-curriculum-list__item:hover {
  background: var(--iv-primary-50) !important;
}

.masterstudy-curriculum-list__link {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-curriculum-list__link:hover {
  color: var(--iv-primary-700) !important;
}

.masterstudy-curriculum-list__meta {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Progress bar in curriculum */
.masterstudy-course-player-curriculum__progress .masterstudy-progress {
  border-radius: var(--iv-radius-pill) !important;
  background: var(--iv-border-light) !important;
}

.masterstudy-course-player-curriculum__progress .masterstudy-progress-bar {
  background: var(--iv-gradient-primary) !important;
  border-radius: var(--iv-radius-pill) !important;
}


/* --- 13.3 Content Area --- */
.masterstudy-course-player-content {
  background: var(--iv-bg-white) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-content__header-lesson-type {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-content__header h1 {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}


/* --- 13.4 Navigation Footer --- */
.masterstudy-course-player-navigation {
  background: var(--iv-bg-white) !important;
  border-top: 1px solid var(--iv-border-light) !important;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04) !important;
}

.masterstudy-course-player-navigation__prev .masterstudy-button,
.masterstudy-course-player-navigation__next .masterstudy-button {
  font-family: var(--iv-font-ar) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-course-player-navigation__status {
  color: var(--iv-primary-700) !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 13.5 Discussions Sidebar --- */
.masterstudy-course-player-discussions {
  background: var(--iv-bg-warm) !important;
  border-inline-start: 1px solid var(--iv-border-light) !important;
}

.masterstudy-course-player-discussions__mobile-title {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 13.6 Lesson Content --- */
.masterstudy-course-player-lesson {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-lesson p {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-lesson a {
  color: var(--iv-primary-700) !important;
}

.masterstudy-course-player-lesson h1,
.masterstudy-course-player-lesson h2,
.masterstudy-course-player-lesson h3,
.masterstudy-course-player-lesson h4,
.masterstudy-course-player-lesson h5,
.masterstudy-course-player-lesson h6 {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Video progress bar */
.masterstudy-course-player-lesson-video__progress-bar {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-pill) !important;
}

.masterstudy-course-player-lesson-video__progress-bar-value {
  background: var(--iv-gradient-primary) !important;
  border-radius: var(--iv-radius-pill) !important;
}

.masterstudy-course-player-lesson-video__progress-title {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Audio progress */
.masterstudy-course-player-audio-lesson-type__progress-bar {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-pill) !important;
}

.masterstudy-course-player-audio-lesson-type__progress-bar-value {
  background: var(--iv-gradient-primary) !important;
  border-radius: var(--iv-radius-pill) !important;
}

/* Materials */
.masterstudy-course-player-lesson-materials__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-lesson-materials__quantity {
  color: var(--iv-text-light) !important;
}

.masterstudy-course-player-lesson-materials__link {
  color: var(--iv-primary-700) !important;
}


/* --- 13.7 Locked Content --- */
.masterstudy-course-player-locked__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-locked__description {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-locked__purchase .masterstudy-button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  border: none !important;
}


/* --- 13.8 Drip Content (Pro) --- */
.masterstudy-course-player-drip-content__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-drip-content__desc {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 13.9 Course Player Buttons --- */
.masterstudy-course-player-button {
  font-family: var(--iv-font-ar) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-course-player-button_style-primary {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
}

.masterstudy-course-player-button_style-primary:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

.masterstudy-course-player-button_style-secondary {
  background: var(--iv-gradient-accent) !important;
  color: #fff !important;
  border: none !important;
}

.masterstudy-course-player-button_style-secondary:hover {
  box-shadow: var(--iv-shadow-accent), var(--iv-shadow-glow-accent) !important;
  transform: translateY(-1px) !important;
}


/* ============================================
   14. QUIZ PAGE
   ============================================ */

/* --- 14.1 Quiz Container --- */
.masterstudy-course-player-quiz {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-quiz__content {
  font-family: var(--iv-font-ar) !important;
}

/* Quiz meta info */
.masterstudy-course-player-quiz__content-meta {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-xl) !important;
  padding: 16px 20px !important;
}

.masterstudy-course-player-quiz__content-meta-item {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-quiz__content-meta-item-title {
  color: var(--iv-text-primary) !important;
  font-weight: 600 !important;
}

/* Start quiz button */
.masterstudy-course-player-quiz__start-quiz .masterstudy-button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  border: none !important;
  font-family: var(--iv-font-ar) !important;
  padding: 14px 32px !important;
  font-size: 16px !important;
}

.masterstudy-course-player-quiz__start-quiz .masterstudy-button:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}


/* --- 14.2 Questions --- */
.masterstudy-course-player-question {
  font-family: var(--iv-font-ar) !important;
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
}

.masterstudy-course-player-question__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-course-player-question__description {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-question__explanation {
  background: var(--iv-primary-50) !important;
  border: 1px solid var(--iv-primary-100) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 12px 16px !important;
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Required badge */
.masterstudy-course-player-question_required .masterstudy-course-player-question__title::after {
  background: var(--iv-gold-bg) !important;
  color: var(--iv-gold) !important;
  border-radius: var(--iv-radius-pill) !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}


/* --- 14.3 Answer Options --- */
.masterstudy-course-player-answer {
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-lg) !important;
  background: var(--iv-bg-white) !important;
  transition: all var(--iv-transition-normal) !important;
  padding: 12px 16px !important;
  margin-bottom: 10px !important;
}

.masterstudy-course-player-answer:hover {
  border-color: var(--iv-primary-300) !important;
  background: var(--iv-primary-50) !important;
}

.masterstudy-course-player-answer_checked {
  border-color: var(--iv-primary-700) !important;
  background: var(--iv-primary-50) !important;
}

.masterstudy-course-player-answer_correct {
  border-color: var(--iv-primary-700) !important;
  background: var(--iv-primary-100) !important;
}

.masterstudy-course-player-answer_wrong {
  border-color: var(--iv-accent-600) !important;
  background: var(--iv-accent-100) !important;
}

.masterstudy-course-player-answer__text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-answer__hint {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Radio/Checkbox custom elements */
.masterstudy-course-player-answer__radio,
.masterstudy-course-player-answer__checkbox {
  border-color: var(--iv-border) !important;
  border-radius: 50% !important;
}

.masterstudy-course-player-answer__radio_checked,
.masterstudy-course-player-answer__checkbox_checked {
  background: var(--iv-primary-700) !important;
  border-color: var(--iv-primary-700) !important;
}

/* Correct/Wrong status icons */
.masterstudy-correctly {
  background: var(--iv-primary-700) !important;
  color: #fff !important;
}

.masterstudy-wrongly {
  background: var(--iv-accent-600) !important;
  color: #fff !important;
}


/* --- 14.4 Fill the Gap --- */
.masterstudy-course-player-fill-the-gap input[type="text"] {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-md) !important;
  padding: 8px 14px !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
  background: var(--iv-bg-white) !important;
  transition: border-color var(--iv-transition-fast) !important;
}

.masterstudy-course-player-fill-the-gap input[type="text"]:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
  outline: none !important;
}

.masterstudy-course-player-fill-the-gap__check-correct {
  color: var(--iv-primary-700) !important;
  border-color: var(--iv-primary-700) !important;
}

.masterstudy-course-player-fill-the-gap__check-incorrect {
  color: var(--iv-accent-600) !important;
  border-color: var(--iv-accent-600) !important;
}


/* --- 14.5 Item Match / Sortable --- */
.masterstudy-course-player-item-match__answer-item,
.masterstudy-course-player-sortable__answer-item {
  background: var(--iv-bg-white) !important;
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 10px 16px !important;
  cursor: grab !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-course-player-item-match__answer-item:hover,
.masterstudy-course-player-sortable__answer-item:hover {
  border-color: var(--iv-primary-300) !important;
  box-shadow: var(--iv-shadow-sm) !important;
}


/* --- 14.6 Quiz Result --- */
.masterstudy-course-player-quiz__result {
  background: var(--iv-primary-50) !important;
  border: 1px solid var(--iv-primary-100) !important;
  border-radius: var(--iv-radius-2xl) !important;
  padding: 32px !important;
}

.masterstudy-course-player-quiz__result_failed {
  background: var(--iv-accent-50, #FAF5FF) !important;
  border-color: var(--iv-accent-100) !important;
}

.masterstudy-course-player-quiz__result-progress {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 800 !important;
}

.masterstudy-course-player-quiz__result-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-course-player-quiz__result-info {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-quiz__result-answers {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Retake button */
.masterstudy-course-player-quiz__result-retake .masterstudy-button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  border: none !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 14.7 Quiz Timer --- */
.masterstudy-course-player-quiz-timer {
  font-family: var(--iv-font-en) !important;
}

.masterstudy-course-player-quiz-timer__content {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 8px 16px !important;
  font-weight: 700 !important;
}

.masterstudy-course-player-quiz-timer__days,
.masterstudy-course-player-quiz-timer__hours,
.masterstudy-course-player-quiz-timer__minutes,
.masterstudy-course-player-quiz-timer__seconds {
  font-family: var(--iv-font-en) !important;
}


/* --- 14.8 Quiz Pagination --- */
.masterstudy-course-player-quiz__pagination {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-course-player-quiz__pagination button {
  border-radius: var(--iv-radius-md) !important;
  border: 1.5px solid var(--iv-border-light) !important;
  background: var(--iv-bg-white) !important;
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-en) !important;
  transition: all var(--iv-transition-fast) !important;
}

.masterstudy-course-player-quiz__pagination button:hover,
.masterstudy-course-player-quiz__pagination button.active {
  background: var(--iv-primary-700) !important;
  color: #fff !important;
  border-color: var(--iv-primary-700) !important;
}


/* --- 14.9 Quiz Attempt Info --- */
.masterstudy-course-player-quiz__attempt-info {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-xl) !important;
  padding: 20px !important;
}

.masterstudy-course-player-quiz__attempt-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.masterstudy-course-player-quiz__attempt-date,
.masterstudy-course-player-quiz__attempt-date--value,
.masterstudy-course-player-quiz__attempt-date--time {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}


/* ============================================
   15. PUBLIC PROFILES — Instructor & Student
   ============================================ */

/* --- 15.1 Instructor Public Profile --- */
.masterstudy-instructor-public {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-instructor-public__profile-container {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
  overflow: hidden !important;
}

.masterstudy-instructor-public__cover {
  border-radius: 0 !important;
}

.masterstudy-instructor-public__avatar {
  border: 3px solid var(--iv-primary-700) !important;
}

.masterstudy-instructor-public__name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-instructor-public__position {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-instructor-public__stats {
  border-top: 1px solid var(--iv-border-light) !important;
  padding-top: 16px !important;
}

.masterstudy-instructor-public__stats-value {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.masterstudy-instructor-public__stats-label {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-ar) !important;
}

/* Star ratings on profile */
.masterstudy-instructor-public__rating-star svg,
.masterstudy-instructor-public__rating-star {
  color: var(--iv-gold) !important;
  fill: var(--iv-gold) !important;
}

/* Social links */
.masterstudy-instructor-public__socials-link {
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: 50% !important;
  color: var(--iv-text-secondary) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-instructor-public__socials-link:hover {
  background: var(--iv-primary-700) !important;
  border-color: var(--iv-primary-700) !important;
  color: #fff !important;
}

/* Details toggle */
.masterstudy-instructor-public__details-show,
.masterstudy-instructor-public__details-hide {
  color: var(--iv-primary-700) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}

.masterstudy-instructor-public__description {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  line-height: 1.7 !important;
}

/* Content area tabs */
.masterstudy-instructor-public__tabs {
  border-bottom: 2px solid var(--iv-border-light) !important;
}

.masterstudy-instructor-public__tabs .masterstudy-tabs__item {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border-bottom: 2px solid transparent !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-instructor-public__tabs .masterstudy-tabs__item:hover {
  color: var(--iv-primary-700) !important;
}

.masterstudy-instructor-public__tabs .masterstudy-tabs__item.active {
  color: var(--iv-primary-700) !important;
  border-bottom-color: var(--iv-primary-700) !important;
}

/* Action buttons on profile */
.masterstudy-instructor-public__actions .masterstudy-button {
  font-family: var(--iv-font-ar) !important;
  border-radius: var(--iv-radius-lg) !important;
}

/* Member since */
.masterstudy-instructor-public__member {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Empty state */
.masterstudy-instructor-public__empty-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-instructor-public__empty-text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Loader */
.masterstudy-instructor-public__loader-body {
  border-color: var(--iv-primary-700) !important;
}

/* List header */
.masterstudy-instructor-public__list-header-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-instructor-public__list-header-total {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Search & filters */
.masterstudy-instructor-public__filters input,
.masterstudy-instructor-public__filters select {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
  background: var(--iv-bg-white) !important;
}

.masterstudy-instructor-public__filters input:focus,
.masterstudy-instructor-public__filters select:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
}


/* --- 15.2 Student Public Profile --- */
.masterstudy-student-public {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-student-public__profile-container {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
}

.masterstudy-student-public__avatar {
  border: 3px solid var(--iv-primary-700) !important;
}

.masterstudy-student-public__name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-student-public__member {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Student stats blocks */
.masterstudy-student-public .masterstudy-statistics-block {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-student-public .masterstudy-statistics-block:hover {
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-4px) !important;
}

/* List header */
.masterstudy-student-public__list-header-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

/* Empty state */
.masterstudy-student-public__empty-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-student-public__empty-text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Loader */
.masterstudy-student-public__loader-body {
  border-color: var(--iv-primary-700) !important;
}


/* ============================================
   16. CHECKOUT / CART
   ============================================ */

/* --- 16.1 Cart --- */
.stm_lms_cart {
  border-top: 3px solid var(--iv-primary-700) !important;
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
}

.stm_lms_cart__item {
  border-bottom: 1px solid var(--iv-border-light) !important;
  padding: 16px 20px !important;
  transition: background var(--iv-transition-fast) !important;
}

.stm_lms_cart__item:hover {
  background: var(--iv-bg-warm) !important;
}

.stm_lms_cart__item_delete {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  color: var(--iv-text-light) !important;
  transition: all var(--iv-transition-fast) !important;
}

.stm_lms_cart__item_delete:hover {
  background: var(--iv-accent-100) !important;
  color: var(--iv-accent-700) !important;
}

.stm_lms_cart__item_title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.stm_lms_cart__item_price {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.stm_lms_cart__item_head {
  background: var(--iv-bg-warm) !important;
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}


/* --- 16.2 New Checkout Container --- */
.masterstudy-checkout-container {
  font-family: var(--iv-font-ar) !important;
}

/* Checkout table */
.masterstudy-checkout-table {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
  box-shadow: var(--iv-shadow-clay) !important;
}

.masterstudy-checkout-table__header {
  background: var(--iv-bg-warm) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  color: var(--iv-text-secondary) !important;
}

.masterstudy-checkout-table__body-row {
  border-bottom: 1px solid var(--iv-border-light) !important;
  transition: background var(--iv-transition-fast) !important;
}

.masterstudy-checkout-table__body-row:hover {
  background: var(--iv-primary-50) !important;
}

.masterstudy-checkout-table__footer {
  background: var(--iv-bg-warm) !important;
  border-top: 2px solid var(--iv-primary-100) !important;
}

/* Course info */
.masterstudy-checkout-course-info {
  padding: 16px !important;
}

.masterstudy-checkout-course-info__image img {
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-checkout-course-info__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.masterstudy-checkout-course-info__category {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-checkout-course-info__price {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.masterstudy-checkout-course-info__label {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 16.3 Payment Methods --- */
.stm-lms-payment-methods {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  overflow: hidden !important;
}

.stm-lms-payment-method {
  border-bottom: 1px solid var(--iv-border-light) !important;
  padding: 16px 20px !important;
  transition: background var(--iv-transition-fast) !important;
}

.stm-lms-payment-method:hover {
  background: var(--iv-primary-50) !important;
}

.stm-lms-payment-method.active {
  border-inline-start: 3px solid var(--iv-primary-700) !important;
  background: var(--iv-primary-50) !important;
}

.stm-lms-payment-method.active h4 {
  color: var(--iv-primary-700) !important;
  font-family: var(--iv-font-ar) !important;
}

.stm-lms-payment-method__name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.stm-lms-payment-method__name h4 {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

/* Pay button */
.stm_lms_pay_button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 14px 32px !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  transition: all var(--iv-transition-normal) !important;
}

.stm_lms_pay_button:hover {
  box-shadow: var(--iv-shadow-cta), var(--iv-shadow-glow-primary) !important;
  transform: translateY(-2px) !important;
}

.stm_lms_disabled_button {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
}


/* --- 16.4 Coupon --- */
.masterstudy-checkout-coupon__input {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 10px 16px !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
}

.masterstudy-checkout-coupon__input:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
}

.masterstudy-checkout-coupon__button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-checkout-coupon__button--remove {
  background: var(--iv-accent-100) !important;
  color: var(--iv-accent-700) !important;
}

/* GDPR checkbox */
.masterstudy-checkout-gdpr__checkbox {
  border-color: var(--iv-border) !important;
  border-radius: var(--iv-radius-md) !important;
}

.masterstudy-checkout-gdpr__text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-checkout-gdpr__link {
  color: var(--iv-primary-700) !important;
}

/* Empty cart */
.masterstudy-checkout-no-result__icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}


/* ============================================
   17. MESSAGES PAGE
   ============================================ */

.masterstudy-account-messages {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-messages__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

/* Conversations list */
.masterstudy-account-messages__list {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  overflow: hidden !important;
  background: var(--iv-bg-white) !important;
}

.masterstudy-account-messages__list-inner {
  scrollbar-width: thin !important;
  scrollbar-color: var(--iv-primary-300) transparent !important;
}

.masterstudy-account-messages__list-item {
  padding: 12px 16px !important;
  border-radius: var(--iv-radius-lg) !important;
  transition: background var(--iv-transition-fast) !important;
  cursor: pointer !important;
}

.masterstudy-account-messages__list-item:hover {
  background: var(--iv-primary-50) !important;
}

.masterstudy-account-messages__list-item.is-active {
  background: var(--iv-primary-100) !important;
}

.masterstudy-account-messages__list-avatar {
  border: 2px solid var(--iv-border-light) !important;
}

.masterstudy-account-messages__list-name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.masterstudy-account-messages__list-time {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-messages__list-badge {
  background: var(--iv-primary-700) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-pill) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
  min-width: 20px !important;
  height: 20px !important;
  line-height: 20px !important;
  font-size: 11px !important;
}

/* Chat panel */
.masterstudy-account-messages__panel-card {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
}

.masterstudy-account-messages__panel-header {
  border-bottom: 1px solid var(--iv-border-light) !important;
  padding: 12px 20px !important;
}

.masterstudy-account-messages__panel-avatar {
  border: 2px solid var(--iv-border-light) !important;
}

.masterstudy-account-messages__panel-name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.masterstudy-account-messages__panel-name:hover {
  color: var(--iv-primary-700) !important;
}

.masterstudy-account-messages__panel-time {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-messages__panel-action--refresh {
  background: var(--iv-bg-warm) !important;
  border-radius: 50% !important;
  color: var(--iv-text-secondary) !important;
  width: 40px !important;
  height: 40px !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-account-messages__panel-action--refresh:hover {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-account-messages__panel-action--profile {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

/* Message bubbles */
.masterstudy-account-messages__bubble {
  border-radius: var(--iv-radius-xl) !important;
  font-family: var(--iv-font-ar) !important;
  padding: 10px 16px !important;
}

.masterstudy-account-messages__bubble--in {
  background: var(--iv-bg-warm) !important;
  color: var(--iv-text-primary) !important;
}

.masterstudy-account-messages__bubble--out {
  background: var(--iv-primary-700) !important;
  color: #fff !important;
}

.masterstudy-account-messages__meta {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Composer */
.masterstudy-account-messages__composer {
  border-top: 1px solid var(--iv-border-light) !important;
  padding: 12px 20px !important;
}

.masterstudy-account-messages__input {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  padding: 10px 16px !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
  background: var(--iv-bg-white) !important;
  height: 40px !important;
  transition: border-color var(--iv-transition-fast) !important;
}

.masterstudy-account-messages__input:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
  outline: none !important;
}

.masterstudy-account-messages__send {
  background: var(--iv-primary-700) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-account-messages__send:hover {
  background: var(--iv-primary-900) !important;
  transform: scale(1.05) !important;
}

/* Error message */
.masterstudy-account-messages__error {
  background: var(--iv-accent-100) !important;
  color: var(--iv-accent-700) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Empty state */
.masterstudy-account-messages__empty-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-account-messages__empty-text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Loader */
.masterstudy-account-messages__loader-body {
  border-color: var(--iv-primary-700) !important;
}

/* Back link (mobile) */
a.masterstudy-back-link {
  background: var(--iv-bg-warm) !important;
  border-radius: 50% !important;
  color: var(--iv-text-secondary) !important;
}


/* ============================================
   18. PRO FEATURES — Analytics, Bundles, etc.
   ============================================ */

/* --- 18.1 Analytics Shared Components --- */
.masterstudy-stats-block {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-stats-block:hover {
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-4px) !important;
}

.masterstudy-stats-block__icon {
  background: var(--iv-primary-50) !important;
}

.masterstudy-stats-block__icon::after {
  color: var(--iv-primary-700) !important;
}

.masterstudy-stats-block__icon_success {
  background: rgba(16, 185, 129, 0.1) !important;
}

.masterstudy-stats-block__icon_success::after {
  color: #10B981 !important;
}

.masterstudy-stats-block__icon_warning {
  background: var(--iv-gold-bg) !important;
}

.masterstudy-stats-block__icon_warning::after {
  color: var(--iv-gold) !important;
}

.masterstudy-stats-block__icon_danger,
.masterstudy-stats-block__icon_failed {
  background: var(--iv-accent-100) !important;
}

.masterstudy-stats-block__icon_danger::after,
.masterstudy-stats-block__icon_failed::after {
  color: var(--iv-accent-700) !important;
}

/* Analytics data tables */
.masterstudy-datatable {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  overflow: hidden !important;
}

.masterstudy-datatable th {
  background: var(--iv-bg-warm) !important;
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  border-bottom: 2px solid var(--iv-border-light) !important;
}

.masterstudy-datatable td {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--iv-border-light) !important;
}

.masterstudy-datatable tr:hover td {
  background: var(--iv-primary-50) !important;
}

/* Pagination in tables */
.masterstudy-datatable .dt-container .dt-paging button.dt-paging-button {
  background: var(--iv-bg-warm) !important;
  color: var(--iv-text-secondary) !important;
  border-radius: var(--iv-radius-md) !important;
  border: 1px solid var(--iv-border-light) !important;
  font-family: var(--iv-font-en) !important;
  transition: all var(--iv-transition-fast) !important;
}

.masterstudy-datatable .dt-container .dt-paging button.dt-paging-button:hover,
.masterstudy-datatable .dt-container .dt-paging button.dt-paging-button.active {
  background: var(--iv-primary-700) !important;
  color: #fff !important;
  border-color: var(--iv-primary-700) !important;
}

/* Settings button */
.masterstudy-settings-button {
  background: var(--iv-bg-white) !important;
  border: 1.5px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-lg) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-settings-button:hover {
  border-color: var(--iv-primary-300) !important;
  box-shadow: var(--iv-shadow-sm) !important;
}

/* Settings modal */
.masterstudy-settings-modal {
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-lg) !important;
}

/* Analytics page headers */
.masterstudy-analytics-student-page__header,
.masterstudy-analytics-instructor-page__header,
.masterstudy-analytics-revenue-page__header {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-analytics-student-page__title,
.masterstudy-analytics-instructor-page__title,
.masterstudy-analytics-revenue-page__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

/* Analytics separators */
.masterstudy-analytics-student-page__separator,
.masterstudy-analytics-instructor-page__separator,
.masterstudy-analytics-revenue-page__separator {
  border-color: var(--iv-border-light) !important;
}

/* Analytics search inputs */
.masterstudy-account-grades-student__search,
.masterstudy-analytics input[type="text"],
.masterstudy-analytics input[type="search"] {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  color: var(--iv-text-primary) !important;
}

.masterstudy-account-grades-student__search:focus,
.masterstudy-analytics input:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
}

/* Analytics chart cards */
.masterstudy-analytics-student-page-line__content,
.masterstudy-analytics-instructor-page-line__content,
.masterstudy-analytics-revenue-page-line__content {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
}


/* --- 18.2 Bundles --- */
.masterstudy-bundle-card {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-clay) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-bundle-card:hover {
  box-shadow: var(--iv-shadow-clay-hover) !important;
  transform: translateY(-4px) !important;
}

.masterstudy-bundle-card__image {
  border-radius: var(--iv-radius-xl) var(--iv-radius-xl) 0 0 !important;
  overflow: hidden !important;
}

.masterstudy-bundle-card__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-bundle-card__bottom {
  border-color: var(--iv-border-light) !important;
}

.masterstudy-bundle-card__price-value {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.masterstudy-bundle-card__price-courses {
  color: var(--iv-text-light) !important;
  text-decoration: line-through !important;
}

.masterstudy-bundle-card__rating-star {
  color: var(--iv-gold) !important;
}

.masterstudy-bundle-card__course {
  border-bottom: 1px solid var(--iv-border-light) !important;
  padding: 10px 0 !important;
}

.masterstudy-bundle-card__course-image {
  border-radius: var(--iv-radius-md) !important;
}

.masterstudy-bundle-card__course-price-value {
  color: var(--iv-text-secondary) !important;
}

/* Single bundle page */
.stm_lms_single_bundle__courses_wrapper {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-xl) !important;
  border: 1px solid var(--iv-border-light) !important;
}

.stm_lms_single_bundle__courses_course {
  border-bottom: 1px solid var(--iv-border-light) !important;
}

.stm_lms_single_bundle__courses_course__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}

.stm_lms_single_bundle__courses_course__price {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-en) !important;
}

.stm_lms_buy_bundle {
  font-family: var(--iv-font-ar) !important;
}


/* --- 18.3 Certificate Page --- */
.masterstudy-page-certificate {
  max-width: 1200px !important;
  margin: 40px auto !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-page-certificate__banner {
  background: var(--iv-gold-bg) !important;
  color: var(--iv-gold) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-page-certificate__header-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 800 !important;
}

.masterstudy-page-certificate__header-subtitle {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-page-certificate__preview {
  border-radius: var(--iv-radius-2xl) !important;
  border: 1px solid var(--iv-border-light) !important;
  box-shadow: var(--iv-shadow-clay) !important;
}

.masterstudy-page-certificate__sidebar-block {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  box-shadow: var(--iv-shadow-sm) !important;
}

.masterstudy-page-certificate__user-avatar {
  border: 3px solid var(--iv-primary-700) !important;
}

.masterstudy-page-certificate__user-name {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-page-certificate__date-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-page-certificate__download .masterstudy-button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
  width: 100% !important;
}

.masterstudy-page-certificate__share {
  background: #0077b5 !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-page-certificate__course-image {
  border-radius: var(--iv-radius-md) !important;
}

.masterstudy-page-certificate__course-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 600 !important;
}


/* --- 18.4 Assignments --- */
.masterstudy-assignment__attachments_empty {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-md) !important;
}

.masterstudy-assignment__instructor-review__controls {
  gap: 10px !important;
}

.masterstudy-assignment__instructor-review__controls-items .masterstudy-progress {
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-pill) !important;
}

/* Grade badges */
.lms_grade.column-lms_grade {
  font-family: var(--iv-font-ar) !important;
}

.lms_status.column-lms_status .dashicons.passed {
  color: #10B981 !important;
}

.lms_status.column-lms_status .dashicons.not-passed {
  color: var(--iv-accent-600) !important;
}

.lms_status.column-lms_status .dashicons.draft {
  color: var(--iv-primary-700) !important;
}


/* --- 18.5 Points System --- */
.masterstudy-account .masterstudy-points {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account .masterstudy-points__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-account .masterstudy-points__banner {
  background: var(--iv-gold-bg) !important;
  border-color: var(--iv-gold) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-account .masterstudy-points__banner a.masterstudy-points__get-link {
  background: var(--iv-bg-white) !important;
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-md) !important;
  color: var(--iv-primary-700) !important;
  font-family: var(--iv-font-ar) !important;
  transition: all var(--iv-transition-fast) !important;
}

.masterstudy-account .masterstudy-points__banner a.masterstudy-points__get-link:hover {
  background: var(--iv-primary-50) !important;
  border-color: var(--iv-primary-700) !important;
}

.masterstudy-account .masterstudy-points__current-value {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.masterstudy-account .masterstudy-points__current-label {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account .masterstudy-points__columns {
  border-bottom: 1px solid var(--iv-border-light) !important;
}

.masterstudy-account .masterstudy-points__columns-title {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account .masterstudy-points__card {
  border-bottom: 1px solid var(--iv-border-light) !important;
}

.masterstudy-account .masterstudy-points__card-block {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account .masterstudy-points__empty-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-account .masterstudy-points__empty-text {
  color: var(--iv-text-secondary) !important;
  font-family: var(--iv-font-ar) !important;
}


/* --- 18.6 Gradebook --- */
.masterstudy-account-grades-student {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-grades-student__title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-account-grades-student__search {
  border: 1.5px solid var(--iv-border) !important;
  border-radius: var(--iv-radius-lg) !important;
  background: var(--iv-bg-white) !important;
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-grades-student__search:focus {
  border-color: var(--iv-primary-700) !important;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1) !important;
}

.masterstudy-account-grades-student__search-dropdown {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-lg) !important;
  box-shadow: var(--iv-shadow-md) !important;
}

.masterstudy-grades-td__grade-badge {
  font-family: var(--iv-font-en) !important;
  font-weight: 700 !important;
}

.masterstudy-grades-td__course img {
  border-radius: var(--iv-radius-md) !important;
}


/* --- 18.7 Enterprise Groups --- */
.masterstudy-account-enterprise-groups {
  font-family: var(--iv-font-ar) !important;
}

.masterstudy-account-enterprise-groups__header-title {
  color: var(--iv-text-primary) !important;
  font-family: var(--iv-font-ar) !important;
  font-weight: 700 !important;
}

.masterstudy-account-enterprise-groups__group {
  background: var(--iv-bg-white) !important;
  border: 1px solid var(--iv-border-light) !important;
  border-radius: var(--iv-radius-xl) !important;
  box-shadow: var(--iv-shadow-sm) !important;
  transition: all var(--iv-transition-normal) !important;
}

.masterstudy-account-enterprise-groups__group:hover {
  box-shadow: var(--iv-shadow-clay) !important;
  transform: translateY(-2px) !important;
}

.masterstudy-account-enterprise-groups__header-actions .masterstudy-button {
  font-family: var(--iv-font-ar) !important;
  border-radius: var(--iv-radius-lg) !important;
}

.masterstudy-account-enterprise-groups__no-records {
  color: var(--iv-text-light) !important;
  font-family: var(--iv-font-ar) !important;
}

/* Group Courses Modal */
.masterstudy-group-courses-modal__wrapper {
  background: var(--iv-bg-white) !important;
  border-radius: var(--iv-radius-2xl) !important;
  box-shadow: var(--iv-shadow-lg) !important;
}

.masterstudy-group-courses__start {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-xl) !important;
}

.masterstudy-group-courses__start-icon {
  background: var(--iv-primary-50) !important;
  color: var(--iv-primary-700) !important;
}

.masterstudy-group-courses__list-item {
  background: var(--iv-bg-warm) !important;
  border-radius: var(--iv-radius-md) !important;
  transition: background var(--iv-transition-fast) !important;
}

.masterstudy-group-courses__list-item:hover {
  background: var(--iv-primary-50) !important;
}

.masterstudy-group-courses__list-item_checkbox {
  border-color: var(--iv-border) !important;
  border-radius: var(--iv-radius-md) !important;
}

.masterstudy-group-courses__list-item_checkbox.checked {
  background: var(--iv-primary-700) !important;
  border-color: var(--iv-primary-700) !important;
}

.masterstudy-group-courses__actions-button {
  background: var(--iv-gradient-primary) !important;
  color: #fff !important;
  border-radius: var(--iv-radius-lg) !important;
  font-family: var(--iv-font-ar) !important;
}


/* ============================================
   19. COURSE PLAYER — Responsive
   ============================================ */

@media (max-width: 1024px) {
  .masterstudy-course-player-curriculum_open,
  .masterstudy-course-player-discussions_open {
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1) !important;
  }

  .masterstudy-course-player-curriculum__wrapper {
    width: 100% !important;
    max-width: 360px !important;
  }

  .masterstudy-course-player-discussions__wrapper {
    width: 100% !important;
    max-width: 360px !important;
  }
}

@media (max-width: 576px) {
  .masterstudy-course-player-header {
    padding: 0 10px !important;
  }

  .masterstudy-course-player-content__header h1 {
    font-size: 22px !important;
  }

  .masterstudy-course-player-quiz__content {
    padding: 0 5px !important;
  }

  .masterstudy-account-messages__layout {
    gap: 10px !important;
  }

  .masterstudy-account-messages__panel-card {
    border-radius: var(--iv-radius-lg) !important;
  }

  .masterstudy-instructor-public__profile-container,
  .masterstudy-student-public__profile-container {
    border-radius: var(--iv-radius-lg) !important;
  }

  .masterstudy-checkout-table {
    border-radius: var(--iv-radius-lg) !important;
  }

  .masterstudy-bundle-card {
    border-radius: var(--iv-radius-lg) !important;
  }
}