/* Shared text, focus and reflow fixes for the existing public and admin layouts. */
:root { --dvys-readable-muted: #596778; }
.dvys-home { --muted: #596778; }
.search-hint, #result-count, .app-category, .application-bottom, .hero-note {
  color: var(--dvys-readable-muted);
}
.contact-item { color: var(--dvys-readable-muted); }
.directory-note, .people-search label, .people-search small,
.footer-top > p, .footer-top a, .footer-bottom, .footer-bottom > a {
  color: var(--dvys-readable-muted);
}
.content-wrapper .breadcrumb-item,
.content-wrapper .breadcrumb-item.active { color: #555c65; }
.content-wrapper .breadcrumb-item a { color: #1d4f82; }
.main-sidebar .nav-link.active { background-color: #b32635 !important; color: #fff !important; }
.education-date, .education-details { color: #596778; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #0c5796 !important;
  outline-offset: 3px;
}
.content-wrapper, .content .container-fluid, .card, .card-body,
.kvkk-page, .kvkk-layout > * { min-width: 0; }
.btn-toolbar { flex-wrap: wrap; gap: .5rem; }
.btn-toolbar > .btn-group { flex-wrap: wrap; max-width: 100%; }
.table-responsive { max-width: 100%; }
@media (max-width: 575px) {
  .btn-toolbar, .btn-toolbar form, .btn-toolbar .input-group { max-width: 100%; }
  .btn-toolbar .btn { white-space: normal; overflow-wrap: anywhere; }
  .content-wrapper .card-header { padding-inline: .75rem; }
  .navbar-search-block, .dropdown-menu { max-width: 100vw; }
  .card-tab-links { flex-wrap: wrap; }
  .card .card-header { flex-wrap: wrap; }
  .card .card-header .card-extra { min-width: 0; max-width: 100%; }
  .card .card-tab-links.nav-tabs { max-width: 100%; flex-wrap: wrap; }
  .header-overlay .bound { flex-wrap: wrap; gap: 8px; }
  .header-overlay .header-brand { min-width: 0; }
  .header-right.navbar-right { flex: 0 0 auto; }
  .ap-tab-header__img { min-height: 180px; }
}


/* Admin templates define their own body-level palette; keep these rules specific. */
body .nav-sidebar .nav-link.active {
  background-color: #b32635 !important; color: #fff !important;
}
body .table thead th { color: #465568 !important; }
body .table thead th a { color: #1d4f82 !important; }
body .main-footer { color: #596778; }
.content-wrapper .education-date,
.content-wrapper .education-details,
.content-wrapper .education-details p,
.content-wrapper .education-details div { color: #465568; }
.content-wrapper a[data-role^="x-editable"] {
  display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px;
}

@media (max-width: 575px) {
  body .main-header.navbar { flex-wrap: wrap; }
  body .main-header .navbar-nav.ml-auto {
    margin-left: 0 !important; max-width: 100%; flex-wrap: wrap;
  }
  body .btn-toolbar > .btn-group { flex-wrap: wrap; min-width: 0; }
  body .btn-toolbar .btn-group .btn-group { flex-wrap: wrap; }
}

body .nav-sidebar .nav-item > .nav-link.active {
  background-color: #b32635 !important; color: #fff !important;
}
body .cardprofil .name.truncate { color: #fff !important; }
.content-wrapper a[data-original-title] {
  display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px;
}

body .nav-sidebar .nav-link.active p { color: inherit !important; }

@media (max-width: 575px) {
  .content-wrapper .pagination { flex-wrap: wrap; gap: .25rem; }
}

body .main-sidebar .nav-sidebar .nav-item > .nav-link.active {
  background-color: #b32635 !important; color: #fff !important;
}

/* Publication author badges need readable contrast against their info background. */
.content-wrapper .badge-info { background-color: #0c6371; color: #fff; }


.notification-banner .banner-actions {
  flex-wrap: wrap; justify-content: center; max-width: 100%; gap: .5rem;
}
.notification-banner .banner-actions .btn-secondary {
  margin-left: 0; color: #465568; background-color: #fff;
}

@media (max-width: 575px) {
  .profile-content .dm-menu.menu-horizontal { display: flex; flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .profile-content .dm-menu__item { min-width: 0; max-width: 100%; }
  .profile-content .dm-menu__link { white-space: normal; overflow-wrap: anywhere; }
}

/* Both shells show the same notification prompt with this control. */
#close-button { color: #465568; background-color: #fff; }
