/* ======================================================
   ФАЙЛ: white-label-theme-full.css

   СОСТАВ:
   1. ОРИГИНАЛЬНЫЙ CSS — основная тёмно-синяя тема
      (главная, профиль, партнёрка, заказы — без изменений)

   2. ПАТЧ КУРСОВ И БИБЛИОТЕК — светлее, на базе #1A3A6B
      Перекрывает фон, карточки и акценты ТОЛЬКО для
      страниц курсов и библиотек через !important.

   ЦВЕТА ПАТЧА:
   --bg-deep:       #0F2647   хедер / сайдбар
   --bg-main:       #112D55   основной фон страницы
   --bg-card:       #1A3A6B   карточки, задания
   --accent:        #4A9EFF   кнопки, иконки, бордеры
   --accent-light:  #7FC3FF   hover, светлые акценты
   --text-primary:  #FFFFFF
   --text-secondary:#B8D4F5
   --border:        rgba(74,158,255,0.35)
   ====================================================== */

/* ===================================================
   ЦВЕТОВАЯ ПАЛИТРА (dark navy + blue, БУХГАЛТЕРСКАЯ НИША)
   --bg-main:       #050D1A   – основной фон
   --bg-card:       #0A1628   – фон карточек
   --bg-header:     #060E1C   – фон хедера
   --text-primary:  #E8EFF8   – основной текст (белый)
   --text-secondary:#7A96B8   – вторичный текст
   --border:        rgba(37,99,235,0.25)  – бордер
   --blue-gradient: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%)
   --blue-hover:    #1E4FC2   – тёмный синий hover
   --text-on-btn:   #E8EFF8   – текст на кнопках
   =================================================== */

