/* Eski sahifalardagi <style> bloklari (yangilik.php, elon.php …) — ERP muharriridan kelgan HTML uchun */
.content-html img {
  max-width: 100%;
  height: auto;
}
.content-html p,
.content-html span {
  color: #000;
}
.content-html td {
  padding-left: 10px;
}
.content-html iframe {
  max-width: 100%;
}

/* Videolar (eski videos.php dagi .embed-youtube — 16:9) */
.embed-youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.embed-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Kutubxona (eski books.php / book.php — theme/main o'rniga) */
.books-sidebar {
  margin-bottom: 24px;
}
.books-sidebar__search {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.books-sidebar__search input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
}
.books-sidebar__search button {
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
}
.books-sidebar__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.books-sidebar__list {
  list-style: none;
  padding: 0;
}
.books-sidebar__list a {
  display: block;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
}
.books-sidebar__list a.is-active {
  font-weight: 700;
  color: var(--color-primary);
}
.books-summary {
  margin-bottom: 16px;
  opacity: 0.8;
}
.book-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 24px 0;
  flex-wrap: wrap;
}
.book-header__cover {
  max-width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.book-header__meta {
  margin: 6px 0 0;
  opacity: 0.8;
}
.book-header__open {
  margin-top: 16px;
}
.book-viewer {
  width: 100%;
  height: 85vh;
  border: 0;
  border-radius: 12px;
  background: #525659;
}

/* Fakultetlar va kafedralar (eski departments.php — theme/main o'rniga) */
.departments-block {
  margin-bottom: 32px;
}
.departments-block__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.departments-block__list {
  padding-left: 20px;
}
.departments-block__list a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
  line-height: 2;
}
.departments-block__list a:hover {
  color: var(--color-primary);
}

/* Fotoalbom (eski photo.php Swiper o'rniga) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.photo-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Yo'nalish sahifasi matni (eski direction.php <style>) */
.dir-content {
    padding: 70px 0 40px;
}

.dir-content__body {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-regular, "Gilroy", sans-serif);
    font-size: 18px;
    line-height: 32px;
    color: var(--color-text, #313131);
}

.dir-content__body p {
    margin: 0 0 18px;
}

.dir-content__body p:empty {
    display: none;
}

