/* css/dashboard.css — hero, объявления, активность */

/* ── Hero ── */
.hero-card {
  display: grid; grid-template-columns: 320px 1fr;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-sm); min-height: 210px;
}
.hero-photo { position: relative; overflow: hidden; background: var(--sidebar-bg); }
.hero-photo-inner {
  width: 100%; height: 100%; min-height: 210px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-end; padding-bottom: 20px; position: relative;
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; }
.hs { position: absolute; border-radius: 50%; opacity: .18; }
.hs1 { width:180px;height:180px;background:#3464B8;top:-40px;left:-40px; }
.hs2 { width:120px;height:120px;background:#3A9F96;top:20px;right:-30px; }
.hs3 { width:80px;height:80px;background:#E08C20;bottom:20px;left:30px; }
.hs4 { width:60px;height:60px;background:#35A87A;top:80px;left:100px;border-radius:14px; }
.hs5 { width:100px;height:100px;background:#7855C8;bottom:-20px;right:20px;border-radius:20px; }
.hero-photo-inner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg,rgba(255,255,255,.03) 0,rgba(255,255,255,.03) 1px,transparent 0,transparent 50%);
  background-size: 12px 12px;
}
.hero-photo-label {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
  padding: 10px 18px; border-radius: 99px; color: #fff; font-size: 13px; font-weight: 600;
}
.hero-emblem {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #3464B8, #3A9F96);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.hero-content {
  padding: 28px 32px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, #F8FAFE 0%, #EEF4FF 100%);
}
.hero-greeting { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.hero-date     { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.hero-quote    { border-left: 3px solid var(--primary); padding-left: 16px; }
.hero-quote-icon { font-size: 22px; color: var(--primary); opacity: .5; margin-bottom: 6px; }
.hero-quote p  { font-size: 13.5px; line-height: 1.65; margin: 0; }
.hero-quote-sub { color: var(--text-muted); font-size: 12.5px; }
.hero-quote-footer { margin-top: 12px; font-size: 14px; color: var(--primary-dark); }

/* ── Dashboard layout ── */
.dashboard-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }

/* ── Activity ── */
.activity-item {
  display: flex; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--border-light); align-items: flex-start;
}
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.activity-text { font-size: 13px; }
.activity-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ── Announcements ── */
.ann-card { overflow: hidden; }
.ann-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px;
  border-bottom: 1px solid var(--border-light); position: relative; transition: background .12s;
}
.ann-item:last-child { border-bottom: none; }
.ann-item:hover { background: #FAFBFF; }
.ann-pinned { background: linear-gradient(90deg,#FFFDF0 0%,#fff 100%); border-left: 3px solid var(--amber); }
.ann-pin    { position: absolute; top: 12px; right: 14px; font-size: 14px; }
.ann-left   { flex-shrink: 0; padding-top: 2px; }
.ann-priority { display: inline-block; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ann-body   { flex: 1; min-width: 0; }
.ann-title  { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.ann-text   { font-size: 13px; color: var(--text-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-meta   { display: flex; gap: 14px; font-size: 11px; color: var(--text-light); margin-top: 8px; }
.ann-actions { display: flex; gap: 4px; flex-shrink: 0; opacity: 0; transition: opacity .15s; }
.ann-item:hover .ann-actions { opacity: 1; }