/* ─── HEADER ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-header {
  background-color: #060E1C !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header.bg-white {
  background-color: #060E1C !important;
}

/* ─── ОСНОВНОЙ КОНТЕНТ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-content {
  background-color: #050D1A !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page {
  background-color: #050D1A !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page[style*="background-color: transparent"] {
  background-color: #050D1A !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page-container-l-col {
  background-color: #050D1A !important;
}

.ant-layout._content_layout_6sxhr_1 .mb-20.fw-500.fs-30 {
  color: #E8EFF8 !important;
}

/* ─── НАВИГАЦИЯ (горизонтальное меню) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal {
  background-color: #060E1C !important;
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu.ant-menu-horizontal,
.ant-layout._content_layout_6sxhr_1 .ant-menu-overflow.ant-menu.ant-menu-root.ant-menu-horizontal,
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal.ant-menu-light,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-menu-horizontal {
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header .fw-500,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-space-item {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-statistic-content-value {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-title-wrapper {
  background: none;
  text-shadow: none;
}

/* ─── КНОПКИ-ИКОНКИ В ХЕДЕРЕ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .flex.align-center.h-100.c-pointer.no-select.p-10.hoverable:first-of-type .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header .flex.align-center.h-100.c-pointer.no-select.p-10.hoverable:nth-of-type(2) .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 2px solid #1E4FC2 !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-dropdown-trigger .fs-12 {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-dropdown-trigger .anticon-down {
  color: #E8EFF8 !important;
}

/* ─── КНОПКА «НАЗАД» В ХЕДЕРЕ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-btn-primary.flex.flex-center.bg-blue-1.border-blue-2.h-fit.br-xxs.color-gray-8.p-8.flex.gap-5.fw-500 {
  background-color: #0A1628 !important;
  border: 2px solid rgba(37, 99, 235, 0.4) !important;
  border-radius: 40px !important;
  color: #E8EFF8 !important;
}

/* ─── КНОПКИ КАРТОЧЕК КУРСОВ (основная – розовая) ─── */
.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn .anticon-caret-right {
  display: none !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn span:first-of-type {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn {
  border-radius: 12px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border-color: #1E4FC2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  margin-top: 20px;
  margin-bottom: 0px;
  transition: all 0.3s ease !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
  border-color: #153BA0 !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn[disabled],
.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn:disabled {
  color: #E8EFF8 !important;
  opacity: 0.5 !important;
}

/* ─── КНОПКА «ПРОДОЛЖИТЬ» (вторичная розовая) ─── */
.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn {
  border-radius: 12px !important;
  height: 40px !important;
  background: transparent !important;
  border: 1px solid rgba(37, 99, 235, 0.5) !important;
  color: #2563EB !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  margin-top: 20px;
  margin-bottom: 0px;
  transition: all 0.3s ease !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn:hover {
  background: rgba(37, 99, 235, 0.1) !important;
  border-color: #2563EB !important;
  color: #93C5FD !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn[disabled],
.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn:disabled {
  color: #7A96B8 !important;
  opacity: 0.5 !important;
}

/* ─── КАРТОЧКИ КУРСОВ ─── */
.ant-layout._content_layout_6sxhr_1 .shadow-sm.material-card {
  border-radius: 20px !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  background-color: #0A1628 !important;
}

.ant-layout._content_layout_6sxhr_1 .shadow-sm.material-card .material-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card .material-card-image ._gradient_placeholder_18l4s_1 {
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 ._gradient_placeholder_18l4s_1.material-card-image-placeholder {
  border-radius: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}

.ant-layout._content_layout_6sxhr_1 .shadow-sm.material-card .material-card-image {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-content [data-testid="lib-desc"] .material-card-desc span {
  color: #7A96B8 !important;
}

/* ─── КАРТОЧКА-ПАПКА ─── */
.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="course-folder-card"] {
  border-radius: 20px !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  background-color: #0A1628 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="course-folder-card"] .material-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="course-folder-card"] .material-card-image {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="lib-card"] .material-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-folder-badge {
  background-color: #040B16;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 8px;
  color: #2563EB !important;
  font-size: 12px;
  font-weight: 500;
}

/* ─── ПРОГРЕСС-БАР ─── */
.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-bg,
.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-success-bg {
  background: linear-gradient(90deg, #2563EB, #1E4FC2) !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-progress-current-name span {
  color: #7A96B8 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-text {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-content [data-testid="lib-desc"] .fw-600.secondary-text {
  color: #E8EFF8 !important;
}

/* ─── BREADCRUMB (кнопка назад) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-breadcrumb-link .anticon-home svg {
  display: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-breadcrumb-link .anticon-home {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.1601 11.9999C20.1601 16.5119 16.5121 20.1599 12.0001 20.1599C7.48809 20.1599 3.84009 16.5119 3.84009 11.9999C3.84009 7.48791 7.48809 3.83991 12.0001 3.83991C16.5121 3.83991 20.1601 7.48791 20.1601 11.9999ZM4.80009 11.9999C4.80009 15.9839 8.01609 19.1999 12.0001 19.1999C15.9841 19.1999 19.2001 15.9839 19.2001 11.9999C19.2001 8.01591 15.9841 4.79991 12.0001 4.79991C8.01609 4.79991 4.80009 8.01591 4.80009 11.9999Z' fill='%232563EB'/%3E%3Cpath d='M12.816 8.01601L8.83204 12L12.816 15.984L12.144 16.656L7.48804 12L12.144 7.344L12.816 8.01601Z' fill='%232563EB'/%3E%3Cpath d='M8.15991 12.48V11.52H16.3199V12.48H8.15991Z' fill='%232563EB'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 34px 34px !important;
  display: inline-block !important;
  width: 34px !important;
  height: 34px !important;
  vertical-align: middle !important;
}

/* ─── ПУНКТЫ МЕНЮ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item {
  background-color: #060E1C !important;
  color: #7A96B8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-title-content {
  color: #7A96B8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected {
  background-color: #060E1C !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected .ant-menu-title-content {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover {
  background-color: #060E1C !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover .ant-menu-title-content {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #2563EB, #1E4FC2) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: rgba(37, 99, 235, 0.4) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected {
  color: #E8EFF8 !important;
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover {
  color: #E8EFF8 !important;
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after,
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after {
  border-bottom: 2px solid #2563EB !important;
}

/* ─── СТРОКА ПОИСКА ─── */
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper {
  border-radius: 12px !important;
  height: 40px !important;
  background: #0A1628 !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-wrapper {
  height: 100% !important;
  background: transparent !important;
  border: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-affix-wrapper {
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input {
  background: transparent !important;
  height: 100% !important;
  border: none !important;
  color: #E8EFF8 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-group-addon {
  height: 100% !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select {
  height: 100% !important;
  background: transparent !important;
  border: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-selector {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-selection-item,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-selection-search,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-arrow {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .anticon {
  color: #2563EB !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-prefix {
  background: transparent !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input::placeholder {
  color: rgba(253, 253, 253, 0.35) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper *,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper *::before,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper *::after {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-affix-wrapper:focus,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-affix-wrapper-focused,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input:focus,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-focused .ant-select-selector,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-open .ant-select-selector {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ─── ДРОПДАУН SELECT ─── */
.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
  background-color: rgba(37, 99, 235, 0.15) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option:hover:not(.ant-select-item-option-disabled) {
  background-color: rgba(253, 253, 253, 0.06) !important;
  color: #E8EFF8 !important;
}

.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-dropdown {
  border-radius: 12px !important;
  background-color: #0A1628 !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item {
  color: #E8EFF8 !important;
  padding: 8px 12px !important;
  background-color: transparent !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-selected .ant-select-item-option-content {
  color: #E8EFF8 !important;
  font-weight: 500 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-active .ant-select-item-option-content {
  color: #E8EFF8 !important;
  font-weight: 500 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group {
  border: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-addon {
  border: none !important;
  background: transparent !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-dropdown .ant-select-item-option-selected {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-dropdown .ant-select-item-option-active {
  background-color: rgba(37, 99, 235, 0.12) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-dropdown .ant-select-item-option:hover {
  background-color: rgba(253, 253, 253, 0.06) !important;
  color: #E8EFF8 !important;
}

.ant-select-dropdown[data-placement="bottomLeft"] .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
.ant-select-dropdown[data-placement="bottomRight"] .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input-group-addon::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background: rgba(37, 99, 235, 0.2);
}

/* ─── КАРТОЧКА ЛИЦЕНЗИИ ─── */
.license-card {
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  background-color: #0A1628 !important;
}

.license-card-preview-placeholder,
.license-card-preview-image {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}

.license-card .license-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.license-card-navigate-button {
  border-radius: 12px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1E4FC2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  margin-top: 20px;
  transition: all 0.3s ease !important;
  color: #E8EFF8 !important;
}

.license-card-navigate-button:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
  color: #E8EFF8 !important;
  border: 1px solid #153BA0 !important;
}

.license-card-navigate-button:active {
  transform: scale(0.97) !important;
}

.license-card-navigate-button[disabled],
.license-card-navigate-button:disabled {
  opacity: 0.5 !important;
}

.license-card-title {
  color: #E8EFF8 !important;
  font-weight: 500 !important;
}

.license-card-activity-label[data-active="true"] {
  color: #2563EB !important;
}

.license-card-activity-label[data-active="true"] .color-success {
  color: #2563EB !important;
}

.license-card .anticon {
  color: #2563EB !important;
}

.license-card .ant-progress-bg,
.license-card .ant-progress-success-bg {
  background: linear-gradient(90deg, #2563EB, #1E4FC2) !important;
}

.license-card .ant-progress-text {
  color: #E8EFF8 !important;
}

/* ─── ПАГИНАЦИЯ ─── */
.pagination .ant-pagination-item-active {
  border-color: #2563EB !important;
  background-color: transparent !important;
}

.pagination .ant-pagination-item-active a {
  color: #2563EB !important;
}

.pagination .ant-btn:hover {
  color: #93C5FD !important;
  border-color: #2563EB !important;
}

.pagination .ant-pagination-item:hover {
  border-color: #2563EB !important;
}

.pagination .ant-pagination-item:hover a {
  color: #2563EB !important;
}

/* ─── ЗАГОЛОВКИ СЕКЦИЙ ─── */
.ant-layout._content_layout_6sxhr_1 #licenses .ant-typography,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-typography,
.ant-layout._content_layout_6sxhr_1 #orders .ant-typography {
  color: #E8EFF8 !important;
  margin-bottom: 20px !important;
}

/* ─── ТОГЛ (switch) ─── */
.ant-switch {
  border: 2px solid rgba(37, 99, 235, 0.4) !important;
  background-color: #040B16 !important;
  display: flex !important;
  align-items: center !important;
}

.ant-switch .ant-switch-handle {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.ant-switch.ant-switch-checked {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 2px solid #1E4FC2 !important;
}

.ant-switch.ant-switch-checked .ant-switch-handle {
  top: 50% !important;
  transform: translateY(-50%) !important;
}

.ant-switch.ant-switch-checked:hover {
  background: linear-gradient(56deg, #1E4FC2 0%, #2563EB 100%) !important;
  border-color: #153BA0 !important;
}

.ant-switch:hover {
  border-color: #2563EB !important;
  background-color: #040B16 !important;
}

.ant-switch.ant-switch-checked:focus,
.ant-switch:focus {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25) !important;
}

/* ─── ТЕКСТЫ В СЕКЦИЯХ ─── */
.ant-layout._content_layout_6sxhr_1 .flex.align-center.gap-5.fw-500 span {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .flex.align-center.fs-14.gap-10.mt-10 span,
.ant-layout._content_layout_6sxhr_1 #licenses .flex.align-center.fs-14.gap-10.mt-10 span span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .flex.align-center.fs-14.gap-10.mt-10 span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .flex.align-center.fs-14.gap-10.mt-10 span span,
.ant-layout._content_layout_6sxhr_1 #orders .flex.align-center.fs-14.gap-10.mt-10 span,
.ant-layout._content_layout_6sxhr_1 #orders .flex.align-center.fs-14.gap-10.mt-10 span span {
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .ant-btn-link span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-btn-link span,
.ant-layout._content_layout_6sxhr_1 #orders .ant-btn-link span {
  color: #2563EB !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .ant-btn-link:hover span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-btn-link:hover span,
.ant-layout._content_layout_6sxhr_1 #orders .ant-btn-link:hover span {
  color: #93C5FD !important;
  text-decoration: underline !important;
}

.ant-layout._content_layout_6sxhr_1 .anticon-info-circle.color-primary {
  color: #2563EB !important;
}

.ant-layout._content_layout_6sxhr_1 .secondary-text {
  color: #7A96B8 !important;
}

.ant-layout._content_layout_6sxhr_1 .license-card .secondary-text,
.ant-layout._content_layout_6sxhr_1 .subscription-card .secondary-text,
.ant-layout._content_layout_6sxhr_1 .order-card .secondary-text {
  color: #7A96B8 !important;
}

/* ─── КАРТОЧКА ПОДПИСКИ ─── */
.subscription-card {
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  background-color: #0A1628 !important;
}

.subscription-card .subscription-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.subscription-card-pay-button {
  border-radius: 12px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1E4FC2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  margin-top: 20px;
  transition: all 0.3s ease !important;
  color: #E8EFF8 !important;
}

.subscription-card-pay-button .anticon svg,
.subscription-card-pay-button .anticon svg path {
  fill: #E8EFF8 !important;
}

.subscription-card-pay-button:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
  color: #E8EFF8 !important;
  border: 1px solid #153BA0 !important;
}

.subscription-card-pay-button:active {
  transform: scale(0.97) !important;
}

.subscription-card-activity-label[data-active="true"] .color-success {
  color: #2563EB !important;
}

.subscription-card-title {
  color: #E8EFF8 !important;
  font-weight: 500 !important;
}

.subscription-card .anticon:not(.subscription-card-pay-button .anticon) {
  color: #2563EB !important;
}

/* ─── КАРТОЧКА ЗАКАЗА ─── */
.order-card {
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  background-color: #0A1628 !important;
}

.order-card .order-card-content {
  background-color: #0A1628 !important;
  padding: 20px !important;
}

.order-card-pay-button {
  border-radius: 12px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1E4FC2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px !important;
  margin-top: 20px;
  transition: all 0.3s ease !important;
  color: #E8EFF8 !important;
}

.order-card-pay-button:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
  color: #E8EFF8 !important;
  border: 1px solid #153BA0 !important;
}

.order-card-pay-button:active {
  transform: scale(0.97) !important;
}

.order-card-activity-label[data-paid="true"] .color-success {
  color: #2563EB !important;
}

.order-card-title {
  color: #E8EFF8 !important;
  font-weight: 500 !important;
}

.order-card .anticon:not(.order-card-pay-button .anticon) {
  color: #2563EB !important;
}

/* ─── ЗАГОЛОВКИ H2 ─── */
section.ant-layout._content_layout_6sxhr_1 h2.ant-typography,
section.ant-layout._content_layout_6sxhr_1 .mb-40 > div > h2.ant-typography,
section.ant-layout._content_layout_6sxhr_1 .mb-40 h2.ant-typography {
  color: #E8EFF8 !important;
  font-weight: 600 !important;
  font-size: 24px !important;
}

/* ─── ТАБЛИЦА ПАРТНЁРСКИХ ПРОГРАММ ─── */
section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 {
  position: relative !important;
  background-color: #0A1628 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  padding: 21px 24px !important;
  transition: background-color 0.3s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24:hover {
  background-color: #0e1f35 !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(1) {
  flex: 1 1 auto !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 0 !important;
  text-transform: uppercase !important;
  color: #E8EFF8 !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(2) {
  display: flex !important;
  flex-direction: column !important;
  font-size: 14px !important;
  color: #E8EFF8 !important;
  padding: 0 !important;
  margin-top: 8px !important;
  margin-right: 8px !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(2)::before {
  content: "Комиссия" !important;
  font-weight: 400 !important;
  color: #7A96B8 !important;
  margin-bottom: 4px;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 16px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transition: all 0.3s ease !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
}

/* ─── КАРТОЧКИ СТАТИСТИКИ (ant-card) ─── */
section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card.ant-card-bordered {
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden;
  transition: all 0.3s ease !important;
  background-color: #0A1628 !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card.ant-card-bordered:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5) !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card-body {
  background-color: #0A1628 !important;
  padding: 20px !important;
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card-body::before {
  content: '' !important;
  display: block !important;
  min-width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, #040B16 0%, #0A1628 100%) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 24px !important;
  flex-shrink: 0 !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-statistic-title {
  font-size: 14px !important;
  color: #7A96B8 !important;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-statistic-content {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: #E8EFF8 !important;
  margin-bottom: 0 !important;
  line-height: 1.2 !important;
}

/* ─── КНОПКИ В СЕКЦИЯХ ─── */
section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-btn-default,
section.ant-layout._content_layout_6sxhr_1 .mb-40:first-of-type .ant-btn-default {
  border-radius: 12px !important;
  padding: 0 20px !important;
  height: 40px !important;
  transition: all 0.3s ease !important;
  border-color: rgba(37, 99, 235, 0.5) !important;
  color: #2563EB !important;
  background: transparent !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-btn-default:hover,
section.ant-layout._content_layout_6sxhr_1 .mb-40:first-of-type .ant-btn-default:hover {
  color: #93C5FD !important;
  border-color: #2563EB !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .mb-24.flex.gap-10 .ant-btn-primary {
  border-radius: 12px !important;
  padding: 0 20px !important;
  height: 40px !important;
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1E4FC2 !important;
  color: #E8EFF8 !important;
  transition: all 0.3s ease !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .mb-24.flex.gap-10 .ant-btn-primary:hover {
  background: transparent !important;
  border: 1px solid #2563EB !important;
  color: #2563EB !important;
}

/* ─── ИКОНКИ ─── */
section.ant-layout._content_layout_6sxhr_1 .anticon-info-circle,
section.ant-layout._content_layout_6sxhr_1 ._right_icon_z0nuh_15,
section.ant-layout._content_layout_6sxhr_1 .anticon-search {
  color: #2563EB !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-input-affix-wrapper:focus-within {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

/* ─── КОПИРОВАНИЕ / ССЫЛКИ ─── */
section.ant-layout._content_layout_6sxhr_1 .ant-typography-copy {
  color: #2563EB !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-typography-copy:hover {
  color: #93C5FD !important;
}

section.ant-layout._content_layout_6sxhr_1 ._copyable_hk1pp_1 {
  color: #2563EB !important;
}

section.ant-layout._content_layout_6sxhr_1 ._copyable_hk1pp_1:hover {
  color: #93C5FD !important;
}

section.ant-layout._content_layout_6sxhr_1 .fs-14 .color-primary {
  color: #2563EB !important;
}

/* ─── ГЕЙМИФИКАЦИЯ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-card,
.ant-layout._content_layout_6sxhr_1 .ant-card-body,
.ant-layout._content_layout_6sxhr_1 .ant-card.ant-card-bordered {
  background-color: #0A1628 !important;
  border: 1px solid rgba(37, 99, 235, 0.2) !important;
  border-radius: 16px !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-avatar {
  background: linear-gradient(135deg, #040B16 0%, #0A1628 100%) !important;
  border: 2px solid rgba(37, 99, 235, 0.4) !important;
  color: #E8EFF8 !important;
}

.ant-layout._content_layout_6sxhr_1 .bg-blue-1,
.ant-layout._content_layout_6sxhr_1 [class*="bg-blue"],
.ant-layout._content_layout_6sxhr_1 [class*="bg-gray"] {
  background-color: #040B16 !important;
  border: 1px solid rgba(37, 99, 235, 0.15) !important;
  border-radius: 12px !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card a,
.ant-layout._content_layout_6sxhr_1 .ant-card .ant-btn-link {
  color: #2563EB !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card a:hover,
.ant-layout._content_layout_6sxhr_1 .ant-card .ant-btn-link:hover {
  color: #93C5FD !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card .ant-divider {
  border-color: rgba(37, 99, 235, 0.15) !important;
}

/* ─── СТРАНИЦА КУРСА ─── */
section.ant-layout._learn_content_wrapper_191yi_8,
._learn_content_wrapper_191yi_8 {
  background-color: #050D1A !important;
}

#item_content_wrapper,
._item_content_wrapper_ulzwc_1 {
  background-color: #050D1A !important;
}

._learn_sidebar_191yi_1,
.ant-layout-sider._learn_sidebar_191yi_1 {
  background-color: #060E1C !important;
  border-right: 1px solid rgba(37, 99, 235, 0.2) !important;
}

._learn_sidebar_191yi_1 > div,
._learn_sidebar_191yi_1 > div > div {
  background-color: #060E1C !important;
}

._learn_sidebar_191yi_1 .ant-btn-link,
._learn_sidebar_191yi_1 .ant-btn-link span {
  color: #2563EB !important;
}

._learn_sidebar_191yi_1 .ant-btn-link:hover,
._learn_sidebar_191yi_1 .ant-btn-link:hover span {
  color: #93C5FD !important;
}

._learn_sidebar_191yi_1 .ant-menu.ant-menu-light,
._learn_sidebar_191yi_1 .ant-menu-root,
._learn_sidebar_191yi_1 .ant-menu-inline {
  background-color: #060E1C !important;
  border-inline-end: none !important;
}

._course_item_tree_ylf3u_1 {
  background: #060E1C !important;
}

._learn_sidebar_191yi_1 .ant-menu-item:hover,
._course_item_tree_ylf3u_1 .ant-menu-item:hover,
._course_item_tree_ylf3u_1 .ant-menu-submenu-title:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.10), rgba(37, 99, 235, 0.03)) !important;
}

._learn_sidebar_191yi_1 .ant-menu-item-selected,
._course_item_tree_ylf3u_1 .ant-menu-item-selected {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.06)) !important;
}

._course_item_tree_ylf3u_1 .ant-menu-item-selected:after,
._learn_sidebar_191yi_1 .ant-menu-item-selected:after {
  border-right: 3px solid #2563EB !important;
}

._course_item_tree_ylf3u_1 .anticon-check-circle,
._course_item_tree_ylf3u_1 .anticon-check-circle svg {
  color: #2563EB !important;
  fill: #2563EB !important;
}

._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow {
  color: #2563EB !important;
}

._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow::before,
._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow::after {
  background: #2563EB !important;
}

._course_item_tree_ylf3u_1 .ant-menu-sub.ant-menu-inline {
  background: #060E1C !important;
}

._header_1f8yi_15 {
  background-color: #060E1C !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2) !important;
}

._header_1f8yi_15 .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #040B16 0%, #0A1628 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

._header_1f8yi_15 .ant-btn-circle.bg-gray-3 svg path {
  fill: #2563EB !important;
}

._header_1f8yi_15 .ant-avatar {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

._item_content_footer_1fkn5_1 {
  background-color: #060E1C !important;
  border-top: 1px solid rgba(37, 99, 235, 0.2) !important;
}

._item_content_footer_1fkn5_1 .ant-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1E4FC2 !important;
  border-radius: 12px !important;
  color: #E8EFF8 !important;
}

._item_content_footer_1fkn5_1 .ant-btn-primary:hover {
  background: linear-gradient(47deg, #1E4FC2 13%, #153BA0 54%, #1E4FC2 99%) !important;
}

/* ─── СКРОЛЛБАР ─── */
._learn_sidebar_191yi_1 *::-webkit-scrollbar-thumb,
._course_item_tree_ylf3u_1::-webkit-scrollbar-thumb {
  background: #2563EB !important;
  border-radius: 4px !important;
}

._learn_sidebar_191yi_1 *::-webkit-scrollbar-thumb:hover {
  background: #93C5FD !important;
}

._learn_sidebar_191yi_1 * {
  scrollbar-color: #2563EB #040B16 !important;
}

/* ─── COURSE SIDEBAR (второй тип) ─── */
._learn_sidebar_1gst3_1,
.course-sidebar {
  background-color: #060E1C !important;
  border-right: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.course-sidebar > div,
.course-sidebar > div > div,
._learn_sidebar_1gst3_1 > div {
  background-color: #060E1C !important;
}

.course-sidebar-header {
  background: #060E1C !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.course-sidebar-header .course-title {
  color: #E8EFF8 !important;
}

.course-sidebar-header .course-current-step,
.course-sidebar-header .course-progress-percent {
  color: #7A96B8 !important;
}

.course-sidebar .ant-btn-text,
.course-sidebar .ant-btn.ant-btn-text {
  color: #E8EFF8 !important;
  background: transparent !important;
}

.course-sidebar .ant-btn.ant-btn-text .anticon,
.course-sidebar .ant-btn.ant-btn-text .anticon svg {
  color: #2563EB !important;
  fill: #2563EB !important;
}

.course-progress .ant-progress-bg,
.course-sidebar .ant-progress .ant-progress-bg {
  background: linear-gradient(90deg, #2563EB, #1E4FC2) !important;
}

.course-sidebar .ant-menu.ant-menu-light,
.course-sidebar .ant-menu-root,
._learn_sidebar_1gst3_1 .ant-menu.ant-menu-light {
  background-color: #060E1C !important;
}

.course-item-menu.ant-menu-inline {
  background: #060E1C !important;
  border-inline-end: none !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item,
.course-item-menu.ant-menu-inline .ant-menu-item,
.course-item-menu.ant-menu-inline .course-item-wrapper,
.course-item-menu.ant-menu-inline .ant-menu-submenu-title {
  background: transparent !important;
  color: #E8EFF8 !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
}

.course-item-menu .course-item-title,
.course-item-menu .ant-menu-title-content {
  color: #E8EFF8 !important;
}

.course-item-menu .anticon,
.course-item-menu .anticon svg {
  color: #2563EB !important;
  fill: #2563EB !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item:hover,
.course-item-menu .ant-menu-item:hover,
.course-item-menu .course-item-wrapper:hover,
.course-item-menu .ant-menu-submenu-title:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04)) !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item-selected,
.course-item-menu .ant-menu-item-selected,
.course-item-menu .ant-menu-item.ant-menu-item-selected.course-item-wrapper {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.08)) !important;
}

.course-item-menu.ant-menu-inline .ant-menu-item-selected:after,
.course-sidebar .course-item-menu.ant-menu-inline .ant-menu-item-selected:after {
  border-right: 3px solid #2563EB !important;
}

.course-item-submenu .ant-menu-submenu-arrow,
.course-item-submenu ._section_caret_icon_18ox6_36,
.course-sidebar .ant-menu-submenu-arrow {
  color: #2563EB !important;
  fill: #2563EB !important;
}

header.course-header {
  background-color: #060E1C !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.2) !important;
}

header.course-header ._headerButton_1rsom_2 {
  background: #0A1628 !important;
  border: 2px solid rgba(37, 99, 235, 0.4) !important;
  border-radius: 40px !important;
}

header.course-header .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #040B16 0%, #0A1628 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

header.course-header .ant-btn-circle.bg-gray-3 svg path {
  fill: #2563EB !important;
}

header.course-header .ant-avatar {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  color: #E8EFF8 !important;
}

._tabs_nav_bz015_1 {
  background-color: #060E1C !important;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15) !important;
}

._tabs_tab_bz015_13 .course-item-tab-title,
._tabs_tab_bz015_13 {
  color: #7A96B8 !important;
}

._tabs_tab__active_bz015_68 .course-item-tab-title {
  color: #E8EFF8 !important;
}

._tabs_tab__active_bz015_68 ._tab_icon_1hb2q_1,
._tabs_tab__active_bz015_68 ._tab_icon_1hb2q_1.bg-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
}

._tabs_tab_bz015_13:not(._tabs_tab__active_bz015_68) ._tab_icon_1hb2q_1 {
  background: #0D1A2E !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
}

._tabs_tab__active_bz015_68 ._tabs_tab_activity_bar_bz015_39 {
  background: linear-gradient(90deg, #2563EB, #1E4FC2) !important;
  height: 2px !important;
}

._item_content_wrapper_1pr2a_1,
._tabs_content_holder_bz015_81 {
  background-color: #080F1E !important;
}

._item_content_footer_t8lnz_1,
.course-footer {
  background-color: #060E1C !important;
  border-top: 1px solid rgba(37, 99, 235, 0.2) !important;
}

.course-footer .ant-btn-primary,
._item_content_footer_t8lnz_1 .ant-btn-primary,
button.ant-btn.ant-btn-primary.ant-btn-lg.course-complete-theory-button {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1A44B0 !important;
  border-radius: 12px !important;
  color: #E8EFF8 !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.3) !important;
}

.course-footer .ant-btn-primary:hover,
._item_content_footer_t8lnz_1 .ant-btn-primary:hover {
  background: linear-gradient(135deg, #1E4FC2 0%, #153BA0 100%) !important;
  border-color: #153BA0 !important;
  color: #E8EFF8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
}

.course-footer .ant-btn-primary .anticon svg,
.course-footer .ant-btn-primary .anticon svg path {
  fill: #E8EFF8 !important;
}

/* ─── ЗАДАНИЯ ─── */
._task_1fb9s_1 {
  background-color: #0A1628 !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  border-radius: 16px !important;
}

._task_1fb9s_1 .ant-tag._tag_oqezb_1 {
  background: rgba(37, 99, 235, 0.15) !important;
  border: 1px solid rgba(37, 99, 235, 0.4) !important;
  color: #2563EB !important;
  border-radius: 8px !important;
}

._task_1fb9s_1 ._markdown_inner_q2ssl_1 p {
  color: #E8EFF8 !important;
}

._task_1fb9s_1 .ant-divider {
  border-color: rgba(37, 99, 235, 0.15) !important;
}

._task_1fb9s_1 .p-10.mb-10.bg-gray-3 {
  background-color: #0C1830 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
}

._task_1fb9s_1 .ant-avatar {
  background: linear-gradient(135deg, #040B16 0%, #0A1628 100%) !important;
  border: 2px solid rgba(37, 99, 235, 0.4) !important;
  color: #E8EFF8 !important;
}

._task_1fb9s_1 .ant-input.msg-edit-input,
._task_1fb9s_1 textarea.ant-input {
  background: #0A1628 !important;
  color: #E8EFF8 !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  border-radius: 8px !important;
}

._task_1fb9s_1 .anticon {
  color: #2563EB !important;
}

._task_1fb9s_1 .ant-btn-primary {
  background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
  border: 1px solid #1A44B0 !important;
  border-radius: 12px !important;
  color: #E8EFF8 !important;
}

._task_1fb9s_1 .ant-btn-primary:hover {
  background: linear-gradient(135deg, #1E4FC2 0%, #153BA0 100%) !important;
  color: #E8EFF8 !important;
}

/* ─── СКРОЛЛБАР COURSE SIDEBAR ─── */
.course-sidebar,
.course-sidebar .overflow-y-auto,
._learn_sidebar_1gst3_1,
._learn_sidebar_1gst3_1 .overflow-y-auto {
  scrollbar-color: #2563EB #040B16 !important;
  scrollbar-width: thin;
}

.course-sidebar::-webkit-scrollbar-thumb,
.course-sidebar .overflow-y-auto::-webkit-scrollbar-thumb,
._learn_sidebar_1gst3_1::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2563EB 0%, #1E4FC2 50%, #2563EB 100%) !important;
  border-radius: 20px !important;
  border: 2px solid #060E1C !important;
}

.course-sidebar::-webkit-scrollbar-track,
._learn_sidebar_1gst3_1::-webkit-scrollbar-track {
  background: #060E1C !important;
}

/* ─── АДАПТИВ ─── */
@media screen and (max-width: 768px) {
  section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 {
    padding: 16px !important;
    background-color: #0A1628 !important;
    border: 1px solid rgba(37, 99, 235, 0.25) !important;
    border-radius: 20px !important;
  }

  section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a {
    background: linear-gradient(135deg, #2563EB 0%, #1E4FC2 100%) !important;
    color: #E8EFF8 !important;
  }
}


/* ======================================================
   ██████╗  █████╗ ████████╗██╗  ██╗
   ██╔══██╗██╔══██╗╚══██╔══╝██║  ██║
   ██████╔╝███████║   ██║   ███████║
   ██╔═══╝ ██╔══██║   ██║   ██╔══██║
   ██║     ██║  ██║   ██║   ██║  ██║
   ╚═╝     ╚═╝  ╚═╝   ╚═╝   ╚═╝  ╚═╝
   ПАТЧ: СТРАНИЦЫ КУРСОВ И БИБЛИОТЕК
   Фон #1A3A6B, акценты #4A9EFF / #7FC3FF
   Перекрывает оригинальные тёмные цвета через !important
   ====================================================== */

/* ─── ОСНОВНОЙ КОНТЕНТ (библиотека) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-content {
  background-color: #112D55 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page {
  background-color: #112D55 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page[style*="background-color: transparent"] {
  background-color: #112D55 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-page-container-l-col {
  background-color: #112D55 !important;
}

/* ─── ХЕДЕР (библиотека) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-header {
  background-color: #0F2647 !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header.bg-white {
  background-color: #0F2647 !important;
}

/* ─── НАВИГАЦИЯ (горизонтальное меню) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal,
.ant-layout._content_layout_6sxhr_1 .ant-menu.ant-menu-horizontal,
.ant-layout._content_layout_6sxhr_1 .ant-menu-overflow.ant-menu.ant-menu-root.ant-menu-horizontal,
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal.ant-menu-light,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-menu-horizontal {
  background-color: #0F2647 !important;
  border-bottom: none !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item {
  background-color: #0F2647 !important;
  color: #B8D4F5 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected {
  background-color: #0F2647 !important;
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected .ant-menu-title-content {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover {
  background-color: #0F2647 !important;
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover .ant-menu-title-content,
.ant-layout._content_layout_6sxhr_1 .ant-menu-title-content {
  color: #B8D4F5 !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected .ant-menu-title-content {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover .ant-menu-title-content {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item-selected::after {
  background: linear-gradient(90deg, #4A9EFF, #7FC3FF) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal .ant-menu-item:not(.ant-menu-item-selected):hover::after {
  background: rgba(74, 158, 255, 0.45) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after,
.ant-layout._content_layout_6sxhr_1 .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after {
  border-bottom: 2px solid #4A9EFF !important;
}

/* ─── ТЕКСТ В ХЕДЕРЕ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .fw-500,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-space-item {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-statistic-content-value {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .mb-20.fw-500.fs-30 {
  color: #FFFFFF !important;
}

/* ─── КНОПКИ-ИКОНКИ В ХЕДЕРЕ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .flex.align-center.h-100.c-pointer.no-select.p-10.hoverable:first-of-type .ant-btn-circle.bg-gray-3,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .flex.align-center.h-100.c-pointer.no-select.p-10.hoverable:nth-of-type(2) .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 2px solid rgba(74, 158, 255, 0.6) !important;
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-dropdown-trigger .fs-12,
.ant-layout._content_layout_6sxhr_1 .ant-layout-header .ant-dropdown-trigger .anticon-down {
  color: #FFFFFF !important;
}

/* ─── КНОПКА «НАЗАД» В ХЕДЕРЕ ─── */
.ant-layout._content_layout_6sxhr_1 .ant-btn-primary.flex.flex-center.bg-blue-1.border-blue-2.h-fit.br-xxs.color-gray-8.p-8.flex.gap-5.fw-500 {
  background-color: #1A3A6B !important;
  border: 2px solid rgba(74, 158, 255, 0.5) !important;
  border-radius: 40px !important;
  color: #FFFFFF !important;
}

/* ─── КАРТОЧКИ КУРСОВ ─── */
.ant-layout._content_layout_6sxhr_1 .shadow-sm.material-card {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #1A3A6B !important;
}

.ant-layout._content_layout_6sxhr_1 .shadow-sm.material-card .material-card-content {
  background-color: #1A3A6B !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-content [data-testid="lib-desc"] .material-card-desc span {
  color: #B8D4F5 !important;
}

/* ─── КАРТОЧКА-ПАПКА / LIB-CARD ─── */
.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="course-folder-card"],
.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="lib-card"] {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #1A3A6B !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="course-folder-card"] .material-card-content,
.ant-layout._content_layout_6sxhr_1 .material-card[data-testid="lib-card"] .material-card-content {
  background-color: #1A3A6B !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-folder-badge {
  background-color: #112D55 !important;
  border: 1px solid rgba(74, 158, 255, 0.4) !important;
  color: #7FC3FF !important;
}

/* ─── КНОПКИ КАРТОЧЕК ─── */
.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border-color: #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(74, 158, 255, 0.35) !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-primary.material-card-main-btn:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
  border-color: #4A9EFF !important;
  box-shadow: 0 4px 16px rgba(74, 158, 255, 0.5) !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn {
  background: rgba(74, 158, 255, 0.12) !important;
  border: 1px solid rgba(74, 158, 255, 0.55) !important;
  color: #7FC3FF !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-btns .ant-btn-default.material-card-main-green-btn:hover {
  background: rgba(74, 158, 255, 0.22) !important;
  border-color: #4A9EFF !important;
  color: #FFFFFF !important;
}

/* ─── ПРОГРЕСС-БАР ─── */
.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-bg,
.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-success-bg {
  background: linear-gradient(90deg, #4A9EFF, #7FC3FF) !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-progress-current-name span {
  color: #B8D4F5 !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-progress .ant-progress-text {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .material-card-content [data-testid="lib-desc"] .fw-600.secondary-text {
  color: #FFFFFF !important;
}

/* ─── СТРОКА ПОИСКА ─── */
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper {
  background: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.45) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-input::placeholder {
  color: rgba(184, 212, 245, 0.55) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-selection-item,
.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .ant-select-arrow {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-input-group-wrapper .anticon {
  color: #4A9EFF !important;
}

/* ─── ДРОПДАУН SELECT ─── */
.ant-layout._content_layout_6sxhr_1 .ant-select-dropdown {
  background-color: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.4) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
  background-color: rgba(74, 158, 255, 0.2) !important;
  color: #FFFFFF !important;
}

/* ─── КАРТОЧКА ЛИЦЕНЗИИ ─── */
.license-card {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #1A3A6B !important;
}

.license-card .license-card-content {
  background-color: #1A3A6B !important;
}

.license-card-navigate-button {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(74, 158, 255, 0.3) !important;
}

.license-card-navigate-button:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
  border: 1px solid #4A9EFF !important;
  box-shadow: 0 4px 16px rgba(74, 158, 255, 0.5) !important;
}

.license-card-title {
  color: #FFFFFF !important;
}

.license-card-activity-label[data-active="true"],
.license-card-activity-label[data-active="true"] .color-success {
  color: #7FC3FF !important;
}

.license-card .anticon {
  color: #4A9EFF !important;
}

.license-card .ant-progress-bg,
.license-card .ant-progress-success-bg {
  background: linear-gradient(90deg, #4A9EFF, #7FC3FF) !important;
}

.license-card .ant-progress-text {
  color: #FFFFFF !important;
}

/* ─── КАРТОЧКА ПОДПИСКИ ─── */
.subscription-card {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #1A3A6B !important;
}

.subscription-card .subscription-card-content {
  background-color: #1A3A6B !important;
}

.subscription-card-pay-button {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(74, 158, 255, 0.3) !important;
}

.subscription-card-pay-button:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
  border: 1px solid #4A9EFF !important;
}

.subscription-card-title {
  color: #FFFFFF !important;
}

.subscription-card-activity-label[data-active="true"] .color-success {
  color: #7FC3FF !important;
}

.subscription-card .anticon:not(.subscription-card-pay-button .anticon) {
  color: #4A9EFF !important;
}

/* ─── КАРТОЧКА ЗАКАЗА ─── */
.order-card {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #1A3A6B !important;
}

.order-card .order-card-content {
  background-color: #1A3A6B !important;
}

.order-card-pay-button {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

.order-card-pay-button:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
  border: 1px solid #4A9EFF !important;
}

.order-card-title {
  color: #FFFFFF !important;
}

.order-card-activity-label[data-paid="true"] .color-success {
  color: #7FC3FF !important;
}

.order-card .anticon:not(.order-card-pay-button .anticon) {
  color: #4A9EFF !important;
}

/* ─── ВТОРИЧНЫЙ ТЕКСТ В КАРТОЧКАХ ─── */
.ant-layout._content_layout_6sxhr_1 .secondary-text,
.license-card .secondary-text,
.subscription-card .secondary-text,
.order-card .secondary-text {
  color: #B8D4F5 !important;
}

/* ─── ТЕКСТЫ В СЕКЦИЯХ ─── */
.ant-layout._content_layout_6sxhr_1 .flex.align-center.gap-5.fw-500 span,
.ant-layout._content_layout_6sxhr_1 #licenses .ant-typography,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-typography,
.ant-layout._content_layout_6sxhr_1 #orders .ant-typography {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .flex.align-center.fs-14.gap-10.mt-10 span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .flex.align-center.fs-14.gap-10.mt-10 span,
.ant-layout._content_layout_6sxhr_1 #orders .flex.align-center.fs-14.gap-10.mt-10 span {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .ant-btn-link span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-btn-link span,
.ant-layout._content_layout_6sxhr_1 #orders .ant-btn-link span {
  color: #4A9EFF !important;
}

.ant-layout._content_layout_6sxhr_1 #licenses .ant-btn-link:hover span,
.ant-layout._content_layout_6sxhr_1 #subscriptions .ant-btn-link:hover span,
.ant-layout._content_layout_6sxhr_1 #orders .ant-btn-link:hover span {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .anticon-info-circle.color-primary {
  color: #4A9EFF !important;
}

/* ─── ГЕЙМИФИКАЦИЯ (ant-card) ─── */
.ant-layout._content_layout_6sxhr_1 .ant-card,
.ant-layout._content_layout_6sxhr_1 .ant-card-body,
.ant-layout._content_layout_6sxhr_1 .ant-card.ant-card-bordered {
  background-color: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.3) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-avatar {
  background: linear-gradient(135deg, #112D55 0%, #1A3A6B 100%) !important;
  border: 2px solid rgba(74, 158, 255, 0.5) !important;
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .bg-blue-1,
.ant-layout._content_layout_6sxhr_1 [class*="bg-blue"],
.ant-layout._content_layout_6sxhr_1 [class*="bg-gray"] {
  background-color: #112D55 !important;
  border: 1px solid rgba(74, 158, 255, 0.2) !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card a,
.ant-layout._content_layout_6sxhr_1 .ant-card .ant-btn-link {
  color: #7FC3FF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card a:hover,
.ant-layout._content_layout_6sxhr_1 .ant-card .ant-btn-link:hover {
  color: #FFFFFF !important;
}

.ant-layout._content_layout_6sxhr_1 .ant-card .ant-divider {
  border-color: rgba(74, 158, 255, 0.2) !important;
}

/* ─── КАРТОЧКИ СТАТИСТИКИ (партнёрка) ─── */
section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card.ant-card-bordered {
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
  background-color: #1A3A6B !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card-body {
  background-color: #1A3A6B !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-card-body::before {
  background: linear-gradient(135deg, #112D55 0%, #1A3A6B 100%) !important;
  border: 1px solid rgba(74, 158, 255, 0.4) !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-statistic-title {
  color: #B8D4F5 !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-statistic-content {
  color: #FFFFFF !important;
}

/* ─── ТАБЛИЦА ПАРТНЁРСКИХ ПРОГРАММ ─── */
section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 {
  background-color: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24:hover {
  background-color: #1e4278 !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(1),
section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(2) {
  color: #FFFFFF !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(2)::before {
  color: #B8D4F5 !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
}

/* ─── ЗАГОЛОВКИ H2 ─── */
section.ant-layout._content_layout_6sxhr_1 h2.ant-typography,
section.ant-layout._content_layout_6sxhr_1 .mb-40 > div > h2.ant-typography,
section.ant-layout._content_layout_6sxhr_1 .mb-40 h2.ant-typography {
  color: #FFFFFF !important;
}

/* ─── ИКОНКИ ─── */
section.ant-layout._content_layout_6sxhr_1 .anticon-info-circle,
section.ant-layout._content_layout_6sxhr_1 ._right_icon_z0nuh_15,
section.ant-layout._content_layout_6sxhr_1 .anticon-search {
  color: #4A9EFF !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-typography-copy,
section.ant-layout._content_layout_6sxhr_1 ._copyable_hk1pp_1 {
  color: #4A9EFF !important;
}

section.ant-layout._content_layout_6sxhr_1 .ant-typography-copy:hover,
section.ant-layout._content_layout_6sxhr_1 ._copyable_hk1pp_1:hover {
  color: #7FC3FF !important;
}

section.ant-layout._content_layout_6sxhr_1 .fs-14 .color-primary {
  color: #4A9EFF !important;
}

/* ─── КНОПКИ В СЕКЦИЯХ ─── */
section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-btn-default {
  border-color: rgba(74, 158, 255, 0.55) !important;
  color: #7FC3FF !important;
  background: rgba(74, 158, 255, 0.1) !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .ant-btn-default:hover {
  color: #FFFFFF !important;
  border-color: #4A9EFF !important;
  background: rgba(74, 158, 255, 0.22) !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .mb-24.flex.gap-10 .ant-btn-primary {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
}

section.ant-layout._content_layout_6sxhr_1 .mb-40 .mb-24.flex.gap-10 .ant-btn-primary:hover {
  background: rgba(74, 158, 255, 0.15) !important;
  border: 1px solid #4A9EFF !important;
  color: #7FC3FF !important;
}

/* ─── ТОГЛ (switch) ─── */
.ant-switch {
  border: 2px solid rgba(74, 158, 255, 0.5) !important;
  background-color: #112D55 !important;
}

.ant-switch.ant-switch-checked {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 2px solid #2563EB !important;
}

.ant-switch.ant-switch-checked:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
}

.ant-switch:hover {
  border-color: #4A9EFF !important;
}

/* ─── ПАГИНАЦИЯ ─── */
.pagination .ant-pagination-item-active {
  border-color: #4A9EFF !important;
}

.pagination .ant-pagination-item-active a {
  color: #4A9EFF !important;
}

.pagination .ant-pagination-item:hover a,
.pagination .ant-btn:hover {
  color: #7FC3FF !important;
  border-color: #4A9EFF !important;
}

/* ───────────────────────────────────────────────────
   СТРАНИЦА ПРОСМОТРА КУРСА (LEARN / COURSE VIEWER)
   ─────────────────────────────────────────────────── */

/* ─── ОБЁРТКА КУРСА ─── */
section.ant-layout._learn_content_wrapper_191yi_8,
._learn_content_wrapper_191yi_8,
#item_content_wrapper,
._item_content_wrapper_ulzwc_1,
._item_content_wrapper_1pr2a_1,
._tabs_content_holder_bz015_81 {
  background-color: #112D55 !important;
}

/* ─── САЙДБАР КУРСА (тип 1) ─── */
._learn_sidebar_191yi_1,
.ant-layout-sider._learn_sidebar_191yi_1 {
  background-color: #0F2647 !important;
  border-right: 1px solid rgba(74, 158, 255, 0.3) !important;
}

._learn_sidebar_191yi_1 > div,
._learn_sidebar_191yi_1 > div > div,
._learn_sidebar_191yi_1 .ant-menu.ant-menu-light,
._learn_sidebar_191yi_1 .ant-menu-root,
._learn_sidebar_191yi_1 .ant-menu-inline {
  background-color: #0F2647 !important;
}

._learn_sidebar_191yi_1 .ant-btn-link,
._learn_sidebar_191yi_1 .ant-btn-link span {
  color: #4A9EFF !important;
}

._learn_sidebar_191yi_1 .ant-btn-link:hover,
._learn_sidebar_191yi_1 .ant-btn-link:hover span {
  color: #7FC3FF !important;
}

/* ─── ДЕРЕВО КУРСА ─── */
._course_item_tree_ylf3u_1 {
  background: #0F2647 !important;
}

._learn_sidebar_191yi_1 .ant-menu-item:hover,
._course_item_tree_ylf3u_1 .ant-menu-item:hover,
._course_item_tree_ylf3u_1 .ant-menu-submenu-title:hover {
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.18), rgba(74, 158, 255, 0.05)) !important;
}

._learn_sidebar_191yi_1 .ant-menu-item-selected,
._course_item_tree_ylf3u_1 .ant-menu-item-selected {
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.30), rgba(74, 158, 255, 0.10)) !important;
}

._course_item_tree_ylf3u_1 .ant-menu-item-selected:after,
._learn_sidebar_191yi_1 .ant-menu-item-selected:after {
  border-right: 3px solid #4A9EFF !important;
}

._course_item_tree_ylf3u_1 .anticon-check-circle,
._course_item_tree_ylf3u_1 .anticon-check-circle svg {
  color: #4A9EFF !important;
  fill: #4A9EFF !important;
}

._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow,
._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow::before,
._course_item_tree_ylf3u_1 .ant-menu-submenu-arrow::after {
  color: #4A9EFF !important;
  background: #4A9EFF !important;
}

._course_item_tree_ylf3u_1 .ant-menu-sub.ant-menu-inline {
  background: #0F2647 !important;
}

/* ─── ХЕДЕР КУРСА (тип 1) ─── */
._header_1f8yi_15 {
  background-color: #0F2647 !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.3) !important;
}

._header_1f8yi_15 .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #112D55 0%, #1A3A6B 100%) !important;
  border: 1px solid rgba(74, 158, 255, 0.4) !important;
}

._header_1f8yi_15 .ant-btn-circle.bg-gray-3 svg path {
  fill: #4A9EFF !important;
}

._header_1f8yi_15 .ant-avatar {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
}

/* ─── ФУТЕР КУРСА (тип 1) ─── */
._item_content_footer_1fkn5_1 {
  background-color: #0F2647 !important;
  border-top: 1px solid rgba(74, 158, 255, 0.3) !important;
}

._item_content_footer_1fkn5_1 .ant-btn-primary {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
}

._item_content_footer_1fkn5_1 .ant-btn-primary:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
}

/* ─── САЙДБАР КУРСА (тип 2) ─── */
._learn_sidebar_1gst3_1,
.course-sidebar {
  background-color: #0F2647 !important;
  border-right: 1px solid rgba(74, 158, 255, 0.3) !important;
}

.course-sidebar > div,
.course-sidebar > div > div,
._learn_sidebar_1gst3_1 > div {
  background-color: #0F2647 !important;
}

.course-sidebar-header {
  background: #0F2647 !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.25) !important;
}

.course-sidebar-header .course-title {
  color: #FFFFFF !important;
}

.course-sidebar-header .course-current-step,
.course-sidebar-header .course-progress-percent {
  color: #B8D4F5 !important;
}

.course-sidebar .ant-btn-text,
.course-sidebar .ant-btn.ant-btn-text {
  color: #FFFFFF !important;
  background: transparent !important;
}

.course-sidebar .ant-btn.ant-btn-text .anticon,
.course-sidebar .ant-btn.ant-btn-text .anticon svg {
  color: #4A9EFF !important;
  fill: #4A9EFF !important;
}

.course-progress .ant-progress-bg,
.course-sidebar .ant-progress .ant-progress-bg {
  background: linear-gradient(90deg, #4A9EFF, #7FC3FF) !important;
}

.course-sidebar .ant-menu.ant-menu-light,
.course-sidebar .ant-menu-root,
._learn_sidebar_1gst3_1 .ant-menu.ant-menu-light,
.course-item-menu.ant-menu-inline {
  background-color: #0F2647 !important;
  border-inline-end: none !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item,
.course-item-menu.ant-menu-inline .ant-menu-item,
.course-item-menu.ant-menu-inline .course-item-wrapper,
.course-item-menu.ant-menu-inline .ant-menu-submenu-title {
  background: transparent !important;
  color: #FFFFFF !important;
  border-radius: 10px !important;
}

.course-item-menu .course-item-title,
.course-item-menu .ant-menu-title-content {
  color: #FFFFFF !important;
}

.course-item-menu .anticon,
.course-item-menu .anticon svg {
  color: #4A9EFF !important;
  fill: #4A9EFF !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item:hover,
.course-item-menu .ant-menu-item:hover,
.course-item-menu .course-item-wrapper:hover,
.course-item-menu .ant-menu-submenu-title:hover {
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.18), rgba(74, 158, 255, 0.05)) !important;
}

.course-sidebar .ant-menu-inline .ant-menu-item-selected,
.course-item-menu .ant-menu-item-selected,
.course-item-menu .ant-menu-item.ant-menu-item-selected.course-item-wrapper {
  background: linear-gradient(90deg, rgba(74, 158, 255, 0.30), rgba(74, 158, 255, 0.10)) !important;
}

.course-item-menu.ant-menu-inline .ant-menu-item-selected:after,
.course-sidebar .course-item-menu.ant-menu-inline .ant-menu-item-selected:after {
  border-right: 3px solid #4A9EFF !important;
}

.course-item-submenu .ant-menu-submenu-arrow,
.course-item-submenu ._section_caret_icon_18ox6_36,
.course-sidebar .ant-menu-submenu-arrow {
  color: #4A9EFF !important;
  fill: #4A9EFF !important;
}

/* ─── ХЕДЕР КУРСА (тип 2) ─── */
header.course-header {
  background-color: #0F2647 !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.3) !important;
}

header.course-header ._headerButton_1rsom_2 {
  background: #1A3A6B !important;
  border: 2px solid rgba(74, 158, 255, 0.5) !important;
  border-radius: 40px !important;
}

header.course-header .ant-btn-circle.bg-gray-3 {
  background: linear-gradient(135deg, #112D55 0%, #1A3A6B 100%) !important;
  border: 1px solid rgba(74, 158, 255, 0.4) !important;
}

header.course-header .ant-btn-circle.bg-gray-3 svg path {
  fill: #4A9EFF !important;
}

header.course-header .ant-avatar {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
}

/* ─── ТАБЫ КУРСА ─── */
._tabs_nav_bz015_1 {
  background-color: #0F2647 !important;
  border-bottom: 1px solid rgba(74, 158, 255, 0.2) !important;
}

._tabs_tab_bz015_13 .course-item-tab-title,
._tabs_tab_bz015_13 {
  color: #B8D4F5 !important;
}

._tabs_tab__active_bz015_68 .course-item-tab-title {
  color: #FFFFFF !important;
}

._tabs_tab__active_bz015_68 ._tab_icon_1hb2q_1,
._tabs_tab__active_bz015_68 ._tab_icon_1hb2q_1.bg-primary {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
}

._tabs_tab_bz015_13:not(._tabs_tab__active_bz015_68) ._tab_icon_1hb2q_1 {
  background: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
}

._tabs_tab__active_bz015_68 ._tabs_tab_activity_bar_bz015_39 {
  background: linear-gradient(90deg, #4A9EFF, #7FC3FF) !important;
}

/* ─── ФУТЕР КУРСА (тип 2) ─── */
._item_content_footer_t8lnz_1,
.course-footer {
  background-color: #0F2647 !important;
  border-top: 1px solid rgba(74, 158, 255, 0.3) !important;
}

.course-footer .ant-btn-primary,
._item_content_footer_t8lnz_1 .ant-btn-primary,
button.ant-btn.ant-btn-primary.ant-btn-lg.course-complete-theory-button {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(74, 158, 255, 0.35) !important;
}

.course-footer .ant-btn-primary:hover,
._item_content_footer_t8lnz_1 .ant-btn-primary:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
  border-color: #4A9EFF !important;
  box-shadow: 0 4px 16px rgba(74, 158, 255, 0.5) !important;
}

.course-footer .ant-btn-primary .anticon svg,
.course-footer .ant-btn-primary .anticon svg path {
  fill: #FFFFFF !important;
}

/* ─── ЗАДАНИЯ ─── */
._task_1fb9s_1 {
  background-color: #1A3A6B !important;
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
}

._task_1fb9s_1 .ant-tag._tag_oqezb_1 {
  background: rgba(74, 158, 255, 0.18) !important;
  border: 1px solid rgba(74, 158, 255, 0.5) !important;
  color: #7FC3FF !important;
}

._task_1fb9s_1 ._markdown_inner_q2ssl_1 p {
  color: #FFFFFF !important;
}

._task_1fb9s_1 .ant-divider {
  border-color: rgba(74, 158, 255, 0.2) !important;
}

._task_1fb9s_1 .p-10.mb-10.bg-gray-3 {
  background-color: #112D55 !important;
  border: 1px solid rgba(74, 158, 255, 0.18) !important;
}

._task_1fb9s_1 .ant-avatar {
  background: linear-gradient(135deg, #112D55 0%, #1A3A6B 100%) !important;
  border: 2px solid rgba(74, 158, 255, 0.5) !important;
  color: #FFFFFF !important;
}

._task_1fb9s_1 .ant-input.msg-edit-input,
._task_1fb9s_1 textarea.ant-input {
  background: #112D55 !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(74, 158, 255, 0.35) !important;
}

._task_1fb9s_1 .anticon {
  color: #4A9EFF !important;
}

._task_1fb9s_1 .ant-btn-primary {
  background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
  border: 1px solid #2563EB !important;
  color: #FFFFFF !important;
}

._task_1fb9s_1 .ant-btn-primary:hover {
  background: linear-gradient(135deg, #7FC3FF 0%, #4A9EFF 100%) !important;
}

/* ─── СКРОЛЛБАРЫ КУРСА ─── */
._learn_sidebar_191yi_1 *::-webkit-scrollbar-thumb,
._course_item_tree_ylf3u_1::-webkit-scrollbar-thumb,
.course-sidebar::-webkit-scrollbar-thumb,
.course-sidebar .overflow-y-auto::-webkit-scrollbar-thumb,
._learn_sidebar_1gst3_1::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4A9EFF 0%, #2563EB 100%) !important;
  border-radius: 20px !important;
  border: 2px solid #0F2647 !important;
}

._learn_sidebar_191yi_1 *::-webkit-scrollbar-thumb:hover,
.course-sidebar::-webkit-scrollbar-thumb:hover {
  background: #7FC3FF !important;
}

._learn_sidebar_191yi_1 *,
.course-sidebar,
._learn_sidebar_1gst3_1 {
  scrollbar-color: #4A9EFF #112D55 !important;
}

.course-sidebar::-webkit-scrollbar-track,
._learn_sidebar_1gst3_1::-webkit-scrollbar-track {
  background: #0F2647 !important;
}

/* ─── АДАПТИВ (ПАТЧ) ─── */
@media screen and (max-width: 768px) {
  section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 {
    background-color: #1A3A6B !important;
    border: 1px solid rgba(74, 158, 255, 0.35) !important;
  }

  section.ant-layout._content_layout_6sxhr_1 .ant-table-wrapper._noRowBorder_1ftkt_24 .ant-table-cell:nth-child(4) a {
    background: linear-gradient(135deg, #4A9EFF 0%, #2563EB 100%) !important;
    color: #FFFFFF !important;
  }
}

/* ======================================================
   ФИКС: ТЁМНЫЕ ТЕКСТЫ В САЙДБАРЕ И ХЕДЕРЕ КУРСА
   Покрывает: названия уроков, секций, кнопки поиска,
   «Вернуться к библиотекам», заголовок курса, имя юзера
   ====================================================== */

/* ─── НАЗВАНИЯ УРОКОВ И СЕКЦИЙ В САЙДБАРЕ ─── */
/* Обёртка пункта меню */
._learn_sidebar_191yi_1 ._library_item_content_wrapper_24nyz_1,
._learn_sidebar_191yi_1 ._library_item_content_wrapper_24nyz_1 span,
._learn_sidebar_191yi_1 ._library_item_title_24nyz_7,
._course_item_tree_ylf3u_1 ._library_item_content_wrapper_24nyz_1,
._course_item_tree_ylf3u_1 ._library_item_content_wrapper_24nyz_1 span,
._course_item_tree_ylf3u_1 ._library_item_title_24nyz_7 {
  color: #B8D4F5 !important;
}

/* Активный (выбранный) пункт — ярче */
._learn_sidebar_191yi_1 .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1,
._learn_sidebar_191yi_1 .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1 span,
._learn_sidebar_191yi_1 .ant-menu-item-selected ._library_item_title_24nyz_7,
._course_item_tree_ylf3u_1 .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1,
._course_item_tree_ylf3u_1 .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1 span,
._course_item_tree_ylf3u_1 .ant-menu-item-selected ._library_item_title_24nyz_7 {
  color: #FFFFFF !important;
}

/* Hover на неактивных ─── */
._learn_sidebar_191yi_1 .ant-menu-item:hover ._library_item_content_wrapper_24nyz_1,
._learn_sidebar_191yi_1 .ant-menu-item:hover ._library_item_title_24nyz_7,
._course_item_tree_ylf3u_1 .ant-menu-item:hover ._library_item_content_wrapper_24nyz_1,
._course_item_tree_ylf3u_1 .ant-menu-item:hover ._library_item_title_24nyz_7 {
  color: #FFFFFF !important;
}

/* Заголовки секций (submenu-title) */
._learn_sidebar_191yi_1 .ant-menu-submenu-title .ant-menu-title-content,
._learn_sidebar_191yi_1 .ant-menu-submenu-title ._library_item_content_wrapper_24nyz_1,
._learn_sidebar_191yi_1 .ant-menu-submenu-title ._library_item_title_24nyz_7,
._course_item_tree_ylf3u_1 .ant-menu-submenu-title .ant-menu-title-content,
._course_item_tree_ylf3u_1 .ant-menu-submenu-title ._library_item_content_wrapper_24nyz_1,
._course_item_tree_ylf3u_1 .ant-menu-submenu-title ._library_item_title_24nyz_7 {
  color: #FFFFFF !important;
}

/* Все span внутри ant-menu-title-content в сайдбаре */
._learn_sidebar_191yi_1 .ant-menu-title-content span,
._course_item_tree_ylf3u_1 .ant-menu-title-content span,
._learn_sidebar_191yi_1 .ant-menu-title-content,
._course_item_tree_ylf3u_1 .ant-menu-title-content {
  color: #B8D4F5 !important;
}

._learn_sidebar_191yi_1 .ant-menu-item-selected .ant-menu-title-content,
._learn_sidebar_191yi_1 .ant-menu-item-selected .ant-menu-title-content span,
._course_item_tree_ylf3u_1 .ant-menu-item-selected .ant-menu-title-content,
._course_item_tree_ylf3u_1 .ant-menu-item-selected .ant-menu-title-content span {
  color: #FFFFFF !important;
}

/* ─── КНОПКА «ПОИСК» В САЙДБАРЕ ─── */
._learn_sidebar_191yi_1 .ant-btn-link span,
._learn_sidebar_191yi_1 .ant-btn-link .anticon,
._learn_sidebar_191yi_1 .ant-btn.ant-btn-link {
  color: #7FC3FF !important;
}

._learn_sidebar_191yi_1 .ant-btn-link:hover span,
._learn_sidebar_191yi_1 .ant-btn-link:hover .anticon,
._learn_sidebar_191yi_1 .ant-btn-link:hover {
  color: #FFFFFF !important;
}

/* ─── ХЕДЕР КУРСА: КНОПКА «ВЕРНУТЬСЯ К БИБЛИОТЕКАМ» ─── */
._header_1f8yi_15 .ant-btn-text,
._header_1f8yi_15 .ant-btn.ant-btn-text,
._header_1f8yi_15 .ant-btn-text span,
._header_1f8yi_15 .ant-btn-text .anticon {
  color: #7FC3FF !important;
}

._header_1f8yi_15 .ant-btn-text:hover,
._header_1f8yi_15 .ant-btn-text:hover span,
._header_1f8yi_15 .ant-btn-text:hover .anticon {
  color: #FFFFFF !important;
}

/* ─── ХЕДЕР КУРСА: ЗАГОЛОВОК КУРСА (fs-18) ─── */
._header_1f8yi_15 .fs-18,
._header_1f8yi_15 span.fs-18 {
  color: #FFFFFF !important;
}

/* ─── ХЕДЕР КУРСА: ВСЕ ТЕКСТЫ ─── */
._header_1f8yi_15 span:not(.ant-avatar-string),
._header_1f8yi_15 div:not(.ant-avatar) {
  color: #FFFFFF !important;
}

/* ─── ИМЯ ПОЛЬЗОВАТЕЛЯ В ХЕДЕРЕ ─── */
._header_1f8yi_15 .ant-dropdown-trigger .fs-12,
._header_1f8yi_15 .ant-dropdown-trigger div,
header.course-header .ant-dropdown-trigger .fs-12,
header.course-header .ant-dropdown-trigger div {
  color: #FFFFFF !important;
}

/* ─── ИКОНКИ КНОПОК В ХЕДЕРЕ КУРСА ─── */
._header_1f8yi_15 .ant-btn-circle.ant-btn-link svg,
._header_1f8yi_15 .ant-btn-circle.ant-btn-link,
._header_1f8yi_15 .secondary-text {
  color: #7FC3FF !important;
}

/* ─── COURSE SIDEBAR (тип 2): те же классы ─── */
.course-sidebar ._library_item_content_wrapper_24nyz_1,
.course-sidebar ._library_item_content_wrapper_24nyz_1 span,
.course-sidebar ._library_item_title_24nyz_7,
._learn_sidebar_1gst3_1 ._library_item_content_wrapper_24nyz_1,
._learn_sidebar_1gst3_1 ._library_item_content_wrapper_24nyz_1 span,
._learn_sidebar_1gst3_1 ._library_item_title_24nyz_7 {
  color: #B8D4F5 !important;
}

.course-sidebar .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1,
.course-sidebar .ant-menu-item-selected ._library_item_content_wrapper_24nyz_1 span,
.course-sidebar .ant-menu-item-selected ._library_item_title_24nyz_7 {
  color: #FFFFFF !important;
}

.course-sidebar .ant-menu-submenu-title .ant-menu-title-content,
.course-sidebar .ant-menu-submenu-title ._library_item_content_wrapper_24nyz_1,
.course-sidebar .ant-menu-submenu-title ._library_item_title_24nyz_7 {
  color: #FFFFFF !important;
}

.course-sidebar .ant-menu-title-content span,
.course-sidebar .ant-menu-title-content,
._learn_sidebar_1gst3_1 .ant-menu-title-content span,
._learn_sidebar_1gst3_1 .ant-menu-title-content {
  color: #B8D4F5 !important;
}

.course-sidebar .ant-menu-item-selected .ant-menu-title-content,
.course-sidebar .ant-menu-item-selected .ant-menu-title-content span {
  color: #FFFFFF !important;
}

/* Хедер course-header: текст кнопки назад */
header.course-header .ant-btn-text,
header.course-header .ant-btn.ant-btn-text,
header.course-header .ant-btn-text span,
header.course-header .ant-btn-text .anticon {
  color: #7FC3FF !important;
}

header.course-header .ant-btn-text:hover span,
header.course-header .ant-btn-text:hover .anticon {
  color: #FFFFFF !important;
}

header.course-header .fs-18,
header.course-header span.fs-18 {
  color: #FFFFFF !important;
}