/* ==========================================================================
   ProductsVerse - Compiled CSS from SCSS
   ========================================================================== */

/* ----- Colors ----- */
:root {
  --color-success: 142 76% 36%;
  --color-warning: 38 92% 50%;
  --color-info: 199 89% 48%;
  --color-online: var(--color-success);
  --color-offline: var(--muted-foreground);
  --color-chart-1: var(--primary);
  --color-chart-2: 199 89% 48%;
  --color-chart-3: 142 76% 36%;
  --color-chart-4: 38 92% 50%;
  --color-chart-5: 280 65% 60%;
  --sidebar-width: 280px;
}

/* ----- Typography ----- */
.text-xs { font-size: 0.625rem; }
.text-sm { font-size: 0.75rem; }
.text-base { font-size: 0.875rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-muted { color: hsl(var(--muted-foreground)); }
.text-primary { color: hsl(var(--primary)); }
.text-destructive { color: hsl(var(--destructive)); }
.text-success { color: hsl(var(--color-success)); }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* ----- Base ----- */
body {
  min-height: 100vh;
  background-color: hsl(var(--muted) / 0.3);
}

.prose {
  line-height: 1.7;
}
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-weight: 600;
}
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}
.prose a {
  color: hsl(var(--primary));
  text-decoration: underline;
}
.prose a:hover { text-decoration: none; }
.prose code {
  background: hsl(var(--muted));
  padding: 0.125em 0.25em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
.prose pre {
  background: hsl(var(--muted));
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
}
.prose pre code {
  background: transparent;
  padding: 0;
}
.prose blockquote {
  border-left: 4px solid hsl(var(--border));
  padding-left: 1rem;
  margin: 1rem 0;
  color: hsl(var(--muted-foreground));
}

.hidden { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Spacing Utilities ----- */
.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 0.75rem; }
.m-4 { margin: 1rem; }
.m-5 { margin: 1.25rem; }
.m-6 { margin: 1.5rem; }
.m-8 { margin: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.ml-auto { margin-left: auto; }

.mx-0 { margin-left: 0; margin-right: 0; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }

.pr-0 { padding-right: 0; }
.pr-2 { padding-right: 0.5rem; }
.pr-3 { padding-right: 0.75rem; }
.pr-4 { padding-right: 1rem; }

.pb-0 { padding-bottom: 0; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }

.pl-0 { padding-left: 0; }
.pl-2 { padding-left: 0.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-4 { padding-left: 1rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ----- Display & Flexbox ----- */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.contents { display: contents; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-1 { flex: 1; }
.flex-auto { flex: auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.self-start { align-self: flex-start; }
.self-end { align-self: flex-end; }
.self-center { align-self: center; }

/* ----- Width & Height ----- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.min-w-0 { min-width: 0; }
.max-w-full { max-width: 100%; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-600 { max-width: 600px; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }

/* ----- Position ----- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* ----- Border ----- */
.border { border: 1px solid hsl(var(--border)); }
.border-t { border-top: 1px solid hsl(var(--border)); }
.border-r { border-right: 1px solid hsl(var(--border)); }
.border-b { border-bottom: 1px solid hsl(var(--border)); }
.border-l { border-left: 1px solid hsl(var(--border)); }
.border-0 { border: 0; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ----- Overflow ----- */
.overflow-auto { overflow: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }
.overflow-x-auto { overflow-x: auto; }

/* ----- Cursor ----- */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }

/* ----- Vertical Align ----- */
.align-middle { vertical-align: middle; }
.align-top { vertical-align: top; }
.align-bottom { vertical-align: bottom; }

/* ==========================================================================
   Layout
   ========================================================================== */

.app-container {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 1.5rem;
}

@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
  }
}

.page-header {
  margin-bottom: 1.5rem;
}

.page-header.page-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.page-description {
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

/* Auth Layout */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted) / 0.3);
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 400px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--primary));
}

