:root {
  --brand-primary: #8c1327;
  --brand-primary-dark: #6c0e1e;
  --brand-navy: #1c2b39;
  --brand-gold: #d4a017;
  --bg-soft: #f6f7f9;
  --radius-lg: 18px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-soft);
  color: #23272b;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

/* Üniversite üst şeridi */
.university-topbar {
  background: var(--brand-navy);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  letter-spacing: .3px;
}
.university-topbar i { color: var(--brand-gold); }

/* Navbar */
.navbar-brand-custom {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.navbar-brand-custom .nav-link { color: rgba(255,255,255,.9) !important; font-weight: 500; }
.navbar-brand-custom .nav-link:hover { color: #fff !important; }
.brand-badge {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
}
.brand-text { color: #fff; line-height: 1.1; }
.brand-text small { color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .3px; }

/* Hero */
.hero-section {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #0e1620 100%);
  color: #fff;
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(140,19,39,.35), transparent 55%);
}
.hero-section .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  padding: .4rem 1rem; border-radius: 999px;
  font-size: .82rem; margin-bottom: 1rem;
}

/* Alt sayfalar için kompakt sayfa başlığı (mini hero) - ana sayfa ile aynı
   marka dilini ve genişliği korur, sadece dikey alanı daha az kullanır. */
.hero-section.hero-sm { padding: 1.9rem 0 3.2rem; }
.hero-mini-icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #fff;
}
.page-content-pull { margin-top: -2.5rem; position: relative; z-index: 1; }
@media (max-width: 767.98px) {
  .hero-section.hero-sm { padding: 1.5rem 0 2.6rem; }
  .page-content-pull { margin-top: -1.75rem; }
}

