/* ============================================================
   WIDGETS.CSS
   Reusable UI components shared across all pages.
   Base card, page headers, placeholders, utility classes.
   ============================================================ */


/* ——————————————————————————————————————————————————————————
   BASE CARD — Used for all widget containers
   —————————————————————————————————————————————————————————— */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-card);
}

.card-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.card-link {
  display: inline-block;
  font-size: 11px;
  color: var(--rose);
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  margin-top: 14px;
  transition: opacity 0.15s ease;
}
.card-link:hover { opacity: 0.65; }


/* ——————————————————————————————————————————————————————————
   PAGE HEADER — Used at the top of each content page
   —————————————————————————————————————————————————————————— */
.page-header {
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(231,207,207,0.22);
}

.page-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}


/* ——————————————————————————————————————————————————————————
   PLACEHOLDER — Coming Soon state for future pages
   —————————————————————————————————————————————————————————— */
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  text-align: center;
}

.placeholder-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(231,207,207,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.placeholder-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.placeholder-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 380px;
}

.coming-soon-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 16px;
  background: rgba(231,207,207,0.32);
  border-radius: 50px;
  font-size: 10.5px;
  color: var(--rose);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}


/* ——————————————————————————————————————————————————————————
   UTILITY CLASSES
   —————————————————————————————————————————————————————————— */

/* Flex row: space between, vertically centered */
.between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Small muted label — used for dates, secondary info */
.muted-sm {
  font-size: 11px;
  color: var(--text-muted);
}

/* Thin horizontal divider */
.divider {
  border: none;
  border-top: 1px solid rgba(231,207,207,0.22);
  margin: 16px 0;
}
