/* ---------- My Prep ---------- */
.muted-sub {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.myprep-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 24px;
}

@media (max-width: 1100px) {
  .myprep-layout {
    grid-template-columns: 1fr;
  }
}

/* Left insights grid: 2x2 */
.insights {
  height: 70vh;
  overflow-y: scroll;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 820px) {
  .insights {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(50, 50, 93, 0.07);
  overflow: hidden;
}

.insight-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f2f6;
}

.insight-head h3 {
  margin: 0;
  font-size: 16px;
}

.insight-list {
  list-style: none;
  margin: 0;
  padding: 8px 16px 14px;
}

.insight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px;
}

.insight-item .bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b7280;
  flex: 0 0 6px;
}

.insight-item .ti {
  font-weight: 400;
  font-size: 12px;
  color: #222222;
}

.insight-empty {
  color: var(--muted);
  padding: 10px 2px;
  font-size: 12px;
}

.sep {
  height: 1px;
  background: #eef2f7;
  margin: 0 2px;
}

/* Status dots in headings */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green {
  background: #28c76f;
}

.dot-orange {
  background: #ff9f43;
}

.dot-violet {
  background: #a78bfa;
}

.dot-navy {
  background: #1f2a44;
}

/* Right quick links panel */
.quick-panel {
  align-self: start;
  background: transparent;
}

.quick-title {
  margin: 6px 0 12px 0;
  font-size: 14px;
  color: #000;
  font-weight: 550;
}

.header-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
}

.back-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #eeeeee;
  display: grid;
  place-items: center;
  cursor: pointer;
}

h1 {
  font-size: 22px;
  margin: 0;
}

.quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 10px;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06);
}

.quick-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-ico {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #fff0;
  font-size: 18px;
}

.quick-text {
  font-weight: 500;
  font-size: 14px;
  color: #5b5b5b;
}

.quick-arrow {
  opacity: 0.85;
}

.my-prep-card-title {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #5b5b5b;
}

.sub-section-title-1 {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
}

.insights-overlay-wrapper {
  position: relative;
}


.insights-overlay-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  /* 40% black */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* Safari support */
  z-index: 2;
  border-radius: 12px;
}

/* Centered overlay content */
.overlay-content {
  position: absolute;
  inset: 0;
  top: 20%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 1rem;
  pointer-events: none;
  /* scroll behind */
}

/* Heading */
.overlay-content h2,
.overlay-content h3 {
  font-weight: 700;
}

/* Images */
.img-2 {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.img-3 {
  max-width: 150px;
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* Tablet */
@media (max-width: 768px) {
  .insights-overlay-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* 40% black */
    z-index: 2;
    border-radius: 12px;
  }

  /* Centered overlay content */
  .overlay-content {
    position: absolute;
    inset: 0;
    top: 20%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 1rem;
    pointer-events: none;
    /* scroll behind */
  }
}

/* Mobile */
/* @media (max-width: 576px) {
  .img-2 {
    max-width: 200px;
  }

  .img-3 {
    max-width: 120px;
  }

  .overlay-content h3 {
    font-size: 1.1rem;
  }
} */