/* Dashboard list view — scoped under .rl-dashboard so section view stays unchanged */

.rl-dashboard {
  --rl-ink: #1e293b;
  --rl-muted: #94a3b8;
  --rl-border: #e2e8f0;
  --rl-surface: #ffffff;
  --rl-search-bg: #f8fafc;
  --rl-accent: #0c6af4;
  --rl-accent-soft: #0c6af4;
  --rl-blue: #0c6af4;
  --rl-page-gutter: clamp(20px, 2.5vw, 36px);
  font-family: "Inter", sans-serif;
  background-color: #fff;
}

.rl-dashboard .material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
  user-select: none;
}

/* Shell overrides for list view */
body:has(.rl-dashboard) {
  background-color: #fff !important;
}

.rl-dashboard {
  min-height: 100vh;
  background-color: #fff;
}

.rl-dashboard .navbar-custom,
.rl-dashboard .header-style-rl {
  background: var(--rl-surface) !important;
  box-shadow: none !important;
  border-bottom: 1px solid var(--rl-border);
  height: auto !important;
  min-height: 64px;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.rl-dashboard .left-side-menu {
  display: none !important;
}

.rl-dashboard .mainPageBackground,
.rl-dashboard .content-page-without-sidebar,
.rl-dashboard .content-page-with-sidebar {
  background-color: #fff !important;
  margin-left: 0 !important;
  padding: 0 !important;
  min-height: calc(100vh - 64px);
  overflow: auto;
}

.rl-dashboard .content {
  padding: 0 !important;
  margin: 0 !important;
}

.rl-dashboard .content > .container-fluid {
  padding: 0 !important;
  max-width: none;
}

.rl-dashboard .headTitle {
  margin-top: 0 !important;
}

/* Keep Add Board / filters / fullscreen visible on small screens (sidebar is hidden) */
.rl-dashboard .addSectionBtnDis {
  display: inline-flex !important;
}

.rl-dashboard .header-actions > li.addSectionBtnDis {
  display: flex !important;
}

.rl-dashboard .welcome-actions > li.addSectionBtnDis {
  display: flex !important;
}

.rl-dashboard .add-board-button.addSectionBtnDis {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* —— Header —— */
.rl-dashboard .header-style-rl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px var(--rl-page-gutter) !important;
  width: 100%;
}

.rl-dashboard .header-brand {
  display: flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  width: 11rem;
  cursor: default;
}

.rl-dashboard .header-brand > img {
  width: 42px;
  height: 2.4rem;
  object-fit: contain;
}

.rl-dashboard .header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.rl-dashboard .header-brand-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--rl-ink);
  letter-spacing: -0.02em;
}

.rl-dashboard .header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 420px;
  min-width: 180px;
  height: 40px;
  padding: 0 12px 0 14px;
  background: var(--rl-search-bg);
  border: 1px solid var(--rl-border);
  border-radius: 999px;
  cursor: text;
  margin: 0;
}

.rl-dashboard .header-search:focus-within {
  border-color: #c4b5fd;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.12);
}

.rl-dashboard .header-search-icon {
  font-size: 20px;
  color: var(--rl-muted);
  flex-shrink: 0;
}

.rl-dashboard .header-search input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.875rem;
  color: var(--rl-ink);
  height: auto;
  padding: 0;
}

.rl-dashboard .header-search input::placeholder {
  color: var(--rl-muted);
}

.rl-dashboard .header-search-kbd {
  flex-shrink: 0;
  padding: 2px 6px;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--rl-muted);
  background: #eef2f7;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  line-height: 1.4;
}

.rl-dashboard .header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rl-dashboard .header-actions > li {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rl-dashboard .header-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
  text-decoration: none;
}

.rl-dashboard .header-icon-btn:hover {
  background: #f1f5f9;
  color: var(--rl-ink);
}

.rl-dashboard .header-icon-btn .material-symbols-outlined {
  font-size: 22px;
}

.rl-dashboard .header-notif-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--rl-accent-soft);
  border-radius: 999px;
  border: 1.5px solid var(--rl-surface);
}

.rl-dashboard .header-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 4px 6px 4px 4px;
  border: none;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
  text-decoration: none;
  color: inherit;
}

.rl-dashboard .header-profile:hover {
  background: #f1f5f9;
}

.rl-dashboard .header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dbeafe;
  color: #0c6af4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  flex-shrink: 0;
}

