/* ==========================================================================
   Корпоративный университет «Таврос» — общие стили портала
   ========================================================================== */

/* Локальный шрифт Manrope. Файл кладём в /assets/fonts/ (внешние источники запрещены). */

:root {
  /* Палитра построена на зелёном из логотипа «Таврос» (#97C008).
     Основной цвет — сам зелёный, тёмный — для подвала и первого экрана,
     светлый — для градиентов. Статус успеха вынесен отдельно: если он
     совпадёт с фирменным, перестанет читаться как оценка состояния. */
  --font-stack: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --brand: #97c008;
  --brand-dark: #7ba005;
  --brand-mid: #5a7d07;
  --brand-deep: #1f2a03;
  --brand-light: #c3e04a;

  --brand-rgb: 151, 192, 8;
  --brand-light-rgb: 195, 224, 74;
  --brand-deep-rgb: 31, 42, 3;

  --success: #0f7b3f;
  --success-rgb: 15, 123, 63;

  --ink: #1a1d16;
  --ink-soft: #5c6355;
  --line: #e6e9e0;
  --surface: #ffffff;
  --surface-alt: #f4f6f1;

  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: none;
  --shadow-md: 0 4px 16px rgba(var(--brand-deep-rgb), 0.08);
  --header-height: 56px;

  --bs-primary: var(--brand);
  --bs-primary-rgb: 151, 192, 8;
}

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-stack);
  color: var(--ink);
  background-color: var(--surface);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Раскладка страницы: обёртка занимает минимум весь экран, основной блок
   растягивается, а подвал прижимается к низу окна. Поэтому на страницах
   с небольшим количеством контента (например, на входе) подвал стоит внизу,
   а не «висит» посередине с белым полем под ним. */

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-shell > main {
  flex: 1 0 auto;
}

.page-shell > .site-footer {
  flex: 0 0 auto;
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

a {
  color: var(--brand);
}

a:hover, a:focus {
  color: var(--brand-dark);
}

:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 0;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background-color: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Кнопки и элементы форм
   -------------------------------------------------------------------------- */

.btn {
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding-inline: 1.25rem;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1.0625rem;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
}

.btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.65);
  --bs-btn-hover-color: var(--brand-deep);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
}

.form-label {
  font-weight: 600;
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--line);
  padding: 0.7rem 1rem;
}

/* --------------------------------------------------------------------------
   Шапка и логотип
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .navbar {
  padding-block: 0.85rem;
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--ink);
  padding-inline: 0.9rem;
}

.site-header .nav-link:hover, .site-header .nav-link:focus {
  color: var(--brand);
}

/* Шапка держится в одну строку: строки раскладки не переносятся, пункты меню
   не сжимаются, а текст пунктов не разбивается на две строки. */

@media (min-width: 992px) {
  .site-header .navbar > .container {
    flex-wrap: nowrap;
  }
}

@media (min-width: 992px) {
  .site-header .navbar-nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .site-header .navbar-nav .nav-item {
    flex: 0 0 auto;
  }
}

@media (min-width: 992px) {
  .site-header .nav-link {
    white-space: nowrap;
  }
}

/* Страховка: если места совсем мало, сокращается подпись логотипа,
     а не переносится меню. */