/* Qalin matnlar — sarlavha vazifasini bajaradi */
.dir-content__body strong,
.dir-content__body b {
    font-family: var(--font-semibold, "Gilroy", sans-serif);
    font-weight: 600;
    color: var(--color-black, #000);
}

.dir-content__body a {
    color: var(--color-primary, #dba174);
    text-decoration: underline;
}

/* Ro'yxatlar */
.dir-content__body ul,
.dir-content__body ol {
    margin: 0 0 22px;
    padding-left: 26px;
}

.dir-content__body li {
    list-style: inherit;
    margin-bottom: 12px;
    padding-left: 6px;
}

.dir-content__body li::marker {
    color: var(--color-primary, #dba174);
}

.dir-content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    margin: 10px 0;
}

/* Jadval — hero jadvaliga uyg'un, minimalist */
.dir-content__table-wrap {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 24px;
    background: var(--color-bg-light, #f4f3f2);
    padding: 14px 36px;
}

.dir-content__body table {
    width: 100%;
    border-collapse: collapse;
}

.dir-content__body table td,
.dir-content__body table th {
    padding: 18px 20px !important;
    border: none;
    border-bottom: 2px solid #cacaca;
    text-align: left;
    vertical-align: middle;
    font-size: 17px;
    line-height: 150%;
    color: var(--color-black, #000);
}

/* Birinchi qator — sarlavha */
.dir-content__body table tr:first-child td,
.dir-content__body table tr:first-child th,
.dir-content__body table thead td,
.dir-content__body table thead th {
    font-family: var(--font-semibold, "Gilroy", sans-serif);
    font-weight: 600;
    color: var(--color-black, #000);
}

/* Birinchi ustun — qator nomi */
.dir-content__body table tr td:first-child {
    font-family: var(--font-semibold, "Gilroy", sans-serif);
    font-weight: 600;
}

.dir-content__body table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .dir-content {
        padding: 40px 0 20px;
    }
    .dir-content__body {
        font-size: 16px;
        line-height: 28px;
    }
    .dir-content__table-wrap {
        padding: 6px 18px;
        border-radius: 18px;
    }
    .dir-content__body table td,
    .dir-content__body table th {
        padding: 12px 12px !important;
        font-size: 15px;
    }
}

/* ---------- Ariza formasi (eski cv.php inline stillari) ---------- */
.error-form { border: 2px solid #dc3545 !important; background-color: #fff5f5 !important; }
.error-form:focus { border-color: #dc3545 !important; box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important; }
.file-upload.error-form { border: 2px dashed #dc3545 !important; }
button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.invalid-hint { font-size: 13px; }
label.file-upload { display: block; cursor: pointer; }
.application-check-link { color: #DBA174; font-weight: 600; text-decoration: none; }
.application-check-link:hover { color: #C58A5C; }
.admission-closed { padding-top: 110px; padding-bottom: 60px; }

/* «Arizangiz qabul qilindi» (cv.php:1626-1742) */
.success-message { text-align: center; padding: 60px 20px; }
.success-message__icon { margin-bottom: 30px; animation: cv-scale-in 0.5s ease-out; }
@keyframes cv-scale-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-message__title { font-size: 32px; font-weight: 700; color: #111827; margin-bottom: 12px; }
.success-message__subtitle { font-size: 18px; color: #6B7280; margin-bottom: 40px; }
.application-info { background: #F9FAFB; border-radius: 12px; padding: 30px; margin-bottom: 24px; text-align: left; }
.application-info__item { display: flex; justify-content: space-between; gap: 12px; padding: 15px 0; border-bottom: 1px solid #E5E7EB; }
.application-info__item:last-child { border-bottom: none; }
.application-info__label { font-size: 16px; color: #6B7280; }
.application-info__value { font-size: 16px; font-weight: 600; color: #111827; text-align: right; }
.application-info__note { font-size: 14px; color: #6B7280; margin-bottom: 16px; }
.contact-info { margin-top: 40px; }
.contact-info__text { font-size: 16px; color: #6B7280; margin-bottom: 12px; }
.contact-info__phones { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.contact-info__phone { font-size: 20px; font-weight: 600; color: #DBA174; text-decoration: none; transition: color 0.3s; }
.contact-info__phone:hover { color: #C58A5C; }
.contact-info__separator { color: #D1D5DB; }
.contact-info__telegram { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: #0088cc; color: #fff; border-radius: 8px; text-decoration: none; font-weight: 500; transition: background 0.3s; }
.contact-info__telegram:hover { background: #0077b3; color: #fff; }

/* Natija sahifasi (cv.php:1097-1301) */
.natija-section { padding: 40px 0 60px; }
.natija-section .natija-heading { font-size: 14px; font-weight: 600; color: var(--color-primary, #DBA174); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.natija-section .natija-title { font-size: 28px; font-weight: 700; color: #111827; margin-bottom: 30px; }
.natija-card { background: #fff; border-radius: 20px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06); padding: 40px; margin-bottom: 24px; }
.natija-status { padding: 24px; border-radius: 12px; margin-bottom: 24px; text-align: center; }
.natija-status--success { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border: 1px solid #a7f3d0; }
.natija-status--success .natija-status__icon { color: #10B981; font-size: 48px; margin-bottom: 12px; }
.natija-status--success .natija-status__title { color: #065f46; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.natija-status--success .natija-status__text { color: #047857; font-size: 15px; line-height: 1.7; font-weight: 500; }
.natija-status--success .natija-status__text a { color: #2563eb; text-decoration: underline; }
.natija-status--danger { background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%); border: 1px solid #fca5a5; }
.natija-status--danger .natija-status__title { color: #991b1b; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.natija-status--danger .natija-status__text { color: #b91c1c; font-size: 15px; font-weight: 500; }
.natija-status--danger .natija-status__text a { color: #2563eb; }
.natija-status--info { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); border: 1px solid #93c5fd; }
.natija-status--info .natija-status__title { color: #1e40af; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.natija-status--info .natija-status__text { color: #1d4ed8; font-size: 15px; font-weight: 500; }
.natija-status--info .natija-status__text a { color: #1e40af; text-decoration: underline; }
.natija-card__title { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f3f4f6; }
.natija-info { list-style: none; padding: 0; margin: 0; }
.natija-info li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; font-size: 15px; }
.natija-info li:last-child { border-bottom: none; }
.natija-info__label { color: #6b7280; font-weight: 500; }
.natija-info__value { color: #111827; font-weight: 600; text-align: right; }
@media (max-width: 576px) {
  .natija-card { padding: 24px 16px; }
  .natija-info li, .application-info__item { flex-direction: column; gap: 4px; }
  .natija-info__value, .application-info__value { text-align: left; }
  .natija-section .natija-title { font-size: 22px; }
}

/* ---------- Abituriyent kabineti va imtihon (eski test.yangiasr.uz — tests.php) ---------- */
.kabinet-login { max-width: 520px; margin: 0 auto; }
.kabinet .natija-card { padding: 28px; }
.kabinet__title { font-size: 22px; font-weight: 700; color: #111827; margin-bottom: 16px; }
.kabinet__subtitle { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 16px; }
.kabinet-test-card { display: flex; gap: 16px; align-items: center; height: 100%; background: #fff; border-radius: 16px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06); padding: 18px; color: inherit; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.kabinet-test-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); color: inherit; }
.kabinet-test-card__image { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.kabinet-test-card__body { min-width: 0; }
.kabinet-test-card__title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.kabinet-test-card__meta { font-size: 14px; color: #6B7280; margin-bottom: 8px; }
.kabinet-test-card__score { margin-left: 8px; font-weight: 700; color: #065f46; }
.kabinet-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 20px; }
.kabinet-steps__item { display: flex; align-items: center; gap: 8px; flex: 1 1 140px; background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); padding: 10px 14px; font-size: 14px; color: #6B7280; }
.kabinet-steps__dot { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #E5E7EB; color: #374151; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.kabinet-steps__item--done { color: #111827; }
.kabinet-steps__item--done .kabinet-steps__dot { background: #198A29; color: #fff; }
.kabinet-steps__item--bad { color: #111827; }
.kabinet-steps__item--bad .kabinet-steps__dot { background: #dc2626; color: #fff; }
.kabinet-runner__bar { position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; background: #fff; border-radius: 0 0 16px 16px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); padding: 14px 20px; margin-bottom: 24px; }
.kabinet-runner__name { font-weight: 700; font-size: 17px; }
.kabinet-runner__progress { font-size: 14px; color: #374151; }
.kabinet-runner__save { margin-left: 10px; font-size: 13px; }
.kabinet-runner__save--saved { color: #059669; }
.kabinet-runner__save--saving { color: #6B7280; }
.kabinet-runner__save--failed { color: #dc2626; }
.kabinet-runner__clock { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; color: #fff; background: #198A29; border-radius: 10px; padding: 6px 14px; }
.kabinet-runner__clock--low { background: #dc2626; }
.kabinet-runner__section-title { text-align: center; background: #198A29; color: #fff; border-radius: 12px; padding: 12px; margin: 8px 0 16px; font-weight: 700; font-size: 18px; }
.kabinet-runner__section-title span { display: block; font-weight: 500; font-size: 14px; }
.kabinet-question__text { display: flex; gap: 8px; font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.kabinet-question__text img, .kabinet-question__option img { max-width: 100%; height: auto; }
.kabinet-question__text table { width: 100% !important; max-width: 100% !important; }
.kabinet-question__num { flex-shrink: 0; }
.kabinet-question__option { padding: 6px 0 6px 28px; font-size: 16px; }
.kabinet-question__option .form-check-label { cursor: pointer; }
.kabinet-question__option p { display: inline; margin: 0; }
@media (max-width: 575px) {
  .kabinet .natija-card { padding: 18px; }
  .kabinet-runner__bar { padding: 10px 14px; }
}

/* ---------- Kasb-kompas va kasbiy moyillik testi (eski kasbkompas.php, test.php) ---------- */
.kompas { padding: 40px 0 80px; }
.kompas__box { max-width: 780px; }
.kompas__title { font-size: 30px; font-weight: 700; text-align: center; margin-bottom: 32px; color: #111827; }
.kompas__lead { font-size: 17px; }
.kompas__persona { font-style: italic; color: #374151; }
.kompas__inspiration { color: #047857; font-weight: 500; }
.kompas__quiz { background: #eff6ff; border-radius: 20px; padding: 28px; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04); }
.kompas__progress { display: flex; align-items: center; gap: 16px; font-weight: 500; margin-bottom: 24px; }
.kompas__bar { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.kompas__bar > div { height: 100%; background: #2563eb; border-radius: 4px; transition: width 0.3s; }
.kompas__question { font-size: 24px; font-weight: 700; line-height: 1.35; margin-bottom: 24px; }
.kompas__ratings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kompas__rating { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid #d1d5db; background: #fff; border-radius: 16px; padding: 12px 8px; font-size: 14px; font-weight: 500; transition: background 0.2s; }
.kompas__rating:hover { background: #dbeafe; }
.kompas__emoji { font-size: 26px; }
.kompas__list { max-width: 640px; margin: 24px auto; }
.kompas__list h3 { font-size: 17px; font-weight: 700; margin-top: 16px; }
.kompas-radar { display: block; margin: 24px auto; max-width: 100%; height: auto; }
.kompas__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.career-test__count { color: #6B7280; font-weight: 600; }
.career-test__question { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.career-test__answers { list-style: none; padding: 0; display: grid; gap: 12px; }
.career-test__answer { width: 100%; text-align: left; border: 1px solid #e5e7eb; background: #fff; border-radius: 14px; padding: 14px 18px; font-size: 16px; transition: border-color 0.2s, background 0.2s; }
.career-test__answer:hover, .career-test__answer--active { border-color: #DBA174; background: #fdf6f0; }
@media (max-width: 575px) {
  .kompas__ratings { grid-template-columns: 1fr; }
  .kompas__rating { flex-direction: row; justify-content: flex-start; }
  .kompas__question { font-size: 20px; }
}
.natija-download { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border: 1px solid #DBA174; border-radius: 10px; color: #C58A5C; font-weight: 600; text-decoration: none; }
.natija-download:hover { background: #fdf6f0; color: #C58A5C; }

/* ---------- Hamkor kabineti (eski hamkor_profile.php) ---------- */
.hamkor-menu__name { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.hamkor-menu__meta { color: #6B7280; font-size: 14px; margin-bottom: 8px; }
.hamkor-menu__item { display: block; padding: 9px 12px; border-radius: 10px; color: #374151; text-decoration: none; font-weight: 500; }
.hamkor-menu__item:hover { background: #fdf6f0; color: #C58A5C; }
.hamkor-menu__item--active { background: #DBA174; color: #fff; }
.hamkor-menu__item--active:hover { background: #C58A5C; color: #fff; }
.hamkor-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px !important; margin-bottom: 0; }
.hamkor-stat span { color: #6B7280; font-size: 13px; }
.hamkor-stat b { font-size: 20px; }
.hamkor-form { max-width: 520px; }

/* `?no_header=1` (iframe ichida) — sarlavha, mobil menyu va pastki qismsiz */
.no-chrome .header, .no-chrome .footer, .no-chrome .mobile-menu { display: none !important; }
.no-chrome .application-form { padding-top: 24px; }

/* ======================================================================
   Sayt auditi (2026-10-22): accessibility, kontrast, mobil kesilish
   ====================================================================== */
:root {
  /* Brend och jigarrangi (#dba174) ustidagi matn: oq — 2.25:1, shu to'q rang — ~9:1 (F14) */
  --color-on-primary: #1f1712;
  /* Mayda yordamchi matn: #888 / #f4f3f2 — 3.2:1 → ~5:1 */
  --color-text-muted: #6b6560;
  --focus-ring: 0 0 0 3px #fff, 0 0 0 5px #1f1712;
}

/* Kontentga o'tish havolasi (F22) — faqat klaviatura fokusida ko'rinadi */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.skip-link:focus {
  top: 12px;
}
main:focus {
  outline: none;
}

/* Klaviatura fokusi har doim ko'rinsin (F11, F12) */
a:focus-visible,
button:focus-visible,
[role='tab']:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring) !important;
  border-radius: 6px;
}
.file-upload:focus-within {
  box-shadow: var(--focus-ring);
}

/* Disclosure (menyu bo'limi, til, «Kirish»): panel — oqimga ta'sir qilmaydi; ochiq holat klaviatura bilan */
.disclosure__panel {
  display: contents;
}
.nav__toggle,
.lang-switcher__toggle,
.slider-arrow,
.faq__header,
.direction-card__header {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: inherit;
}
.slider-arrow {
  display: inline-flex;
  cursor: pointer;
}
.faq__header,
.direction-card__header {
  width: 100%;
  text-align: left;
}
.direction-card__header {
  padding: 18px 25px;
  background-color: #f4f3f2;
  border: 1px solid #dba174;
}
th.direction-table__label {
  font-weight: inherit;
}
.nav__toggle {
  color: var(--color-white);
}
.header--white .nav__toggle {
  color: var(--color-black);
}
.lang-switcher__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.nav__dropdown-wrapper.is-open .nav__dropdown,
.nav__dropdown-wrapper:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.lang-switcher.is-open .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* «Kirish» — rollar bo'yicha (F13) */
.login-menu {
  position: relative;
  flex-shrink: 0;
}
.login-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 230px;
  padding: 8px 0;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.login-menu:hover .login-menu__dropdown,
.login-menu.is-open .login-menu__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.login-menu__item {
  display: block;
  margin: 2px 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.login-menu__item:hover,
.login-menu__item:focus-visible {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}
.mobile-nav__logins {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav__apply {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.mobile-nav__login-link {
  display: block;
  padding: 10px 4px;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
/* ≤480px «Kirish» tugmasi yashiriladi (responsive.css) — rollar mobil menyuda */

/* Kontrast (F14): brend fonidagi matn to'q; mayda matn to'qroq */
.btn__cta-text,
.btn--submit,
.btn--submit:hover,
.form-step__number,
.btn--login:hover .btn__text,
.btn--all:hover .btn__all-text,
.tag:hover .tag__text,
.lang-switcher__option:hover,
.nav__dropdown-item:hover,
.mobile-nav__lang-option--active {
  color: var(--color-on-primary) !important;
}
.btn--all:hover .btn__arrow,
.btn--secondary:hover .btn__arrow {
  filter: brightness(0);
}
.elon-card__date,
.yangilik-card__date,
.form-label .text-muted,
.file-upload__format,
.application-info__note {
  color: var(--color-text-muted) !important;
}

/* Uzun yo'nalish nomlari mobil ekranda kesilmasin (F21) */
.programs__tags {
  max-width: 100%;
}
.tag {
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 41px;
  padding: 8px 20px;
}
.tag__text {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

/* Bosh sahifa sarlavhasi endi h1 (F22) — Bootstrap h1 chegaralari bekor */
h1.hero-content__title {
  margin: 0;
}

/* Imtihon: yakunlash xatosi */
.kabinet-runner .alert {
  margin-top: 16px;
}

/* Forma xatolari ro'yxati: mobil (fixed) header ostida qolmasin; havolalar o'qiladigan rangda */
#msform .alert {
  scroll-margin-top: 100px;
}
#msform .alert-danger a {
  color: #842029;
  text-decoration: underline;
}
