/* lifestyle.css — Lifestyle tab. Uses same tokens as theme.css. */

/* ==================== GRID ==================== */
.life-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

/* ==================== CARD ==================== */
.life-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s;
}

.life-card:hover {
  border-color: rgba(232, 168, 56, 0.3);
}

/* ==================== CARD HEADER ==================== */
.life-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.life-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 168, 56, 0.08);
  border: 1px solid rgba(232, 168, 56, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.life-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0;
}

/* ==================== RESOURCE LIST ==================== */
.life-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.life-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==================== LINK ==================== */
.life-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s;
  padding: 6px 0;
}

.life-link:hover .life-link-name {
  color: var(--accent-dark);
}

.life-link-name {
  transition: color 0.15s;
}

.life-link-arrow {
  color: var(--fg-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.life-link:hover .life-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

/* ==================== DESCRIPTION ==================== */
.life-desc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin: 0;
  padding-left: 0;
}

/* ==================== HOUSING CARD SECTIONS ==================== */
.housing-section {
  margin-bottom: 28px;
}

.housing-section:last-child {
  margin-bottom: 0;
}

.housing-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 168, 56, 0.15);
}

/* Steps */
.housing-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.housing-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.housing-step:last-child {
  border-bottom: none;
}

.housing-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(232, 168, 56, 0.12);
  border: 1px solid rgba(232, 168, 56, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 2px;
}

.housing-step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.housing-step-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  line-height: 1.4;
}

.housing-step-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

/* Tips */
.housing-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.housing-tip {
  background: rgba(232, 168, 56, 0.04);
  border: 1px solid rgba(232, 168, 56, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
}

.housing-tip-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 5px 0;
}

.housing-tip-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

/* Fair housing link variant */
.life-link--fair .life-link-name {
  font-size: 0.85rem;
  font-weight: 500;
}

.housing-fair-intro {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

/* Partner badge */
.housing-partner {
  margin-top: 8px;
  padding: 20px;
  background: var(--bg-dark);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.housing-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(232, 168, 56, 0.35);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.housing-partner-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px 0;
}

.housing-partner-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.housing-partner-cta {
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* ==================== EMPLOYMENT CARD ==================== */
.emp-section {
  margin-bottom: 28px;
}

.emp-section:last-child {
  margin-bottom: 0;
}

.emp-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 168, 56, 0.15);
}

.emp-intro {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

/* Employer directory */
.emp-employers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.emp-employer-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.emp-employer-name {
  font-size: 0.83rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.emp-employer-roles {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.45;
}

.emp-employer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 4px;
  transition: opacity 0.15s;
}

.emp-employer-link:hover {
  opacity: 0.75;
}

/* Resume tips */
.emp-tips {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.emp-tip {
  background: rgba(232, 168, 56, 0.04);
  border: 1px solid rgba(232, 168, 56, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
}

.emp-tip-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 5px 0;
}

.emp-tip-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

.emp-resume-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emp-resume-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid rgba(232, 168, 56, 0.15);
  transition: color 0.15s;
}

.emp-resume-link:hover {
  color: var(--accent);
}

/* WOTC explainer */
.emp-wtc {
  margin: 8px 0 0;
  padding: 18px 20px;
  background: rgba(232, 168, 56, 0.05);
  border: 1px solid rgba(232, 168, 56, 0.15);
  border-radius: 10px;
}

.emp-wtc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.emp-wtc-body {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.emp-wtc-amounts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.emp-wtc-tier {
  flex: 1;
  min-width: 80px;
  padding: 10px 12px;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  text-align: center;
}

.emp-wtc-tier-pct {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-dark);
  margin: 0 0 3px 0;
  line-height: 1;
}

.emp-wtc-tier-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  line-height: 1.4;
}

.emp-wtc-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.emp-wtc-link {
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 500;
  text-decoration: none;
}

.emp-wtc-link:hover {
  text-decoration: underline;
}

/* ==================== EXPUNGEMENT CARD ==================== */
.exp-section {
  margin-bottom: 28px;
}

.exp-section:last-child {
  margin-bottom: 0;
}

.exp-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(232, 168, 56, 0.15);
}

.exp-body {
  font-size: 0.83rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin: 0;
}

/* Org list */
.exp-org-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-org-item {
  padding: 12px 14px;
  background: rgba(232, 168, 56, 0.04);
  border: 1px solid rgba(232, 168, 56, 0.1);
  border-radius: 8px;
}

.exp-org-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 4px 0;
}

.exp-org-desc {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.55;
}

/* Rights grid */
.exp-rights-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 14px;
}

.exp-right-card {
  padding: 14px 16px;
  background: rgba(232, 168, 56, 0.04);
  border: 1px solid rgba(232, 168, 56, 0.1);
  border-radius: 8px;
}

.exp-right-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 6px 0;
}

.exp-right-body {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin: 0;
  line-height: 1.6;
}

.exp-rights-links {
  margin-top: 6px;
}

/* ==================== DISCLAIMER ==================== */
.life-disclaimer {
  font-size: 0.78rem;
  color: var(--fg-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin: 0;
}

/* ==================== ID & DOCUMENTS ==================== */

/* Intro banner */
.id-docs-intro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  border: 1px solid rgba(232, 168, 56, 0.35);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.id-docs-intro-text {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.6;
  margin: 0 0 24px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* Checklist section */
.id-docs-section {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.id-docs-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.id-docs-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.id-docs-section-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(232, 168, 56, 0.08);
  border: 1px solid rgba(232, 168, 56, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.id-docs-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  margin: 0;
}

/* Checklist */
.id-docs-checklist {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.id-docs-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Checkbox label */
.id-docs-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}

.id-docs-label:hover {
  background: rgba(232, 168, 56, 0.04);
}

.id-docs-checkbox {
  display: none;
}

.id-docs-checkmark {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid rgba(232, 168, 56, 0.4);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.15s, border-color 0.15s;
  color: transparent;
}

.id-docs-checkbox:checked + .id-docs-checkmark {
  background: rgba(232, 168, 56, 0.15);
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.id-docs-item-text {
  font-size: 0.83rem;
  color: var(--fg);
  line-height: 1.45;
  transition: color 0.15s;
}

.id-docs-checkbox:checked ~ .id-docs-item-text {
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 168, 56, 0.4);
}

/* After checkbox sibling — need to target via JS; use .checked class */
.id-docs-label.checked .id-docs-item-text {
  color: var(--fg-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(232, 168, 56, 0.4);
}

.id-docs-label.checked .id-docs-checkmark {
  background: rgba(232, 168, 56, 0.15);
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

/* Tip text */
.id-docs-tip {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 6px 30px;
  padding-left: 10px;
  border-left: 2px solid rgba(232, 168, 56, 0.15);
}

/* Fee note */
.id-docs-fee-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin: 12px 0 0 0;
  padding: 10px 12px;
  background: rgba(232, 168, 56, 0.04);
  border: 1px solid rgba(232, 168, 56, 0.1);
  border-radius: 6px;
  line-height: 1.5;
}

.id-docs-fee-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent-dark);
}

/* Resource links */
.id-docs-links {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.id-docs-link {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid rgba(232, 168, 56, 0.12);
  line-height: 1.4;
  transition: color 0.15s;
}

.id-docs-link:hover {
  color: var(--accent);
}

.id-docs-link svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-dark);
  opacity: 0.7;
}

.id-docs-link-name {
  font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 640px) {
  .life-grid {
    grid-template-columns: 1fr;
  }
  .dash-container { padding: 32px 16px 60px; }
}