/* Cards */
.option-card {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(20,20,40,.08);
  transition: transform .18s ease, box-shadow .18s ease;
  height: 100%;
}
.option-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(20,20,40,.14); }
.icon-circle {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
}
.option-card .icon-circle {
  width: 58px; height: 58px; border-radius: 16px;
  font-size: 1.6rem; margin-bottom: .75rem;
}
.icon-circle.bg-1 { background: #fde8ea; color: var(--brand-primary); }
.icon-circle.bg-2 { background: #e8f0fe; color: #1a56db; }
.icon-circle.bg-3 { background: #eafaf0; color: #1b8a52; }
.icon-circle.bg-4 { background: #fff6e0; color: #b5810a; }

.card { border-radius: var(--radius-lg); }
.form-card {
  border: none; border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(20,20,40,.08);
}

.btn-brand {
  background: var(--brand-primary); border-color: var(--brand-primary); color: #fff;
}
.btn-brand:hover { background: var(--brand-primary-dark); border-color: var(--brand-primary-dark); color: #fff; }
.btn-outline-brand { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; }

.text-brand { color: var(--brand-primary) !important; }
.bg-brand { background: var(--brand-primary) !important; }

.section-title {
  font-weight: 800; letter-spacing: -.02em;
}

.step-number {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}

/* Status badges */
.status-yeni { background: #e8f0fe; color: #1a56db; }
.status-inceleniyor { background: #fff6e0; color: #a5720b; }
.status-islemde { background: #fdeee0; color: #c1560f; }
.status-kapatildi { background: #e6f6ec; color: #197a3f; }
.status-badge {
  padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 600; display: inline-block;
}

/* Footer */
.site-footer { background: var(--brand-navy); color: #fff; }

/* Report code display */
.code-display {
  font-size: 1.9rem; font-weight: 800; letter-spacing: 2px;
  color: var(--brand-primary);
  background: #fde8ea; border: 2px dashed var(--brand-primary);
  padding: .8rem 1.4rem; border-radius: 12px; display: inline-block;
}

/* Admin layout */
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 260px; background: var(--brand-navy); color: #fff; flex-shrink: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.75); padding: .65rem 1.3rem; border-radius: 0;
  display: flex; align-items: center; gap: .6rem; font-weight: 500;
}
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active {
  color: #fff; background: rgba(255,255,255,.08); border-right: 3px solid var(--brand-gold);
}
.admin-content { flex: 1; min-width: 0; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid #e5e7eb;
  padding: .9rem 1.5rem; position: sticky; top: 0; z-index: 10;
}
.stat-card {
  border-radius: var(--radius-lg); border: none;
  box-shadow: 0 6px 20px rgba(20,20,40,.06);
}
.stat-card .stat-value { font-size: 2rem; font-weight: 800; }

@media (max-width: 991.98px) {
  .admin-sidebar {
    position: fixed; left: -260px; z-index: 1050; transition: left .25s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
  }
  .admin-sidebar.show { left: 0; }
  .admin-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1040;
  }
  .admin-overlay.show { display: block; }
}

.table-hover-row:hover { background: #fbf5f6; cursor: pointer; }

.form-label { font-weight: 600; font-size: .9rem; }

.required-mark { color: var(--brand-primary); }

/* Giriş sayfaları - iki panelli modern kart (görsel/marka paneli + form paneli).
   Tam konteyner genişliğini şık şekilde kullanmak için tasarlandı. */
.login-split-card { overflow: hidden; }
.login-split-visual {
  background: linear-gradient(150deg, var(--brand-navy) 0%, #0e1620 70%);
  color: #fff; padding: 3rem 2.5rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; min-height: 100%;
}
.login-split-visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(140,19,39,.4), transparent 55%);
}
.login-split-visual > * { position: relative; z-index: 1; }
.login-split-visual .icon-circle-lg {
  width: 68px; height: 68px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 1.25rem;
}
.login-split-visual .visual-point {
  display: flex; align-items: flex-start; gap: .65rem;
  color: rgba(255,255,255,.82); font-size: .9rem; margin-bottom: .6rem;
}
.login-split-visual .visual-point i { color: var(--brand-gold); margin-top: .15rem; }
.login-form-pane { padding: 2.5rem; display: flex; align-items: center; }
.login-form-pane .login-form-inner { width: 100%; max-width: 440px; margin: 0 auto; }
.login-mobile-header {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #fff; padding: 1.5rem 1.75rem; display: flex; align-items: center; gap: .9rem;
}
.login-mobile-header .icon-circle-lg {
  width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
@media (max-width: 767.98px) {
  .login-form-pane { padding: 1.75rem 1.5rem; }
}

/* ================= Genel form görünümü ================= */
.form-control, .form-select {
  border: 1.5px solid #e3e6ec;
  border-radius: 10px;
  padding: .62rem .95rem;
  font-size: .95rem;
  background-color: #fbfbfd;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-control:hover, .form-select:hover { border-color: #cfd3db; }
.form-control:focus, .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 .2rem rgba(140,19,39,.12);
  background-color: #fff;
}
.form-control-lg, .form-select-lg { border-radius: 12px; padding: .8rem 1.1rem; font-size: 1rem; }
.form-control::placeholder { color: #a3a8b3; }
.form-control:disabled, .form-select:disabled, .form-control[disabled] {
  background-color: #f1f2f5; border-color: #e9ebef; color: #6b7280;
}
textarea.form-control { border-radius: 12px; }
.form-label { color: #23272b; margin-bottom: .4rem; }
.form-text { font-size: .82rem; }

.form-check { padding-left: 1.9em; }
.form-check-input {
  width: 1.2em; height: 1.2em; margin-left: -1.9em;
  border: 1.6px solid #c9ccd4; box-shadow: none !important;
  cursor: pointer;
}
.form-check-input:checked { background-color: var(--brand-primary); border-color: var(--brand-primary); }
.form-check-input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 .18rem rgba(140,19,39,.14) !important; }
.form-check-label { cursor: pointer; }

.input-group-lg .form-control, .input-group-lg .btn { border-radius: 12px; }
.input-group .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* Seçim kartları (radio/checkbox - Ramak Kala Türü vb.) */
.choice-card { position: relative; }
.choice-card-input {
  position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none;
}
.choice-card-label {
  display: flex; align-items: center; gap: .75rem;
  border: 1.6px solid #e3e6ec; border-radius: 12px;
  padding: .8rem 1rem; height: 100%;
  background: #fbfbfd; cursor: pointer; margin: 0;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice-card-label .choice-card-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; background: #eef0f3; color: #6b7280;
  transition: background-color .15s ease, color .15s ease;
}
.choice-card-label .choice-card-text { font-size: .89rem; font-weight: 500; color: #333; line-height: 1.3; }
.choice-card-label:hover { border-color: #d8b7be; }
.choice-card-input:checked + .choice-card-label {
  border-color: var(--brand-primary);
  background: #fdf1f3;
  box-shadow: 0 4px 14px rgba(140,19,39,.1);
}
.choice-card-input:checked + .choice-card-label .choice-card-icon {
  background: var(--brand-primary); color: #fff;
}
.choice-card-input:checked + .choice-card-label .choice-card-text { color: var(--brand-primary); font-weight: 700; }
.choice-card-input:focus-visible + .choice-card-label {
  box-shadow: 0 0 0 .2rem rgba(140,19,39,.16);
}

/* Birim / Alan otomatik tamamlama (çoklu seçim) */
.unit-autocomplete { position: relative; }
.unit-autocomplete .unit-search-input { padding-right: 2.6rem; }
.unit-autocomplete-search-icon {
  position: absolute; right: 1rem; top: 50%; transform: translateY(-50%);
  color: #9aa0ab; pointer-events: none; font-size: 1.05rem;
}
.unit-autocomplete-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 1055;
  margin-top: .4rem;
  background: #fff; border: 1px solid #eceef1; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(20,20,40,.16);
  max-height: 340px; overflow-y: auto; padding: .4rem;
}
.unit-autocomplete-menu.show { display: block; }
.is-invalid-unit .unit-search-input { border-color: #dc3545 !important; }
.is-invalid-unit .unit-autocomplete-search-icon { color: #dc3545; }
.unit-required-feedback { color: #dc3545; font-size: .82rem; margin-top: .35rem; }
.unit-autocomplete-group {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--brand-primary); padding: .65rem .8rem .25rem;
  display: flex; align-items: center; gap: .4rem;
}
.unit-autocomplete-group::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gold); flex-shrink: 0;
}
.unit-autocomplete-item {
  display: flex; align-items: center; gap: .65rem; width: 100%; text-align: left;
  background: none; border: none;
  padding: .55rem .8rem; border-radius: 9px; font-size: .9rem; color: #2b2f33;
  cursor: pointer;
}
.unit-autocomplete-item:hover, .unit-autocomplete-item.active { background: #fbeef0; color: var(--brand-primary); }
.unit-autocomplete-item .unit-check {
  width: 19px; height: 19px; border-radius: 6px; flex-shrink: 0;
  border: 1.6px solid #ccd0d8; display: flex; align-items: center; justify-content: center;
  font-size: .68rem; color: transparent; background: #fff;
  transition: all .12s ease;
}
.unit-autocomplete-item.selected .unit-check {
  background: var(--brand-primary); border-color: var(--brand-primary); color: #fff;
}
.unit-autocomplete-item.selected { color: var(--brand-primary); font-weight: 600; background: #fdf5f6; }
.unit-autocomplete-item .unit-item-text { flex: 1; }
.unit-autocomplete-empty {
  padding: .75rem .8rem; font-size: .85rem; color: #888;
}
.unit-autocomplete-manual {
  border-top: 1px solid #eee; margin-top: .3rem; padding-top: .3rem;
}
.unit-autocomplete-manual-btn {
  color: #555; font-size: .85rem;
}
.unit-autocomplete-manual-btn:hover { background: #f3f4f6; color: var(--brand-primary); }

/* Hesabım - mini istatistikler */
.stat-mini { padding: .5rem .25rem; }
.stat-mini-value { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-mini-label { font-size: .78rem; color: #6b7280; font-weight: 600; margin-top: .15rem; }

/* Hesabım / bildirim detayı - accordion */
.report-accordion .accordion-item.report-accordion-item {
  border: 1px solid #eceef1; border-radius: 14px !important; overflow: hidden;
  margin-bottom: .85rem; box-shadow: 0 4px 16px rgba(20,20,40,.05);
}
.report-accordion .accordion-button {
  padding: 1rem 1.25rem; font-weight: 500; background: #fff;
}
.report-accordion .accordion-button:not(.collapsed) {
  background: #fdf5f6; color: inherit; box-shadow: none;
}
.report-accordion .accordion-button:focus { box-shadow: none; border-color: transparent; }
.report-accordion .accordion-button::after { flex-shrink: 0; margin-left: .75rem; }
.report-accordion .accordion-body { padding: 1rem 1.25rem 1.2rem; border-top: 1px solid #f1f2f5; }

/* Kart içi bölüm başlığı (ikon rozeti + başlık + sayaç) */
.card-section-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; }
.card-section-head .head-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: #fde8ea; color: var(--brand-primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.card-section-head .head-title {
  font-weight: 800; font-size: 1.05rem; color: #20242b; line-height: 1.25; margin: 0;
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.card-section-head .head-sub { font-size: .82rem; color: #8a8f99; margin: .1rem 0 0; }
.head-count {
  background: #f1f2f5; color: #5b6270; font-size: .74rem; font-weight: 700;
  padding: .1rem .55rem; border-radius: 999px;
}

/* Bildirim seçim listesi (sorgula sayfası) */
.report-pick {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; height: 100%;
  background: #fff; border: 1px solid #e9ebef; border-left: 4px solid #dcdfe4;
  border-radius: 12px; padding: .9rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.report-pick:hover {
  border-left-color: var(--brand-primary); box-shadow: 0 8px 22px rgba(20,20,40,.08);
  transform: translateY(-1px);
}
.report-pick.active {
  border-left-color: var(--brand-primary); background: #fdf8f9; border-color: #f0d8dd;
  box-shadow: 0 8px 22px rgba(140,19,39,.09);
}
.report-pick-body { flex: 1; min-width: 0; }
.report-pick-code { font-weight: 800; color: #20242b; font-size: .95rem; letter-spacing: .02em; }
.report-pick-meta {
  font-size: .8rem; color: #7c828d; margin-top: .25rem;
  display: flex; flex-wrap: wrap; gap: .1rem .85rem;
}
.report-pick-meta span { display: inline-flex; align-items: center; gap: .32rem; min-width: 0; }
.report-pick-arrow { color: #c6cad1; font-size: 1.05rem; flex-shrink: 0; }
.report-pick:hover .report-pick-arrow, .report-pick.active .report-pick-arrow { color: var(--brand-primary); }

/* Takip kodu vitrini */
.tracking-code-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fde8ea; color: var(--brand-primary); border: 1px solid #f4d2d8;
  font-weight: 800; font-size: 1.08rem; letter-spacing: .05em;
  padding: .45rem .9rem; border-radius: 10px;
}

/* Bildirim detayı - kompakt künye tablosu */
.rd-label { font-size: .73rem; color: #8a8f99; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.rd-meta {
  border: 1px solid #eceef1; border-radius: 12px; overflow: hidden;
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 576px) { .rd-meta { grid-template-columns: 1fr 1fr; } }
.rd-cell {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .55rem .85rem; border-bottom: 1px solid #f2f3f6; font-size: .85rem; min-width: 0;
}
@media (min-width: 576px) {
  .rd-cell:nth-child(odd) { border-right: 1px solid #f2f3f6; }
  .rd-cell.wide { grid-column: 1 / -1; border-right: 0; }
}
.rd-meta .rd-cell:last-child { border-bottom: 0; }
.rd-k { color: #7c828d; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.rd-v { color: #20242b; font-weight: 600; text-align: right; min-width: 0; }
.rd-cell.wide .rd-v { text-align: right; }

/* Bildirim detayı - kompakt metin blokları */
.rd-block { margin-top: 1.05rem; padding-left: .85rem; border-left: 3px solid #f0d8dd; }
.rd-block-title { font-size: .82rem; font-weight: 700; color: var(--brand-primary); margin-bottom: .2rem; }
.rd-block-text { font-size: .88rem; color: #3d434c; line-height: 1.55; }

/* Bildirim detayı - kompakt ekler */
.rd-files { display: flex; flex-wrap: wrap; gap: .5rem; }
.rd-thumb {
  width: 78px; height: 78px; border-radius: 9px; overflow: hidden; display: block;
  border: 1px solid #e5e7eb; transition: border-color .15s ease;
}
.rd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-file {
  display: inline-flex; align-items: center; gap: .4rem; max-width: 210px;
  border: 1px solid #e5e7eb; border-radius: 9px; padding: .45rem .7rem;
  font-size: .8rem; color: #3d434c; text-decoration: none; background: #fafbfc;
}
.rd-thumb:hover, .rd-file:hover { border-color: var(--brand-primary); }

/* Bildirim detayı - yönetici yanıtı */
.rd-note {
  background: #fdf1f3; border: 1px solid #f4d2d8; border-left: 3px solid var(--brand-primary);
  border-radius: 10px; padding: .7rem .9rem; margin-top: 1.05rem;
  font-size: .86rem; color: #3d434c; line-height: 1.55;
}
.rd-note-title { font-weight: 700; color: var(--brand-primary); font-size: .8rem; margin-bottom: .15rem; }
.rd-pending { margin-top: 1.05rem; font-size: .82rem; color: #8a8f99; }

.rd-empty {
  background: #f8f9fb; border: 1px dashed #d8dbe1; border-radius: 12px;
  padding: .9rem 1.1rem; font-size: .87rem; color: #8a8f99; text-align: center;
}

/* Seçilen birimler - etiket (chip) listesi */
.unit-selected-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.unit-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fdf1f3; border: 1px solid #f4d2d8; color: var(--brand-primary-dark);
  border-radius: 999px; padding: .4rem .5rem .4rem .9rem;
  font-size: .84rem; font-weight: 600;
}
.unit-tag .unit-tag-remove {
  display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: rgba(140,19,39,.12);
  border: none; color: var(--brand-primary); cursor: pointer; font-size: .7rem; line-height: 1;
  transition: background-color .12s ease;
}
.unit-tag .unit-tag-remove:hover { background: var(--brand-primary); color: #fff; }
.unit-selected-empty-hint { font-size: .82rem; color: #98a0ab; }

/* Yönetim - birim listesi: pasif satırlar ilk bakışta ayırt edilebilsin */
tr.unit-row-inactive > td {
  background-color: #fdf3f4;
  color: #98a0ab;
}
tr.unit-row-inactive:hover > td { background-color: #fbe9eb; }

/* Tabloda sayaç görevi gören etiket butonları */
button.badge { cursor: pointer; }
button.badge:hover { filter: brightness(1.08); }

/* Yönetim - oturum sıfatı / birim seçimi */
.context-choice {
  background: #fff; border: 1px solid #e3e6eb; border-radius: 14px;
  padding: 1rem 1.1rem; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.context-choice:hover {
  border-color: var(--brand-primary); box-shadow: 0 6px 18px rgba(140,19,39,.1); transform: translateY(-1px);
}
.context-choice-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px; margin-bottom: .6rem;
  background: #fdf1f3; color: var(--brand-primary); font-size: 1.05rem;
}
.sidebar-context {
  padding: .85rem 1rem; margin: .75rem .75rem 0;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
}
.sidebar-context-label {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.55); margin-bottom: .2rem;
}
.sidebar-context-unit { color: #fff; font-weight: 700; font-size: .86rem; line-height: 1.35; }
.sidebar-context-extra { color: rgba(255,255,255,.6); font-size: .74rem; margin-top: .35rem; line-height: 1.4; }

.context-switch-btn { font-weight: 600; }
.context-switch-menu { min-width: 300px; }
.context-switch-menu form { margin: 0; }
.context-switch-menu .dropdown-item { white-space: normal; }
