/* ============================
   HOME PAGE STYLES
   ============================ */

/* LAYOUT */
.container {
  display: flex;
  min-height: calc(100vh - 60px);
}

/* LEFT SIDEBAR */
.left-panel {
  width: 290px;
  flex-shrink: 0;
  padding: 24px;
  background-color: var(--bg-card);
  border-right: 1px solid var(--border-light);
  overflow-y: auto;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.profile-section h2 {
  font-size: 18px;
  color: var(--maroon);
}

/* ONBOARDING (first visit) */
.onboarding h2 {
  font-size: 18px;
  color: var(--maroon);
  margin-bottom: 8px;
}

.onboarding-steps {
  margin: 14px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.onboarding-steps a {
  color: var(--maroon);
  font-weight: 600;
}

.onboarding-steps a:hover {
  text-decoration: underline;
}

/* PANEL SECTIONS */
.panel-section {
  margin-bottom: 20px;
}

.panel-section h3 {
  font-size: 14px;
  color: var(--maroon);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-section li {
  padding: 6px 0;
  font-size: 14px;
  color: #5a5a5a;
  line-height: 1.4;
}

.panel-section li strong {
  color: var(--text-main);
}

.panel-section li small {
  display: block;
  color: #888;
  font-size: 12px;
  margin-top: 2px;
}

/* NEXT STEP */
.next-step {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.next-step-link {
  color: var(--maroon);
  font-weight: 600;
}

.next-step-link:hover {
  text-decoration: underline;
}

/* STATS */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon);
  font-family: 'Quicksand', sans-serif;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* RIGHT GRID */
.right-grid {
  flex: 1;
  padding: 28px;
  background: var(--bg-warm);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  align-content: start;
}

.tile {
  display: block;
  background-color: white;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e5e5;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  color: inherit;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tile-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.tile h3 {
  color: var(--maroon);
  font-size: 18px;
  margin-bottom: 6px;
}

.tile p {
  color: #666;
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.dashboard-footnote {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    height: auto;
  }

  .left-panel {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .right-grid {
    grid-template-columns: 1fr;
  }
}