@media (min-width: 992px) {
  .brand {
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .brand__text {
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .brand__name, .brand__tagline {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Кнопка «Войти» отделена от пунктов меню */

@media (min-width: 992px) {
  .nav-item--cta {
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--line);
  }
}

/* Планшеты в альбомной ориентации (iPad mini и подобные, 992–1199px):
   уменьшаем интервалы, чтобы меню уместилось в одну строку. */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar-nav .nav-link {
    padding-inline: 0.6rem;
    font-size: 0.9375rem;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-item--cta {
    margin-left: 1rem;
    padding-left: 1rem;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  display: inline-flex;
  flex: 0 0 auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
}

.brand__tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Нижнее меню (мобильные экраны)
   -------------------------------------------------------------------------- */

/* Панель не позиционируется поверх страницы и не «прилипает» — она является
   отдельной строкой раскладки внизу экрана. Ниже 992px весь сайт становится
   колонкой высотой в экран, содержимое (.page-shell) прокручивается внутри,
   а панель занимает своё фиксированное место под ним. Такая схема не зависит
   от прокрутки окна и не пересчитывается при скрытии панелей браузера,
   поэтому меню не дёргается и не уезжает. */

.mobile-nav {
  display: none;
  z-index: 1030;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(var(--brand-deep-rgb), 0.08);
  padding-bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Видимость блока навигации управляется собственными стилями, а не утилитами
   Bootstrap: ниже 992px — нижнее меню с иконками, от 992px — меню в шапке. */

@media (max-width: 991.98px) {
  html, body {
    height: 100%;
  }
}

@media (max-width: 991.98px) {
  body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
}

@media (max-width: 991.98px) {
  .page-shell {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
  }
}

@media (max-width: 991.98px) {
  .mobile-nav {
    display: block;
    flex: 0 0 auto;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-nav {
    display: none;
  }
}

@media (min-width: 992px) {
  .site-header .navbar-nav {
    display: flex;
  }
}

.mobile-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav__item {
  flex: 1 1 0;
  min-width: 0;
}

.mobile-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 62px;
  padding: 0.5rem 0.2rem 0.45rem;
  color: var(--ink-soft);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Подсветка при наведении — только там, где есть курсор: на телефоне
   после нажатия вкладка больше не остаётся «залипшей» синей. */

@media (hover: hover) {
  .mobile-nav__link:hover {
    color: var(--brand);
  }
}

.mobile-nav__link:focus-visible {
  color: var(--brand);
}

.mobile-nav__link.is-active, .mobile-nav__link--cta {
  color: var(--brand);
}

.mobile-nav__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.mobile-nav__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Первый экран
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  color: #fff;
  background: radial-gradient(120% 120% at 88% 8%, rgba(var(--brand-light-rgb), 0.45) 0%, rgba(var(--brand-light-rgb), 0) 58%), linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 52%, var(--brand-dark) 100%);
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__stats {
  margin: 2.75rem 0 0;
}

.hero__stats dt {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.hero__stats dd {
  margin: 0.15rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.76);
}

/* Иллюстративная карточка прогресса */

.progress-card {
  padding: 1.75rem;
  background-color: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.progress-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.progress-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
}

.progress-card__subtitle {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.progress-card__badge {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: var(--surface-alt);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.progress-item + .progress-item {
  margin-top: 1.25rem;
}

.progress-item__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.progress-item__value {
  color: var(--ink-soft);
  font-weight: 700;
  white-space: nowrap;
}

.progress {
  height: 8px;
  border-radius: 999px;
  background-color: #eef1e8;
}

.progress-bar {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 100%);
}

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */

.section {
  padding: 4.5rem 0;
}

.section--muted {
  background-color: var(--surface-alt);
}

.section__head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section__eyebrow {
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section__title {
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.25rem);
  margin-bottom: 0.85rem;
}

.section__lead, .section__text {
  color: var(--ink-soft);
}

.section__text {
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Карточки направлений
   -------------------------------------------------------------------------- */

.direction-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.direction-card .card-body {
  padding: 1.75rem;
}

.direction-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #eef4dc 0%, #e9f5d0 100%);
  color: var(--brand);
}

.direction-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
}

.direction-card__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Форматы обучения
   -------------------------------------------------------------------------- */

.format-card {
  padding: 1.75rem;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.format-card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background-color: var(--brand);
  color: #fff;
  font-weight: 800;
}

.format-card__title {
  font-size: 1.125rem;
  margin-bottom: 0.6rem;
}

.format-card__text {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Списки с галочками и шаги
   -------------------------------------------------------------------------- */

.check-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--success);
}

.check-list--compact {
  margin-top: 1.25rem;
  gap: 0.5rem;
}

.steps-card {
  padding: 2rem;
  background-color: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.steps-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.steps {
  display: grid;
  gap: 1.25rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.steps__item {
  display: flex;
  gap: 1rem;
}

.steps__num {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background-color: #fff;
  color: var(--brand);
  font-weight: 800;
}

.steps__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.steps__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* --------------------------------------------------------------------------
   Полоса призыва к действию
   -------------------------------------------------------------------------- */

.cta-band {
  padding: 3.5rem 0;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 100%);
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  margin-bottom: 0.5rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 3.5rem 0 1.5rem;
  background-color: var(--brand-deep);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover, .site-footer a:focus {
  color: #fff;
}

.site-footer__desc {
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
}

.site-footer__title {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.site-footer__nav {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer .brand__tagline {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
}

.site-footer__bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Адаптивность
   -------------------------------------------------------------------------- */

/* Отступ снизу добавлять не нужно: панель стоит вне прокручиваемой области,
   поэтому ничего не перекрывает и не требует «запаса» под себя. */

@media (max-width: 991.98px) {
  .hero {
    padding: 4.5rem 0 4rem;
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .brand {
    gap: 0.6rem;
  }
}

@media (max-width: 575.98px) {
  .brand__mark svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 575.98px) {
  .brand__name {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .brand__tagline {
    font-size: 0.72rem;
  }
}

@media (max-width: 575.98px) {
  .progress-card, .format-card, .direction-card .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .steps-card {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .cta-band {
    padding: 3rem 0;
  }
}

/* Мобильные отступы: на узких экранах добавляем «воздух» — боковые поля
   контейнера, интервалы между блоками, элементы списков и подвал. */

@media (max-width: 991.98px) {
  .container {
    padding-right: 1.375rem;
    padding-left: 1.375rem;
  }
}

@media (max-width: 991.98px) {
  .hero__actions {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .check-list {
    gap: 1rem;
  }
}

@media (max-width: 991.98px) {
  .section__head {
    margin-bottom: 3rem;
  }
}

/* Подвал показываем только там, где нижнего меню нет. Если внизу экрана уже
   есть навигация с иконками, подвал её дублирует, поэтому на этих ширинах
   он скрыт. */

@media (max-width: 991.98px) {
  .site-footer {
    display: none;
  }
}

/* Плашка «Дополнительное профессиональное образование» на мобильных не нужна:
   она занимает верх экрана, а заголовок читается и без неё. */

@media (max-width: 991.98px) {
  .hero__eyebrow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .hero__lead {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero__stats {
    margin-top: 3rem;
  }
}

@media (max-width: 575.98px) {
  .mobile-nav__link {
    min-height: 68px;
    padding: 0.7rem 0.25rem 0.65rem;
  }
}

/* Узкие экраны: ширина iPhone SE — 360px, iPhone Pro — 393–430px, поэтому
   правило действует до 440px. Размер подписи плавный (clamp от ширины окна),
   так что «Направления» и «Университет» помещаются целиком и не превращаются
   в многоточие. */

@media (max-width: 440px) {
  .mobile-nav__link {
    gap: 0.1rem;
    min-height: 60px;
    padding: 0.5rem 0 0.4rem;
    font-size: clamp(0.6rem, 2.5vw, 0.6875rem);
    letter-spacing: -0.01em;
  }
}

@media (max-width: 440px) {
  .mobile-nav__icon {
    width: 22px;
    height: 22px;
  }
}

/* Последний резерв: если подпись всё равно не помещается, она переносится
     на вторую строку, а не обрезается. */

@media (max-width: 440px) {
  .mobile-nav__label {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.05;
  }
}

/* На телефонах логотип компактнее, значит и шапка ниже — уменьшаем
   и отступ прокрутки, иначе под шапкой снова появится лишний зазор. */

@media (max-width: 575.98px) {
  :root {
    --header-height: 64px;
  }
}

/* --------------------------------------------------------------------------
   Страница входа
   -------------------------------------------------------------------------- */

.auth {
  padding: 4.5rem 0 5rem;
}

.auth__heading {
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem);
  margin-bottom: 1rem;
}

.auth__lead {
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.auth__note {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background-color: var(--surface-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
}

.auth__note-title {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.auth__note-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.auth__card {
  padding: 2.5rem;
  background-color: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.auth__card-title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.auth__card-text {
  margin-bottom: 1.75rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.auth__card-footnote {
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

.auth__form .form-text {
  margin-top: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.8125rem;
}

/* Сообщение об ошибке входа. Скрыто по умолчанию, показывается скриптом. */

.auth__status {
  margin-bottom: 1.25rem;
  padding: 0.9rem 1.1rem;
  color: #8a1f11;
  font-size: 0.9375rem;
  font-weight: 600;
  background-color: #fdecea;
  border: 1px solid #f5c2c0;
  border-radius: var(--radius-sm);
}

.auth__status[hidden] {
  display: none;
}

/* Кнопка входа во время запроса к Moodle */

.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

@media (max-width: 991.98px) {
  .auth {
    padding: 2.5rem 0 3rem;
  }
}

@media (max-width: 991.98px) {
  .auth__note {
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .auth__card {
    padding: 1.75rem;
  }
}

