.seller-dashboard-wrap {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
}

.seller-dashboard-sidebar,
.dashboard-panel,
.seller-dashboard-hero,
.dashboard-stat-card {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(31, 78, 61, .08);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(31, 78, 61, .10), 0 1px 0 rgba(255,255,255,.95) inset;
}

.seller-dashboard-sidebar {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
  position: sticky;
  top: 110px;
}

.seller-dashboard-profile {
  align-items: center;
  border-bottom: 1px solid var(--thayu-border);
  display: grid;
  gap: 6px;
  justify-items: center;
  padding-bottom: 16px;
  text-align: center;
}

.seller-dashboard-profile img {
  border: 4px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(31, 78, 61, .16);
}

.seller-dashboard-profile strong {
  color: #10251d;
  font-size: 18px;
  line-height: 1.1;
}

.seller-dashboard-profile span {
  color: var(--thayu-muted);
  font-size: 13px;
  font-weight: 800;
}

.seller-dashboard-sidebar nav {
  display: grid;
  gap: 6px;
}

.seller-dashboard-sidebar nav a {
  border-radius: 16px;
  color: #10251d;
  font-weight: 900;
  padding: 11px 12px;
}

.seller-dashboard-sidebar nav a:hover,
.seller-dashboard-sidebar nav a.active {
  background: rgba(31, 78, 61, .08);
  color: var(--thayu-green);
}

.seller-dashboard-main {
  display: grid;
  gap: 20px;
}

.seller-dashboard-hero {
  align-items: center;
  background: radial-gradient(circle at right, rgba(247, 195, 95, .24), transparent 30%), linear-gradient(135deg, var(--thayu-green), var(--thayu-green-2));
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
}

.seller-dashboard-hero.compact-hero {
  padding: 24px;
}

.seller-dashboard-hero span {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 10px;
  padding: 6px 10px;
}

.seller-dashboard-hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1;
  margin: 0;
}

.seller-dashboard-hero p {
  color: rgba(255,255,255,.82);
  font-weight: 700;
  margin: 10px 0 0;
  max-width: 620px;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-stat-card {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.dashboard-stat-card span {
  color: var(--thayu-muted);
  font-size: 13px;
  font-weight: 900;
}

.dashboard-stat-card strong {
  color: var(--thayu-green);
  font-size: 32px;
  line-height: 1;
}

.dashboard-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dashboard-panel {
  padding: 20px;
}

.dashboard-panel-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.dashboard-panel-heading h2 {
  color: #10251d;
  font-size: 22px;
  margin: 0;
}

.dashboard-panel-heading span {
  background: rgba(31, 78, 61, .08);
  border-radius: 999px;
  color: var(--thayu-green);
  font-weight: 900;
  padding: 6px 10px;
}

.dashboard-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-action-grid a {
  background: var(--thayu-soft);
  border: 1px solid var(--thayu-border);
  border-radius: 18px;
  color: #10251d;
  font-weight: 900;
  padding: 14px;
}

.dashboard-action-grid a:hover {
  border-color: rgba(31, 78, 61, .22);
  color: var(--thayu-green);
}

.premium-panel {
  background: linear-gradient(135deg, rgba(247, 195, 95, .22), rgba(255,255,255,.96));
}

.premium-panel p {
  color: #26322d;
  font-weight: 700;
  margin: 0 0 12px;
}

.premium-panel strong {
  color: var(--thayu-green);
  display: block;
  font-size: 24px;
  margin-bottom: 14px;
}

.profile-progress {
  background: var(--thayu-soft);
  border-radius: 999px;
  height: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.profile-progress span {
  background: linear-gradient(135deg, var(--thayu-green), var(--thayu-green-2));
  border-radius: inherit;
  display: block;
  height: 100%;
}

.dashboard-checklist,
.dashboard-activity-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dashboard-checklist li,
.dashboard-activity-list li {
  color: #26322d;
  font-weight: 800;
}

.my-posts-table-wrap {
  overflow-x: auto;
}

.my-posts-table {
  border-collapse: collapse;
  min-width: 840px;
  width: 100%;
}

.my-posts-table th,
.my-posts-table td {
  border-bottom: 1px solid var(--thayu-border);
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
}

.my-posts-table th {
  color: var(--thayu-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.my-post-cell {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 260px;
}

.my-post-thumb {
  background: var(--thayu-soft);
  border-radius: 14px;
  flex: 0 0 64px;
  height: 64px;
  overflow: hidden;
  width: 64px;
}

.my-post-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.my-post-thumb span {
  color: var(--thayu-green);
  display: grid;
  font-weight: 900;
  height: 100%;
  place-items: center;
}

.my-post-cell strong {
  color: #10251d;
  display: block;
  font-weight: 900;
  line-height: 1.2;
}

.my-post-cell span {
  color: var(--thayu-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.status-publish {
  background: rgba(31, 78, 61, .1);
  color: var(--thayu-green);
}

.status-pending {
  background: rgba(247, 195, 95, .22);
  color: #8a5a00;
}

.status-draft {
  background: rgba(109, 122, 116, .12);
  color: var(--thayu-muted);
}

.my-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.my-post-actions a {
  background: var(--thayu-soft);
  border: 1px solid var(--thayu-border);
  border-radius: 999px;
  color: var(--thayu-green);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.my-post-actions a:hover {
  border-color: rgba(31, 78, 61, .22);
  background: #ffffff;
}

.milestone-score {
  align-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  display: grid;
  min-width: 150px;
  padding: 18px;
  text-align: center;
}

.milestone-score strong {
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
}

.milestone-score span {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .82);
  margin: 6px 0 0;
  padding: 0;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.milestone-card {
  display: grid;
  align-content: start;
}

.milestone-list {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.milestone-list li {
  align-items: center;
  border: 1px solid var(--thayu-border);
  border-radius: 14px;
  color: #26322d;
  display: flex;
  font-weight: 800;
  gap: 9px;
  padding: 10px 12px;
}

.milestone-list li.done {
  background: #f1f8f4;
  border-color: rgba(25, 135, 84, .16);
}

.milestone-list li.done span {
  color: var(--thayu-green);
}

.milestone-list li.pending {
  background: #ffffff;
  color: var(--thayu-muted);
}

.milestone-list li.pending span {
  color: var(--thayu-muted);
}

.milestone-overview-panel {
  background: linear-gradient(135deg, #ffffff, #f1f8f4);
}

@media (max-width: 980px) {
  .seller-dashboard-wrap {
    grid-template-columns: 1fr;
  }

  .seller-dashboard-sidebar {
    position: static;
  }

  .seller-dashboard-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-stats-grid,
  .milestone-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .seller-dashboard-hero,
  .dashboard-two-column {
    grid-template-columns: 1fr;
  }

  .seller-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-dashboard-sidebar nav,
  .dashboard-stats-grid,
  .dashboard-action-grid,
  .milestone-grid {
    grid-template-columns: 1fr;
  }

  .milestone-score {
    width: 100%;
  }

  .my-posts-table,
  .my-posts-table thead,
  .my-posts-table tbody,
  .my-posts-table th,
  .my-posts-table td,
  .my-posts-table tr {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .my-posts-table thead {
    display: none;
  }

  .my-posts-table tr {
    border: 1px solid var(--thayu-border);
    border-radius: 18px;
    margin-bottom: 12px;
    padding: 10px;
  }

  .my-posts-table td {
    border-bottom: 0;
    display: grid;
    gap: 6px;
    padding: 8px;
  }

  .my-posts-table td::before {
    color: var(--thayu-muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
}
