/* =========================
   Basis
========================= */
body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background: #0b0f14;
    color: #e8eef6;
  }
  
  /* =========================
     Header
  ========================= */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #1e2a3a;
  }
  
  .title {
    font-size: 18px;
    opacity: 0.9;
  }
  
  /* =========================
     Klok
  ========================= */
  .clock {
    text-align: right;
  }
  
  .clock .time {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  
  .clock .date {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 2px;
  }
  
  /* =========================
     Layout
  ========================= */
  main {
    padding: 16px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 16px;
  }
  
  /* =========================
     Cards
  ========================= */
  .card {
    background: #0f1620;
    border: 1px solid #1e2a3a;
    border-radius: 14px;
    overflow: hidden;
  }
  
  .card h2 {
    margin: 0;
    padding: 10px 12px;
    font-size: 14px;
    opacity: 0.85;
    border-bottom: 1px solid #1e2a3a;
  }
  
  /* =========================
     Iframes
  ========================= */
  iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* =========================
     Panel sizes
  ========================= */
  
  /* Linker grafiek */
  .panel {
    height: 420px;
  }
  
  /* Rechter kolom */
  .right {
    display: grid;
    grid-template-rows: 2fr 1fr; /* boven groter dan onder */
    gap: 16px;
  }
  
  /* Huidige temperatuur (groot) */
  .card.current {
    height: 260px;
  }
  
  /* Online status (kleiner) */
  .card.status {
    height: 140px;
  }
  
  /* =========================
     Responsive
  ========================= */
  @media (max-width: 1050px) {
    .grid {
      grid-template-columns: 1fr;
    }
  
    .panel {
      height: 360px;
    }
  
    .right {
      grid-template-rows: auto auto;
    }
  
    .card.current,
    .card.status {
      height: 200px;
    }
  }
  