.brand { display: flex; align-items: center; gap: 13px; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--primary); font-size: 25px; background: var(--primary-soft); }

.global-search, .message-search {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); background: #fbfbff; color: var(--text-muted);
}
.global-search { height: 52px; padding: 0 18px; border-radius: 18px; }
.message-search { height: 46px; margin-top: 18px; padding: 0 14px; border-radius: 14px; }
.global-search input, .message-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text-main); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.icon-button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: var(--text-main); font-size: 21px; }
.notification-dot { position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; background: var(--primary); border-radius: 999px; }
.profile-menu { display: flex; align-items: center; gap: 9px; }
.profile-menu img { width: 44px; height: 44px; border-radius: 50%; }

.user-card, .streak-card, .premium-card, .schedule-card, .free-now-card {
  background: var(--bg-card); border: 1px solid var(--border); box-shadow: var(--shadow-card);
}
.user-card { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius-xl); background: radial-gradient(circle at 92% 20%, rgba(91,53,245,0.11), transparent 28%), linear-gradient(135deg,#fff,#f7f3ff); }
.user-card img { width: 68px; height: 68px; border-radius: 50%; }
.user-card h1 { font-size: 18px; margin-bottom: 2px; }
.user-card p { color: var(--text-muted); font-size: 14px; }
.premium-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 9px; border-radius: 999px; background: #fff7df; color: #a16b00; font-size: 12px; }

.streak-card { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: var(--radius-lg); }
.streak-card p { margin-top: 4px; color: var(--text-muted); font-size: 13px; }
.streak-card > span { font-size: 23px; }

.primary-action { height: 54px; display: flex; align-items: center; justify-content: center; gap: 13px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; font-weight: 800; box-shadow: 0 16px 30px rgba(91,53,245,0.25); }

.side-nav { padding: 10px 0; }
.side-nav a { height: 52px; display: flex; align-items: center; gap: 15px; padding: 0 18px; margin-bottom: 5px; border-radius: 15px; color: #26304b; font-weight: 700; }
.side-nav a i { width: 23px; text-align: center; color: #65708f; font-size: 18px; }
.side-nav a.active { background: var(--primary-soft); color: var(--primary); }
.side-nav a.active i { color: var(--primary); }
.nav-count { margin-left: auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 999px; background: #eee9ff; color: var(--primary); font-size: 13px; }
.side-nav hr { border: 0; border-top: 1px solid var(--border); margin: 14px 0; }

.premium-card { position: relative; margin-top: auto; padding: 22px; border-radius: var(--radius-xl); background: radial-gradient(circle at 86% 18%, rgba(255,207,82,0.25), transparent 20%), linear-gradient(135deg,#fff,#f9f0ff); }
.premium-card .sparkle { position: absolute; top: 20px; right: 25px; color: #f0bd2f; font-size: 24px; }
.premium-card h2 { color: var(--primary); font-size: 17px; margin-bottom: 9px; }
.premium-card p { color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; }
.premium-card button { width: 100%; height: 48px; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); font-weight: 800; }

.panel-header, .card-header { display: flex; align-items: center; justify-content: space-between; }
.panel-header h2, .card-header h2 { font-size: 20px; letter-spacing: -0.03em; }
.panel-actions { display: flex; gap: 12px; }
.panel-actions button, .chat-actions button { color: #66708f; font-size: 20px; }
.card-header a { color: var(--primary); font-size: 14px; font-weight: 800; }
