/* ================================
   DASHBOARD PAGE
================================ */

.dashboard-page {
  min-height: 100vh;
  padding: 2.5rem 6%;
  /* background: #f7fafc; */
  color: #0b1f3a;
}

/* ================================
   HERO
================================ */

.dashboard-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

.dashboard-eyebrow,
.dashboard-mini-label {
  display: inline-block;
  color: #1ca7a3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero h1 {
  margin: 0.5rem 0 1rem;
  color: #0a2d64;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.dashboard-hero p {
  max-width: 720px;
  color: #42526e;
  font-size: 1.08rem;
  line-height: 1.7;
}

.dashboard-hero-card {
  padding: 2rem;
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(10, 45, 100, 0.96),
      rgba(28, 167, 163, 0.9)
    );
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(10, 45, 100, 0.16);
}

.dashboard-hero-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero-card h2 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1.15;
}

.dashboard-hero-card p {
  margin: 0;
  color: rgba(255,255,255,0.88);
}

/* ================================
   SECTIONS
================================ */

.dashboard-section {
  margin-bottom: 3.5rem;
}

.dashboard-section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-section-header h2 {
  margin: 0;
  color: #0a2d64;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.dashboard-section-header p {
  margin: 0.5rem 0 0;
  color: #64748b;
  line-height: 1.6;
}

.dashboard-view-all {
  color: #0a2d64;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-view-all:hover {
  text-decoration: underline;
}

/* ================================
   NEXT STEPS
================================ */

.dashboard-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.dashboard-next-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 1.6rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(10, 45, 100, 0.08);
  box-shadow: 0 14px 40px rgba(10, 45, 100, 0.05);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-next-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(10, 45, 100, 0.09);
}

.dashboard-next-card--primary {
  background: #0a2d64;
}

.dashboard-next-card--primary h3,
.dashboard-next-card--primary p,
.dashboard-next-card--primary .dashboard-card-action {
  color: #ffffff;
}

.dashboard-next-card h3 {
  margin: 0.85rem 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.dashboard-next-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.98rem;
}

.dashboard-card-action {
  margin-top: 2rem;
  color: #1ca7a3;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ================================
   BLOGS
================================ */

.recent-blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.recent-blog-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(10, 45, 100, 0.08);
  box-shadow: 0 14px 40px rgba(10, 45, 100, 0.05);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.recent-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(10, 45, 100, 0.09);
}

.recent-blog-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.recent-blog-body {
  padding: 1.4rem;
}

.recent-blog-category {
  margin: 0 0 0.7rem;
  color: #1ca7a3;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recent-blog-title {
  margin: 0 0 0.8rem;
  color: #0a2d64;
  font-size: 1.2rem;
  line-height: 1.35;
}

.recent-blog-summary {
  margin: 0;
  color: #42526e;
  line-height: 1.7;
  font-size: 0.95rem;
}

.recent-blogs-empty {
  color: #64748b;
}

/* ================================
   MOBILE QUICK ACCESS
================================ */

.dashboard-mobile-quick-access {
  display: none;
}

.dashboard-quick-grid {
  display: grid;
  gap: 0.85rem;
}

.dashboard-quick-link {
  padding: 1rem;
  border-radius: 18px;
  background: #ffffff;
  color: #0a2d64;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(10, 45, 100, 0.06);
  border: 1px solid rgba(10, 45, 100, 0.08);
}

.dashboard-quick-link:hover {
    color: #0a2d64;
}

/* Add to your existing mobile section */
@media (max-width: 700px) {
  .dashboard-mobile-quick-access {
    display: block;
    margin-bottom: 2.5rem;
  }

  .dashboard-quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-quick-link {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .dashboard-quick-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-quick-link {
    min-height: 56px;
  }
}

/* ================================
   TABLET
================================ */

@media (max-width: 1100px) {
    .left-sidebar {
        display: none;
    }
    .main-view-container {
        margin: 0;
        gap: 2rem;
    }

  .dashboard-hero {
    grid-template-columns: 1fr;
  }

  .dashboard-next-grid,
  .recent-blogs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 700px) {

  .dashboard-page {
    padding: 2rem 1.25rem;
  }

  .dashboard-hero {
    gap: 1.5rem;
  }

  .dashboard-hero-card {
    padding: 1.6rem;
    border-radius: 24px;
  }

  .dashboard-hero h1 {
    font-size: 2.7rem;
  }

  .dashboard-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-next-grid,
  .recent-blogs-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-next-card {
    min-height: auto;
  }

  .recent-blog-img {
    height: 180px;
  }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 390px) {

  .dashboard-page {
    padding: 1.5rem 1rem;
  }

  .dashboard-hero h1 {
    font-size: 2.35rem;
    text-wrap: balance;
  }

  .dashboard-hero-card h2 {
    font-size: 1.7rem;
  }

  .dashboard-next-card,
  .recent-blog-card {
    border-radius: 24px;
  }

  .recent-blog-img {
    height: 300px;
  }
}



