/* ── NGÀY TỐT INDEX — specific styles ── */
.tv-widget-h1 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 2px; line-height: 1.35; }
.tv-page-h1 { font-size: 22px; font-weight: 800; color: var(--c-text); margin: 0 0 14px; line-height: 1.3; }
.nt-today-wrap { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; padding: 8px; border-top: 1px solid var(--c-border); font-size: 13px; }
.nt-disclaimer { font-size: 12px; color: var(--c-text2); margin-top: 16px; padding: 10px 12px; background: #f8f9fa; border-left: 3px solid var(--c-border); border-radius: 4px; }

/* Quick "xem hôm nay" link */
.nt-today-link {
  font-size: 13px; color: var(--c-primary-dk); text-decoration: none;
  font-weight: 600; transition: color .15s;
}
.nt-today-link:hover { color: var(--c-primary); }

/* ── CATEGORY GRID — 9 loại việc ── */
.nt-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.nt-cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--c-surface); border: 1.5px solid var(--c-border);
  border-radius: var(--r-md); padding: 16px 14px;
  position: relative; cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.nt-cat-card:hover {
  border-color: var(--c-primary);
  box-shadow: 0 6px 20px rgba(10,140,92,.12);
  transform: translateY(-2px);
}
.nt-cat-ico  { font-size: 26px; margin-bottom: 9px; line-height: 1; }
.nt-cat-name { font-size: 13px; font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.nt-cat-desc { font-size: 12px; color: var(--c-text2); line-height: 1.5; flex: 1; }
.nt-cat-cta  { font-size: 11px; color: var(--c-primary-dk); font-weight: 700; margin-top: 9px; }

/* Card color variants */
.nt-cat-card.c-red   { border-color: #fca5a5; background: #fff5f5; }
.nt-cat-card.c-red:hover { border-color: #ef4444; box-shadow: 0 6px 20px rgba(239,68,68,.12); }
.nt-cat-card.c-amber { border-color: #fcd34d; background: #fffbeb; }
.nt-cat-card.c-amber:hover { border-color: var(--c-gold); box-shadow: 0 6px 20px rgba(201,146,42,.14); }
.nt-cat-card.c-blue  { border-color: #93c5fd; background: var(--c-blue-lt); }
.nt-cat-card.c-blue:hover { border-color: var(--c-blue); box-shadow: 0 6px 20px rgba(34,85,212,.12); }
.nt-cat-card.c-green { border-color: var(--c-primary); background: var(--c-primary-lt); }
.nt-cat-card.c-green:hover { border-color: var(--c-primary-dk); box-shadow: 0 6px 20px rgba(10,140,92,.14); }

/* ── PROMO BANNER — dark green ── */
.nt-promo {
  background: linear-gradient(140deg, #042918 0%, #076644 60%, #0a8c5c 100%);
  border-radius: var(--r-lg); padding: 22px 22px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
}
.nt-promo::before {
  content: '⏰'; font-size: 120px;
  position: absolute; right: -10px; top: -24px;
  opacity: .08; pointer-events: none; line-height: 1;
}
.nt-promo-ico   { font-size: 40px; flex-shrink: 0; }
.nt-promo-body  { flex: 1; }
.nt-promo-title { font-size: 15px; font-weight: 800; color: #a8f0d0; margin-bottom: 4px; }
.nt-promo-desc  { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.65; margin-bottom: 12px; }
.nt-promo-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.18); color: #fff;
  border: 1.5px solid rgba(255,255,255,.40);
  padding: 8px 18px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: background .15s;
}
.nt-promo-link:hover { background: rgba(255,255,255,.30); color: #fff; }

/* ── RESPONSIVE — index ── */
@media (max-width: 900px) {
  .nt-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .nt-promo    { flex-direction: column; gap: 12px; }
}
@media (max-width: 400px) {
  .nt-cat-grid { grid-template-columns: 1fr; }
}

/* ── NGÀY TỐT KÝ HỢP ĐỒNG — page-specific ── */
.nt-hero {
  background: linear-gradient(135deg, #0c1a2e 0%, #1e40af 55%, #3b82f6 100%);
  border-radius: var(--r-lg); padding: 24px 22px; margin-bottom: 4px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 18px;
}
.nt-hero::before {
  content: '📋'; font-size: 130px;
  position: absolute; right: -12px; top: -18px;
  opacity: .07; pointer-events: none; line-height: 1;
}
.nt-hero-ico  { font-size: 44px; flex-shrink: 0; }
.nt-hero-body { flex: 1; min-width: 0; }
.nt-hero-title { font-size: 17px; font-weight: 800; color: #bfdbfe; margin-bottom: 5px; line-height: 1.35; }
.nt-hero-desc  { font-size: 13px; color: rgba(255,255,255,.84); line-height: 1.6; }

.nt-month-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nt-month-label { font-size: 13px; font-weight: 600; color: var(--c-text2); white-space: nowrap; }
.nt-month-select {
  flex: 1; min-width: 120px;
  padding: 8px 10px; border-radius: var(--r-md);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface); color: var(--c-text);
  font-size: 13px; cursor: pointer;
}
.nt-month-select:focus { border-color: var(--c-primary); outline: none; }
.nt-month-btn {
  padding: 9px 18px; border-radius: var(--r-md);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 3px 10px rgba(37,99,235,.30);
  transition: opacity .15s; white-space: nowrap;
}
.nt-month-btn:hover { opacity: .88; }

.nt-wip {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px dashed #93c5fd;
  border-radius: var(--r-lg); padding: 32px 20px;
  text-align: center;
}
.nt-wip-ico   { font-size: 42px; margin-bottom: 12px; }
.nt-wip-title { font-size: 15px; font-weight: 700; color: #1e3a8a; margin-bottom: 8px; }
.nt-wip-desc  { font-size: 13px; color: var(--c-text2); line-height: 1.65; }

.nt-rules { list-style: none; padding: 0; margin: 0; }
.nt-rules li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--c-border);
  font-size: 13px; line-height: 1.6;
}
.nt-rules li:last-child { border-bottom: none; padding-bottom: 0; }
.nt-rules-ico { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.nt-month-pills { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 14px 6px; }
.nt-month-pill {
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--c-primary-lt); color: var(--c-primary-dk);
  font-size: 12px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(7,102,68,.18);
  transition: background .15s, color .15s;
}
.nt-month-pill:hover, .nt-month-pill.active { background: var(--c-primary); color: #fff; }

/* ── RESPONSIVE — ky-hop-dong ── */
@media (max-width: 700px) {
  .nt-hero { flex-direction: column; align-items: flex-start; gap: 10px; }
  .nt-month-nav { flex-direction: column; align-items: stretch; }
}