.rl-dashboard .header-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.rl-dashboard .header-username {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rl-ink);
  white-space: nowrap;
}

.rl-dashboard .header-chevron {
  font-size: 20px;
  color: var(--rl-muted);
}

.rl-dashboard .header-actions .dropdown-menu,
.rl-section .header-actions .dropdown-menu {
  margin-top: 10px !important;
}

/* Shared modern header dropdowns (notifications / language / profile) */
.rl-dashboard .header-dropdown,
.rl-section .header-dropdown {
  min-width: 240px;
  padding: 0 !important;
  border: 1px solid #e8edf5 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14) !important;
  overflow: hidden;
}

.rl-dashboard .header-dropdown.dropdown-lg,
.rl-section .header-dropdown.dropdown-lg {
  width: min(360px, calc(100vw - 24px));
  min-width: 300px;
}

.rl-dashboard .header-dropdown-sm,
.rl-section .header-dropdown-sm {
  width: 260px;
}

.rl-dashboard .header-dropdown-head,
.rl-section .header-dropdown-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.rl-dashboard .header-dropdown-head .material-symbols-outlined,
.rl-section .header-dropdown-head .material-symbols-outlined {
  font-size: 20px;
  color: #3b82f6;
}

.rl-dashboard .header-dropdown-head h5,
.rl-section .header-dropdown-head h5 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.rl-dashboard .header-dropdown-body,
.rl-section .header-dropdown-body {
  padding: 8px;
}

.rl-dashboard .header-dropdown-empty,
.rl-section .header-dropdown-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  text-align: center;
  color: #94a3b8;
}

.rl-dashboard .header-dropdown-empty .material-symbols-outlined,
.rl-section .header-dropdown-empty .material-symbols-outlined {
  font-size: 32px;
  color: #cbd5e1;
}

.rl-dashboard .header-dropdown-empty p,
.rl-section .header-dropdown-empty p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #64748b;
  max-width: 220px;
}

.rl-dashboard .noti-scroll,
.rl-section .noti-scroll {
  max-height: 320px;
}

.rl-dashboard .header-notif-item,
.rl-section .header-notif-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 12px !important;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  white-space: normal !important;
}

.rl-dashboard .header-notif-item:hover,
.rl-section .header-notif-item:hover {
  background: #f1f5f9;
}

.rl-dashboard .header-notif-avatar,
.rl-section .header-notif-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: #dbeafe;
  color: #0c6af4;
  font-size: 0.7rem;
  font-weight: 600;
}

.rl-dashboard .header-notif-avatar img,
.rl-section .header-notif-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-dashboard .header-notif-copy,
.rl-section .header-notif-copy {
  min-width: 0;
  flex: 1;
}

.rl-dashboard .header-notif-title,
.rl-section .header-notif-title {
  margin: 0 0 2px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.35;
  white-space: normal;
}

.rl-dashboard .header-notif-time,
.rl-section .header-notif-time {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}

