#widgets {
  width: var(--widget-width); min-width: var(--widget-width);
  background: var(--card-bg); border-left: 1px solid var(--border-color);
  transition: width var(--transition), min-width var(--transition);
  overflow: hidden; flex-shrink: 0;
}
#widgets.collapsed { width: 0; min-width: 0; }
.widgets-inner { width: 280px; padding: 16px; overflow-y: auto; height: 100%; display: flex; flex-direction: column; gap: 16px; }
.widget { background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; transition: box-shadow var(--transition); }
.widget:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.widget-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin-bottom: 12px; }
.stat-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.85rem; }
.stat-value { font-weight: 700; color: var(--accent-color); }
.activity-item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary-color); margin-top: 5px; flex-shrink: 0; }
.activity-text { font-size: 0.83rem; line-height: 1.4; }
.activity-time { font-size: 0.75rem; color: #999; }
.action-btn { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; border: 1px solid var(--border-color); border-radius: 8px; background: var(--bg-color); color: var(--text-color); font-size: 0.85rem; cursor: pointer; margin-bottom: 6px; transition: background var(--transition), transform 0.15s; }
.action-btn:hover { background: var(--hover-color); transform: translateX(3px); }
.notif-item { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-start; }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.notif-dot.unread { background: var(--primary-color); }
.notif-dot.read { background: #ccc; }
.notif-text { font-size: 0.83rem; line-height: 1.4; }
.schedule-item { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.schedule-time { font-size: 0.78rem; color: var(--secondary-color); font-weight: 600; min-width: 50px; }
.schedule-text { font-size: 0.83rem; }
@media (max-width: 768px) {
  #widgets { position: fixed; right: 0; top: 120px; height: calc(100vh - 120px); z-index: 900; transform: translateX(100%); width: 280px !important; min-width: 280px !important; }
  #widgets.open { transform: translateX(0); box-shadow: -4px 0 20px rgba(0,0,0,0.15); }
}
