/* home.zzpelle.nl — zacht & licht */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --card-bg: hsl(40 60% 99%);
  --card-shadow: 0 1px 2px hsl(35 30% 40% / 0.06), 0 6px 20px hsl(35 30% 40% / 0.07);
  --radius: 20px;
}

html, body, input, button, textarea, select {
  font-family: 'Nunito', ui-rounded, system-ui, -apple-system, sans-serif !important;
}

body {
  background: linear-gradient(180deg, hsl(42 45% 96%) 0%, hsl(38 35% 93%) 100%) fixed;
}

/* Kaarten */
.widget-content {
  background: var(--card-bg) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--card-shadow);
  padding: 20px 22px !important;
}

.widget-content-frameless {
  background: transparent !important;
  box-shadow: none !important;
}

/* Kopjes: rustiger dan de standaard UPPERCASE */
.widget-header h2,
.widget-header h2 a,
.widget-header a {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  font-size: 1.6rem !important;
  color: hsl(30 15% 30%) !important;
}
.widget-header {
  padding-left: 8px;
}

/* Begroeting */
.greeting .widget-content {
  padding: 28px 8px 8px !important;
}
.greeting .widget-content h1 {
  font-size: 4.2rem !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: hsl(30 20% 22%);
  margin: 0;
}
.greeting .widget-content p {
  font-size: 1.8rem !important;
  color: hsl(30 10% 45%);
  margin-top: 6px;
}

/* Monitors: alleen naam + status, geen "OK · 5ms" */
.widget-type-monitor .list-horizontal-text {
  display: none !important;
}

/* Zoekbalk */
.widget-type-search .search {
  border-radius: 999px !important;
  border: none !important;
  box-shadow: var(--card-shadow);
  background: var(--card-bg) !important;
}
.widget-type-search .widget-content {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Monitors: ruimere, zachtere tegels */
.widget-type-monitor .monitor-site-icon {
  border-radius: 10px;
}
.widget-type-monitor a {
  font-weight: 700;
}

/* Afbeeldingen (metrics) */
.widget-type-html img {
  border-radius: 14px !important;
}

/* Klok: alleen de tijd, groot en gecentreerd (datum staat al in de begroeting) */
.widget-type-clock [data-date],
.widget-type-clock [data-year],
.widget-type-clock [data-weekday] {
  display: none !important;
}
.widget-type-clock .widget-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-type-clock .clock,
.widget-type-clock [data-local-time] {
  width: 100%;
  justify-content: center !important;
}
.widget-type-clock .clock-time {
  font-size: 4.6rem !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: hsl(152 30% 32%);
  text-align: center;
}

/* Buien (Buienradar, 5-minutenstappen) */
.rain .rain-summary {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(30 20% 22%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.rain .rain-intensity {
  font-size: 1.2rem;
  font-weight: 600;
  color: hsl(30 10% 50%);
}
.rain .rain-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.rain .rain-dot.dry { background: hsl(145 42% 48%); }
.rain .rain-dot.wet { background: hsl(210 70% 55%); }
.rain .rain-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  margin-top: 14px;
}
.rain .rain-bar {
  flex: 1;
  min-height: 2px;
  border-radius: 4px 4px 2px 2px;
  background: hsl(35 20% 86%);
}
.rain .rain-bar.wet {
  background: linear-gradient(180deg, hsl(210 75% 60%), hsl(210 70% 48%));
}
.rain .rain-axis {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  color: hsl(30 10% 55%);
  margin-top: 6px;
}

/* ---------- GitHub ---------- */
.gh-tiles .widget-content { padding: 0 !important; }
.gh-tiles-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .gh-tiles-row { grid-template-columns: repeat(2, 1fr); }
}
.gh-tile {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 18px 16px 16px;
  text-align: center;
}
.gh-num {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: hsl(152 32% 34%);
}
.gh-label {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(30 10% 50%);
  margin-top: 4px;
}

/* Contributiekalender */
.gh-cal-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 3px;
}
.gh-week {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.gh-week:first-child { justify-content: flex-end; }
.gh-day {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  background: hsl(38 25% 90%);
}
.gh-day.l1 { background: hsl(150 35% 80%); }
.gh-day.l2 { background: hsl(150 35% 64%); }
.gh-day.l3 { background: hsl(152 35% 48%); }
.gh-day.l4 { background: hsl(154 40% 34%); }
.gh-cal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 14px;
  font-size: 1.35rem;
  color: hsl(30 10% 45%);
}
.gh-cal-footer strong { color: hsl(30 20% 22%); font-weight: 800; }
.gh-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 8px;
  font-size: 1.1rem;
  color: hsl(30 10% 55%);
}
.gh-legend .gh-day { width: 11px; }

/* Actieve repo's */
.gh-sub { font-size: 1.15rem; color: hsl(30 10% 55%); margin-bottom: 10px; }
.gh-bars { display: flex; flex-direction: column; gap: 10px; }
.gh-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.gh-bar-label a { color: hsl(30 20% 22%); }
.gh-bar-label span { color: hsl(30 10% 50%); font-weight: 600; }
.gh-bar-track { height: 8px; border-radius: 99px; background: hsl(38 25% 91%); overflow: hidden; }
.gh-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, hsl(150 35% 60%), hsl(154 40% 36%)); }

/* Talen */
.gh-lang-bar {
  display: flex;
  height: 12px;
  border-radius: 99px;
  overflow: hidden;
  gap: 2px;
  margin: 4px 0 16px;
}
.gh-lang-seg { height: 100%; opacity: 0.85; }
.gh-lang-list { display: flex; flex-direction: column; gap: 9px; }
.gh-lang-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: hsl(30 20% 22%);
}
.gh-lang-list li i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; opacity: 0.85; }
.gh-lang-list li span { margin-left: auto; color: hsl(30 10% 50%); font-weight: 600; }

/* Laatste commits */
.gh-commit-list { display: flex; flex-direction: column; gap: 14px; }
.gh-commit-list a {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: hsl(30 20% 22%);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gh-commit-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 1.2rem;
  color: hsl(30 10% 55%);
}
.gh-pill {
  background: hsl(150 30% 92%);
  color: hsl(154 35% 30%);
  font-weight: 700;
  border-radius: 99px;
  padding: 1px 9px;
}