.auth-logo p {
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

/* Grid Layouts */
.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto-fit-200 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-auto-fit-350 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.grid-2fr-1fr {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.grid-1fr-300 {
  display: grid;
  grid-template-columns: 1fr 300px;
}

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .grid-2fr-1fr,
  .grid-1fr-300 {
    grid-template-columns: 1fr;
  }
}

.sticky-top {
  position: sticky;
  top: 1rem;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Alert Variants */
.alert-success {
  border-color: hsl(var(--color-success));
}

.alert-success svg,
.alert-success i {
  color: hsl(var(--color-success));
}

/* Badge Variants */
.badge-success {
  background: hsl(var(--color-success));
  color: white;
}

/* Additional utilities */
.w-auto { width: auto; }
.inline { display: inline; }
.contents { display: contents; }

/* Dialog */
.dialog {
  border: none;
  border-radius: 0.75rem;
  padding: 0;
  max-width: 90vw;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.dialog-content {
  padding: 1.5rem;
}

.dialog-header {
  margin-bottom: 1.5rem;
}

.dialog-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.dialog-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.dialog-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.breadcrumb-item:hover {
  color: hsl(var(--foreground));
}

.breadcrumb-current {
  color: hsl(var(--foreground));
  font-weight: 500;
}

.breadcrumb-separator {
  color: hsl(var(--muted-foreground));
}

/* Stat Card */
.stat-card .card-content {
  padding: 1.25rem;
}

.stat-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-card-content .stat-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
}

.stat-card-content .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
}

.stat-card-content .stat-description {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.stat-card-content .stat-change {
  font-size: 0.75rem;
}

.stat-card-content .stat-change.positive {
  color: hsl(var(--color-success));
}

.stat-card-content .stat-change.negative {
  color: hsl(var(--destructive));
}

.stat-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg,
.stat-icon i {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.stat-icon.stat-icon-destructive {
  background: hsl(var(--destructive) / 0.1);
}

.stat-icon.stat-icon-destructive svg,
.stat-icon.stat-icon-destructive i {
  color: hsl(var(--destructive));
}

/* Icon Sizes */
.icon-xs { width: 0.75rem; height: 0.75rem; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-base { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-2xl { width: 3rem; height: 3rem; }
.icon-3xl { width: 4rem; height: 4rem; }

/* Icon Box */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
}

.icon-box-sm { width: 2rem; height: 2rem; }
.icon-box-md { width: 2.5rem; height: 2.5rem; }
.icon-box-lg { width: 3rem; height: 3rem; }
.icon-box-xl { width: 3.5rem; height: 3.5rem; }
.icon-box-2xl { width: 4rem; height: 4rem; }

.icon-box-primary {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.icon-box-muted {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.icon-box-circle {
  border-radius: 50%;
}

/* Empty State */
.empty-state {
  padding: 3rem;
  text-align: center;
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 0.5rem;
  background: hsl(var(--muted));
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  padding: 3rem;
  text-align: center;
  background: hsl(var(--muted));
  border-radius: 0.5rem;
}

.video-placeholder .icon {
  width: 3rem;
  height: 3rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.video-placeholder p {
  color: hsl(var(--muted-foreground));
}

/* Date Box */
.date-box {
  text-align: center;
  flex-shrink: 0;
}

.date-box-sm { width: 2.5rem; }
.date-box-md { width: 3rem; }

.date-box .date-month {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.date-box .date-day {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: hsl(var(--border));
}

.calendar-header-cell {
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  background: hsl(var(--muted));
}

.calendar-cell {
  min-height: 80px;
  padding: 0.25rem;
  background: hsl(var(--card));
}

.calendar-cell.calendar-cell-today {
  background: hsl(var(--primary) / 0.05);
}

.calendar-cell .calendar-day {
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.calendar-cell .calendar-day.is-today {
  font-weight: 700;
  color: hsl(var(--primary));
}

.calendar-event {
  font-size: 0.625rem;
  padding: 0.125rem 0.25rem;
  margin-bottom: 0.125rem;
  border-radius: 0.25rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

/* Chat Message */
.chat-message {
  max-width: 70%;
}

.chat-message .message-content {
  padding: 0.75rem 1rem;
  border-radius: 1rem;
}

.chat-message.chat-message-own .message-content {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-bottom-right-radius: 0.25rem;
}

.chat-message.chat-message-other .message-content {
  background: hsl(var(--muted));
  border-bottom-left-radius: 0.25rem;
}

.chat-message .message-time {
  font-size: 0.625rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

/* ==========================================================================
   Page-Specific Styles
   ========================================================================== */

/* Chat Page */
.chat-layout {
  padding: 0;
  display: flex;
  height: calc(100vh - 0px);
}

.chat-sidebar {
  width: 280px;
  border-right: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  background: hsl(var(--card));
}

.chat-sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid hsl(var(--border));
}

.chat-sidebar-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
}

.chat-sidebar-content {
  flex: 1;
  overflow-y: auto;
}

.chat-section {
  padding: 0.5rem;
}

.chat-section-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem;
  text-transform: uppercase;
}

.chat-room-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.chat-room-item.active {
  background: hsl(var(--accent));
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: hsl(var(--background));
}

.chat-header {
  padding: 1rem;
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: hsl(var(--card));
}

.chat-header h3 {
  font-weight: 600;
}

.chat-header .chat-header-subtitle {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-date-divider {
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem;
}

.chat-message-row {
  display: flex;
  gap: 0.75rem;
}

.chat-message-row.own-message {
  flex-direction: row-reverse;
}

.chat-message-author {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.chat-input-area {
  padding: 1rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.chat-input-form {
  display: flex;
  gap: 0.75rem;
}

/* Feed Page */
.feed-post-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-header {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.post-author-info {
  flex: 1;
}

.post-author-info .author-name {
  font-weight: 500;
}

.post-author-info .post-time {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.post-content {
  margin-bottom: 1rem;
  white-space: pre-wrap;
}

.post-media {
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.post-media img {
  max-width: 100%;
}

.post-actions {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid hsl(var(--border));
}

.post-comments {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.comment-form-inner {
  display: flex;
  gap: 0.75rem;
}

.comment-input-group {
  flex: 1;
  display: flex;
  gap: 0.5rem;
}

/* Notification Items */
.notification-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.notification-item.unread {
  background: hsl(var(--primary) / 0.05);
}

.notification-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon svg,
.notification-icon i {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.notification-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: hsl(var(--primary));
}

/* Conversation Items */
.conversation-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.conversation-item.has-unread {
  background: hsl(var(--primary) / 0.05);
}

/* Profile Page */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-box {
  padding: 1rem;
  background: hsl(var(--muted));
  border-radius: 0.5rem;
  text-align: center;
}

.stat-box .stat-box-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-box .stat-box-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Admin Stats */
.admin-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .admin-stats-row {
    grid-template-columns: 1fr;
  }
}

/* Course & Lesson */
.course-header {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.course-progress-bar {
  flex: 1;
  max-width: 200px;
}

.lesson-nav-item {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.lesson-nav-item.active {
  background: hsl(var(--accent));
}

.lesson-nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.module-info {
  text-align: left;
}

.module-info .module-title {
  font-weight: 500;
}

.module-info .module-progress {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Settings */
.settings-section {
  max-width: 600px;
}

.notification-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-option .option-label {
  font-weight: 500;
}

.notification-option .option-description {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.danger-zone {
  border-color: hsl(var(--destructive));
}

.danger-zone .card-title {
  color: hsl(var(--destructive));
}

.danger-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.danger-action .action-label {
  font-weight: 500;
}

.danger-action .action-description {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Community Header */
.community-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.community-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.community-stats strong {
  color: hsl(var(--foreground));
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-stat-card {
  text-decoration: none;
}

.quick-stat-card .stat-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quick-stat-card .stat-label {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.quick-stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Member Row */
.member-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.member-info .member-name {
  font-weight: 500;
}

.member-info .member-email {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

/* Info List */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.info-list-item {
  display: flex;
  justify-content: space-between;
}

.info-list-item .info-label {
  color: hsl(var(--muted-foreground));
}
