/* ============================================================
   MEZUN & EĞİTİMCİ PORTALI — MODERN MİNİMAL STİL
   Benzersiz, temiz, profesyonel tasarım
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary:    #2563eb;
  --primary-d:  #1d4ed8;
  --primary-l:  #eff6ff;
  --success:    #059669;
  --success-l:  #ecfdf5;
  --warning:    #d97706;
  --warning-l:  #fffbeb;
  --danger:     #dc2626;
  --danger-l:   #fef2f2;
  --info:       #0891b2;
  --info-l:     #ecfeff;
  --text-main:  #111827;
  --text-sec:   #4b5563;
  --text-muted: #9ca3af;
  --bg-body:    #f4f6f9;
  --bg-white:   #ffffff;
  --border:     #e8ebf0;
  --border-l:   #f1f3f6;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow-xs:  0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px -2px rgba(0,0,0,.06);
}

/* ── Base ── */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1; }
img { max-width: 100%; }

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.portal-navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .35rem 0;
}
.portal-navbar .navbar-brand {
  color: var(--text-main) !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.portal-navbar .brand-icon { font-size: 1.1rem; }
.portal-navbar .nav-link {
  color: var(--text-sec) !important;
  font-size: .84rem;
  font-weight: 500;
  padding: .4rem .65rem !important;
  border-radius: var(--radius-sm);
  transition: color .12s, background .12s;
}
.portal-navbar .nav-link:hover {
  color: var(--text-main) !important;
  background: #f3f4f6;
}
.portal-navbar .nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-l);
  font-weight: 600;
}
.portal-navbar .dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: .35rem;
  margin-top: .35rem;
}
.portal-navbar .dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .85rem;
  padding: .45rem .7rem;
  font-weight: 500;
  transition: background .1s;
}
.portal-navbar .dropdown-item:hover { background: #f3f4f6; }
.portal-navbar .dropdown-item.text-danger:hover { background: var(--danger-l); }

/* Navbar toggler */
.portal-navbar .navbar-toggler {
  border: none;
  padding: .35rem;
  border-radius: var(--radius-sm);
}
.portal-navbar .navbar-toggler:focus { box-shadow: none; }

/* ══════════════════════════════════════════════════════════
   WELCOME BANNER
══════════════════════════════════════════════════════════ */
.welcome-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: #fff;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.welcome-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 500px 400px at 90% 30%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════
   STAT CARDS
══════════════════════════════════════════════════════════ */
.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: transform .2s, box-shadow .2s;
  border-radius: var(--radius) !important;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════
   QUICK LINKS
══════════════════════════════════════════════════════════ */
.quick-link-card {
  transition: border-color .12s, background .12s;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
}
.quick-link-card:hover {
  border-color: var(--primary);
  background: var(--primary-l);
}
.quick-link-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   CARDS — Global
══════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  border-radius: var(--radius);
}
.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-l);
}
.hover-lift { transition: transform .2s, box-shadow .2s; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hover-bg { transition: background .12s; }
.hover-bg:hover { background: #f9fafb; }

/* ══════════════════════════════════════════════════════════
   MEMBER CARDS
══════════════════════════════════════════════════════════ */
.member-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .12s, box-shadow .12s;
}
.member-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}
.member-mini-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .12s, background .12s;
}
.member-mini-card:hover {
  border-color: var(--primary);
  background: var(--primary-l);
}
.member-row:last-child { border-bottom: none !important; }