.rl-dashboard .header-notif-actions,
.rl-section .header-notif-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.rl-dashboard .header-notif-btn,
.rl-section .header-notif-btn {
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.rl-dashboard .header-notif-btn.primary,
.rl-section .header-notif-btn.primary {
  background: #0c6af4;
  color: #fff;
}

.rl-dashboard .header-notif-btn.danger,
.rl-section .header-notif-btn.danger {
  background: #fee2e2;
  color: #b91c1c;
}

.rl-dashboard .header-lang-list,
.rl-section .header-lang-list,
.rl-dashboard .header-menu-list,
.rl-section .header-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rl-dashboard .header-lang-item,
.rl-section .header-lang-item,
.rl-dashboard .header-menu-item,
.rl-section .header-menu-item {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px !important;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #334155 !important;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.rl-dashboard .header-menu-item,
.rl-section .header-menu-item {
  justify-content: flex-start;
}

.rl-dashboard .header-lang-item:hover,
.rl-section .header-lang-item:hover,
.rl-dashboard .header-menu-item:hover,
.rl-section .header-menu-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.rl-dashboard .header-lang-item.is-active,
.rl-section .header-lang-item.is-active {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
}

.rl-dashboard .header-lang-item .material-symbols-outlined,
.rl-section .header-lang-item .material-symbols-outlined {
  font-size: 18px;
  color: #2563eb;
}

.rl-dashboard .header-menu-item .material-symbols-outlined,
.rl-section .header-menu-item .material-symbols-outlined {
  font-size: 20px;
  color: #64748b;
}

.rl-dashboard .header-menu-item:active,
.rl-dashboard .header-menu-item.dropdown-item:active,
.rl-section .header-menu-item:active,
.rl-section .header-menu-item.dropdown-item:active {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.rl-dashboard .header-menu-item.is-danger,
.rl-section .header-menu-item.is-danger {
  color: #dc2626 !important;
}

.rl-dashboard .header-menu-item.is-danger .material-symbols-outlined,
.rl-section .header-menu-item.is-danger .material-symbols-outlined {
  color: #ef4444;
}

.rl-dashboard .header-menu-item.is-danger:hover,
.rl-dashboard .header-menu-item.is-danger:active,
.rl-dashboard .header-menu-item.is-danger.dropdown-item:active,
.rl-section .header-menu-item.is-danger:hover,
.rl-section .header-menu-item.is-danger:active,
.rl-section .header-menu-item.is-danger.dropdown-item:active {
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.rl-dashboard .card-menu,
.rl-section .card-menu {
  min-width: 180px;
  width: max-content;
  max-width: 260px;
  padding: 6px !important;
}

.rl-dashboard .card-menu .header-dropdown-body,
.rl-section .card-menu .header-dropdown-body {
  padding: 2px;
}

.rl-dashboard .header-dropdown-profile,
.rl-section .header-dropdown-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #eef2f7;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.rl-dashboard .header-dropdown-profile .header-avatar,
.rl-section .header-dropdown-profile .header-avatar {
  width: 42px;
  height: 42px;
  font-size: 0.8rem;
}

.rl-dashboard .header-dropdown-profile-text,
.rl-section .header-dropdown-profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rl-dashboard .header-dropdown-welcome,
.rl-section .header-dropdown-welcome {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

.rl-dashboard .header-dropdown-username,
.rl-section .header-dropdown-username {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— Main section —— */
.rl-dashboard .main-section-style-rl {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  padding: 8px var(--rl-page-gutter) 24px;
  min-height: 0;
}

.rl-dashboard .user-section-style {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 12px 0 8px;
}

.rl-dashboard .label-user-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.rl-dashboard .user-enebled-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rl-dashboard .title-welcome-text {
  font-size: 1.65rem;
  font-weight: 500;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.rl-dashboard .desc-welcome-text {
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.rl-dashboard .welcome-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rl-dashboard .welcome-actions > li {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

.rl-dashboard .welcome-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e8ebf0;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  text-decoration: none;
}

.rl-dashboard .welcome-filter-btn:hover {
  background: #f1f5f9;
  color: var(--rl-ink);
}

.rl-dashboard .add-board-button {
  flex-shrink: 0;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  background-color: var(--rl-blue);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(12, 106, 244, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.rl-dashboard .add-board-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(12, 106, 244, 0.42);
  color: #fff !important;
}

.rl-dashboard .switch-button-box {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  width: fit-content;
  background: #fff;
  border: 1px solid #e8ebf0;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.rl-dashboard .switch-tab,
.rl-dashboard .switch-button-box .switch,
.rl-dashboard .switch-button-box .activeBoard {
  border: none;
  background: transparent;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rl-dashboard .switch-tab:hover:not(.is-active),
.rl-dashboard .switch-button-box .switch:hover {
  background: #f8fafc;
}

.rl-dashboard .switch-tab.is-active,
.rl-dashboard .switch-button-box .activeBoard {
  background: var(--rl-blue);
  color: #fff;
  font-weight: 500;
}

/* —— Cards —— */
.rl-dashboard .creating-card-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  padding: 10px 0 16px;
  align-content: start;
  min-height: 0;
}

.rl-dashboard .card-label-container {
  background-color: white;
  box-shadow: 0 8px 28px rgba(100, 100, 111, 0.12);
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem 1.15rem;
  gap: 0;
}

.rl-dashboard .top-card-style {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 1px solid #eef0f5;
  padding-bottom: 16px;
}

.rl-dashboard .card-owner-top {
  padding-left: 2px;
}

.rl-dashboard .board-card-desc {
  margin: 0;
  padding-left: 2px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rl-dashboard .icon-box {
  width: 42px;
  height: 42px;
  background-color: #eaf2fd;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.rl-dashboard .icon-box .material-symbols-outlined {
  font-size: 22px;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.rl-dashboard .icon-box.labelp-2-icon {
  background-color: #e2f8ea;
  color: #59c187;
}

.rl-dashboard .more-vert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.rl-dashboard .more-vert-btn:hover {
  background: #f1f5f9;
  color: var(--rl-ink);
}

.rl-dashboard .more-vert-icon {
  font-size: 22px;
}

.rl-dashboard .label-inner-1 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rl-dashboard .card-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.rl-dashboard .title-main-create {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0;
}

.rl-dashboard .title-main-create p {
  margin: 0;
}

.rl-dashboard .assignment-topic-style {
  background-color: #e3effd;
  padding: 5px 12px;
  border-radius: 999px;
  max-width: max-content;
  font-size: 0.75rem;
  color: #3b82f6;
  font-weight: 500;
}

.rl-dashboard .assignment-topic-style.assignment-2-style {
  background-color: #e2f8ea;
  color: #59c187;
}

.rl-dashboard .label-2-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.rl-dashboard .label-2-content .title-main-create {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rl-dashboard .bottom-card-style {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rl-dashboard .assignment-date-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  padding: 4px 0 0;
}

.rl-dashboard .assignment-label-box,
.rl-dashboard .date-label-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rl-dashboard .assignment-label-box {
  padding-right: 16px;
  border-right: 1px solid #eef0f5;
}

.rl-dashboard .date-label-box {
  padding-left: 16px;
}

.rl-dashboard .meta-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: #94a3b8;
  margin: 0;
}

.rl-dashboard .meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
}

.rl-dashboard .meta-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.rl-dashboard .date-icon {
  font-size: 18px;
  color: #8b5cf6;
}

.rl-dashboard .total-card-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 4px 0 0;
}

.rl-dashboard .stat-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #f4f6fb;
}

.rl-dashboard .stat-sections {
  background: #f0f5fd;
}

.rl-dashboard .stat-cards {
  background: #f4f2fb;
}

.rl-dashboard .stat-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rl-dashboard .stat-sections .stat-icon-box {
  background: #dbeafe;
  color: #3b82f6;
}

.rl-dashboard .stat-cards .stat-icon-box {
  background: #ede9fe;
  color: #8b5cf6;
}

.rl-dashboard .stat-icon-box .material-symbols-outlined {
  font-size: 20px;
}

.rl-dashboard .stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rl-dashboard .stat-number {
  font-size: 1.35rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.1;
}

.rl-dashboard .card-created-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
}

.rl-dashboard .card-created-on .material-symbols-outlined {
  font-size: 16px;
  color: #3b82f6;
}

.rl-dashboard .card-created-on-label {
  color: #94a3b8;
}

.rl-dashboard .card-created-on-value {
  color: #334155;
  font-weight: 600;
}

.rl-dashboard .owner-and-view-section {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
}

.rl-dashboard .card-owner-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.rl-dashboard .owner-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rl-dashboard .owner-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dbeafe;
  color: #0c6af4;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden;
}

.rl-dashboard .owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rl-dashboard .owner-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.rl-dashboard .owner-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-dashboard .owner-role {
  font-size: 0.75rem;
  color: #94a3b8;
}

.rl-dashboard .view-board-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1.5px solid var(--rl-blue);
  border-radius: 999px;
  color: var(--rl-blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rl-dashboard .view-board-btn .material-symbols-outlined {
  font-size: 18px;
}

.rl-dashboard .view-board-btn:hover {
  background: #eff6ff;
  color: var(--rl-blue);
}

.rl-dashboard .dashboard-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: var(--rl-ink);
}

.rl-dashboard .dashboard-empty h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--rl-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .rl-dashboard .header-username {
    display: none;
  }

  .rl-dashboard .header-search {
    max-width: none;
  }

  .rl-dashboard .creating-card-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rl-dashboard .header-style-rl {
    flex-wrap: wrap;
    gap: 12px;
  }

  .rl-dashboard .header-search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  .rl-dashboard .header-search-kbd {
    display: none;
  }

  .rl-dashboard .assignment-date-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rl-dashboard .assignment-label-box {
    padding-right: 0;
    border-right: none;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef0f5;
  }

  .rl-dashboard .date-label-box {
    padding-left: 0;
  }

  .rl-dashboard .total-card-section {
    grid-template-columns: 1fr;
  }

  .rl-dashboard .owner-and-view-section {
    flex-wrap: wrap;
  }

  .rl-dashboard .label-user-welcome {
    flex-direction: column;
    align-items: stretch;
  }
}