/* ══════════════════════════════════════════════════════════
   PROFILE
══════════════════════════════════════════════════════════ */
.profile-bg-banner {
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.profile-avatar-wrap {
  width: 96px; height: 96px;
  margin-top: -48px;
}

/* ══════════════════════════════════════════════════════════
   GALLERY
══════════════════════════════════════════════════════════ */
.gallery-img-wrap { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
  border-radius: var(--radius-sm);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   TRIBUTE
══════════════════════════════════════════════════════════ */
.tribute-card { border-left: 3px solid #ef4444 !important; }
.blockquote-light {
  border-left: 3px solid var(--border);
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: .88rem;
}

/* ══════════════════════════════════════════════════════════
   MESSAGES
══════════════════════════════════════════════════════════ */
.message-bubble { word-break: break-word; }

/* ══════════════════════════════════════════════════════════
   ANNOUNCEMENTS
══════════════════════════════════════════════════════════ */
.ann-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════
   POLLS
══════════════════════════════════════════════════════════ */
.poll-mini {
  transition: border-color .12s;
  border-radius: var(--radius) !important;
}
.poll-mini:hover { border-color: var(--warning) !important; }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.portal-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .84rem;
  font-weight: 500;
  transition: color .12s;
}
.footer-link:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════════
   ALERTS
══════════════════════════════════════════════════════════ */
.alert {
  border-radius: var(--radius);
  font-size: .88rem;
  border: none;
  font-weight: 500;
}
.alert-success { background: var(--success-l); color: #065f46; }
.alert-danger  { background: var(--danger-l);  color: #991b1b; }
.alert-warning { background: var(--warning-l); color: #92400e; }
.alert-info    { background: #eff6ff;          color: #1e40af; }
.alert-dismissible .btn-close { padding: .65rem .85rem; }

/* ══════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════ */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: .88rem;
  padding: .55rem .85rem;
  transition: border-color .15s, box-shadow .15s;
  color: var(--text-main);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}
.form-control::placeholder { color: #c0c7d2; }
.input-group .input-group-text {
  border-color: var(--border);
  background: #f9fafb;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm) !important;
  font-size: .88rem;
}
.input-group .form-control { border-radius: 0 !important; }
.input-group .btn { border-radius: 0 var(--radius-sm) var(--radius-sm) 0 !important; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: all .15s;
}
.btn-lg { font-size: .95rem; padding: .6rem 1.3rem; }
.btn-sm { font-size: .8rem; padding: .35rem .75rem; }
.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 1px 3px rgba(37,99,235,.15);
}
.btn-primary:hover {
  background: var(--primary-d);
  border-color: var(--primary-d);
  box-shadow: 0 4px 10px -2px rgba(37,99,235,.25);
  transform: translateY(-1px);
}
.btn-outline-primary { border-width: 1.5px; }
.btn-light {
  background: #fff;
  border: 1.5px solid var(--border);
}
.btn-light:hover {
  background: #f9fafb;
  border-color: #cbd5e1;
}

/* ══════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════ */
.badge {
  font-weight: 600;
  border-radius: 6px;
  font-size: .72rem;
  letter-spacing: .01em;
}

/* ══════════════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════════════ */
.table th {
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-color: var(--border);
}
.table td {
  font-size: .875rem;
  vertical-align: middle;
  border-color: var(--border-l);
}
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: #f9fafb; }

/* ══════════════════════════════════════════════════════════
   PAGINATION
══════════════════════════════════════════════════════════ */
.pagination .page-link {
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-sec);
  border: 1px solid var(--border);
  padding: .4rem .7rem;
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════
   LIST GROUP
══════════════════════════════════════════════════════════ */
.list-group-item {
  border-color: var(--border-l);
  font-size: .88rem;
}

/* ══════════════════════════════════════════════════════════
   MODAL
══════════════════════════════════════════════════════════ */
.modal-content {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.modal-header { border-bottom: 1px solid var(--border-l); }
.modal-footer { border-top: 1px solid var(--border-l); }

/* ══════════════════════════════════════════════════════════
   NAV TABS
══════════════════════════════════════════════════════════ */
.nav-tabs { border-bottom-color: var(--border); }
.nav-tabs .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .88rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.nav-tabs .nav-link:hover { color: var(--text-main); background: #f9fafb; }
.nav-tabs .nav-link.active {
  color: var(--primary);
  font-weight: 600;
  background: #fff;
  border-color: var(--border) var(--border) #fff;
}

/* ══════════════════════════════════════════════════════════
   ACCORDION
══════════════════════════════════════════════════════════ */
.accordion-item { border-color: var(--border); border-radius: var(--radius); }
.accordion-button { font-weight: 600; font-size: .9rem; border-radius: var(--radius); }
.accordion-button:not(.collapsed) {
  background: var(--primary-l);
  color: var(--primary);
  box-shadow: none;
}

/* ══════════════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════════════ */
.progress {
  background-color: #f1f3f6;
  border-radius: 99px;
  height: .5rem;
}
.progress-bar { border-radius: 99px; }

/* ══════════════════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ── HR ── */
hr { border-color: var(--border); opacity: 1; }

/* ══════════════════════════════════════════════════════════
   MOBİL UYUMLULUK
══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 991.98px) {
  .container-xl { max-width: 100%; }
}

/* Small tablets and large phones */
@media (max-width: 767.98px) {
  body { font-size: 14px; }
  .table-responsive { font-size: .82rem; }
  .portal-navbar .nav-link { font-size: .82rem; padding: .35rem .5rem !important; }
  .card-body { padding: 1rem; }
  .card-header { padding: .85rem 1rem; }
  h4.fw-bold, h5.fw-bold { font-size: 1.05rem; }
  .welcome-banner { padding: 1rem !important; }
  .welcome-banner h4 { font-size: 1.1rem; }
  .welcome-banner .ms-auto { margin-left: 0 !important; width: 100%; margin-top: .5rem; }
  .stat-card .fs-4 { font-size: 1.15rem !important; }
}

/* Phones */
@media (max-width: 575.98px) {
  .portal-navbar { padding: .25rem 0; }
  .portal-navbar .navbar-brand { font-size: .9rem; }
  .portal-navbar .navbar-brand img { max-height: 32px !important; }
  .portal-navbar .navbar-toggler { padding: .25rem; }
  .container-xl { padding-left: .75rem; padding-right: .75rem; }
  main.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .welcome-banner { padding: .85rem !important; border-radius: var(--radius-sm); }
  .welcome-banner h4 { font-size: 1rem; }
  .welcome-banner img { width: 48px !important; height: 48px !important; }
  .stat-card { border-radius: var(--radius-sm) !important; }
  .stat-card .fs-4 { font-size: 1.1rem !important; }
  .stat-icon { width: 36px; height: 36px; }
  .quick-link-card { padding: .65rem !important; }
  .quick-link-icon { width: 30px; height: 30px; font-size: .85rem; }
  .quick-link-card span { font-size: .78rem !important; }
  .card { border-radius: var(--radius-sm); }
  .member-card { border-radius: var(--radius-sm); }
  .member-mini-card { border-radius: var(--radius-sm); }
  .member-mini-card img { width: 44px !important; height: 44px !important; }
  .member-mini-card .fw-semibold { font-size: .78rem !important; }
  .ann-icon { width: 32px; height: 32px; }
  .poll-mini { padding: .65rem !important; }
  .gallery-card .card-img-top { height: 140px !important; }
  .profile-bg-banner { height: 56px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .profile-avatar-wrap { width: 72px; height: 72px; margin-top: -36px; }
  .btn { font-size: .82rem; }
  .btn-lg { font-size: .88rem; padding: .5rem 1rem; }
  .form-control, .form-select { font-size: .84rem; padding: .5rem .7rem; }
  .badge { font-size: .68rem; }

  /* Footer */
  .portal-footer { padding: 1rem 0 !important; }
  .portal-footer .footer-link { font-size: .78rem; }
  .portal-footer p.small { font-size: .72rem !important; }

  /* Dropdown on mobile */
  .portal-navbar .dropdown-menu {
    border: none;
    box-shadow: none;
    margin-top: 0;
    padding: .25rem 0;
  }

  /* Collapse nav items */
  .portal-navbar .navbar-collapse .navbar-nav {
    padding: .5rem 0;
    gap: 2px;
  }
  .portal-navbar .navbar-collapse .nav-link {
    padding: .5rem .75rem !important;
  }
}

/* Extra small */
@media (max-width: 374.98px) {
  .container-xl { padding-left: .5rem; padding-right: .5rem; }
  .welcome-banner h4 { font-size: .92rem; }
  .stat-card .fs-4 { font-size: 1rem !important; }
  .quick-link-card span { font-size: .72rem !important; }
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD — YENİ TASARIM
══════════════════════════════════════════════════════════ */
.db-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/* ── Profil Özeti ── */
.db-profile-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 1rem;
}
.db-profile-left {
  display: flex;
  align-items: center;
  gap: .875rem;
  min-width: 0;
}
.db-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.db-greeting {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}
.db-meta {
  font-size: .8rem;
  color: var(--text-muted);
  margin: .15rem 0 0;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.db-meta-dot {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  display: inline-block;
}
.db-profile-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}
.db-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.db-btn-ghost {
  background: var(--bg-white);
  color: var(--text-sec);
  border: 1px solid var(--border);
}
.db-btn-ghost:hover {
  background: #f3f4f6;
  color: var(--text-main);
  border-color: #d1d5db;
}
.db-btn-msg { position: relative; }
.db-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--danger);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

/* ── Sayılar ── */
.db-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.db-stat {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
.db-stat:hover {
  border-color: #c7d2e0;
  box-shadow: var(--shadow-sm);
}
.db-stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.05rem;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}
.db-stat-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.db-stat-body strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}
.db-stat-body span {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Hızlı Erişim ── */
.db-shortcuts {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}
.db-shortcuts::-webkit-scrollbar { display: none; }
.db-shortcut {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}
.db-shortcut i { font-size: .85rem; }
.db-shortcut:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Grid ── */
.db-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}
.db-main { display: flex; flex-direction: column; gap: 1.25rem; }
.db-side  { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Kart ── */
.db-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.db-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-l);
}
.db-card-head h2 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.db-card-head a {
  font-size: .75rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}
.db-card-head a:hover { text-decoration: underline; }
.db-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0;
}

/* ── Duyuru Listesi ── */
.db-list { padding: 0; }
.db-list-item {
  display: flex;
  gap: .85rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border-l);
  transition: background .1s;
}
.db-list-item:last-child { border-bottom: none; }
.db-list-item:hover { background: #fafbfc; }
.db-list-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--primary);
  font-size: .88rem;
}
.db-list-icon--info {
  background: color-mix(in srgb, var(--info) 8%, transparent);
  color: var(--info);
}
.db-list-body {
  min-width: 0;
  flex: 1;
}
.db-list-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 .2rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.db-list-desc {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0 0 .25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.db-list-time {
  font-size: .7rem;
  color: var(--text-muted);
}
.db-list-time i { margin-right: .2rem; }

/* ── Dönem Arkadaşları ── */
.db-mates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding: 1rem 1.25rem;
}
.db-mate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .85rem .5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .12s, border-color .12s;
}
.db-mate:hover {
  background: #f7f8fa;
  border-color: var(--border);
}
.db-mate img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.db-mate-name {
  font-size: .76rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.db-mate-role {
  font-size: .66rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Anketler ── */
.db-polls { padding: .5rem 1rem; }
.db-poll {
  display: block;
  padding: .75rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  text-decoration: none;
  transition: border-color .12s;
}
.db-poll:last-child { margin-bottom: .5rem; }
.db-poll:hover { border-color: var(--warning); }
.db-poll p {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 .35rem;
  line-height: 1.4;
}
.db-poll span {
  font-size: .72rem;
  color: var(--text-muted);
}
.db-poll span i { margin-right: .2rem; }

/* ── Yeni Üyeler ── */
.db-members { padding: .25rem 0; }
.db-member {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .6rem 1.25rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-l);
  transition: background .1s;
}
.db-member:last-child { border-bottom: none; }
.db-member:hover { background: #fafbfc; }
.db-member img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.db-member-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.db-member-info {
  font-size: .72rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD — MOBİL UYUMLULUK
══════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 991.98px) {
  .db-grid {
    grid-template-columns: 1fr;
  }
  .db-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Orta ekranlar */
@media (max-width: 767.98px) {
  .db-profile-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
    padding: 1rem 0 .85rem;
  }
  .db-profile-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
  }
  .db-btn {
    justify-content: center;
    padding: .5rem .5rem;
    font-size: .76rem;
  }
  .db-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
  }
  .db-stat {
    padding: .85rem .9rem;
  }
  .db-stat-body strong { font-size: 1.05rem; }
  .db-shortcuts { gap: .4rem; }
  .db-shortcut {
    padding: .4rem .7rem;
    font-size: .74rem;
  }
  .db-mates {
    grid-template-columns: repeat(3, 1fr);
    gap: .35rem;
    padding: .75rem 1rem;
  }
  .db-greeting { font-size: 1.1rem; }
}

/* Küçük ekranlar — telefon */
@media (max-width: 575.98px) {
  .db-wrapper { padding: 0; }
  .db-avatar { width: 44px; height: 44px; }
  .db-greeting { font-size: 1rem; }
  .db-meta { font-size: .74rem; }
  .db-profile-actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .db-btn { font-size: .72rem; padding: .45rem .35rem; }
  .db-btn span { display: inline; }
  .db-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: .45rem;
  }
  .db-stat {
    padding: .7rem .75rem;
    gap: .55rem;
  }
  .db-stat-icon { width: 34px; height: 34px; font-size: .9rem; }
  .db-stat-body strong { font-size: .95rem; }
  .db-stat-body span { font-size: .68rem; }
  .db-shortcuts {
    gap: .35rem;
    margin-bottom: 1rem;
  }
  .db-shortcut {
    padding: .35rem .6rem;
    font-size: .72rem;
  }
  .db-card-head { padding: .85rem 1rem; }
  .db-card-head h2 { font-size: .82rem; }
  .db-list-item { padding: .75rem 1rem; gap: .65rem; }
  .db-list-icon { width: 30px; height: 30px; font-size: .8rem; }
  .db-list-title { font-size: .8rem; }
  .db-list-desc { font-size: .74rem; }
  .db-mates {
    grid-template-columns: repeat(2, 1fr);
    padding: .65rem .75rem;
  }
  .db-mate img { width: 38px; height: 38px; }
  .db-mate-name { font-size: .72rem; }
  .db-member { padding: .55rem 1rem; gap: .6rem; }
  .db-member img { width: 32px; height: 32px; }
  .db-member-name { font-size: .78rem; }
  .db-polls { padding: .4rem .75rem; }
  .db-poll { padding: .65rem .7rem; }
  .db-poll p { font-size: .78rem; }
}

/* Çok küçük ekranlar */
@media (max-width: 374.98px) {
  .db-greeting { font-size: .92rem; }
  .db-profile-actions { grid-template-columns: 1fr 1fr 1fr; }
  .db-btn { font-size: .68rem; gap: .2rem; }
  .db-stats { gap: .35rem; }
  .db-stat { padding: .6rem .6rem; border-radius: var(--radius-sm); }
  .db-stat-icon { width: 30px; height: 30px; font-size: .8rem; border-radius: 8px; }
  .db-stat-body strong { font-size: .88rem; }
  .db-mates { grid-template-columns: repeat(2, 1fr); }
}
