body {
      margin: 0;
      font-family: "Inter", sans-serif;
      background-color: #f3f6fb;
      color: #003865;
      height: 100vh;
      display: flex;
      align-items: center;
    }

    .container {
      width: 1800px;
      max-width: 1800px;
      margin: 0 auto;
      background-color: white;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .header, .footer {
      background-color: #1a5daa;
      color: white;
      text-align: center;
      padding: 10px 15px;
      font-size: 1.5em;
    }

    .header {
      border-radius: 8px 8px 0 0;
      position: relative;
    }

    .footer {
      border-radius: 0 0 8px 8px;
    }

    .content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 20px;
      padding: 20px;
    }

    .time-box, .gauge-box, .patients-box {
      flex: 1;
      min-width: 280px;
      text-align: center;
      border-radius: 8px;
    }

    .time-box {
      background-color: #e3f2fd;
      padding: 15px;
      position: relative;
      overflow: hidden;
    }

    .time-box h2 {
      margin-block-start: 0.1em;
      margin-block-end: 0.1em;
    }

    .wait-time-box {
      margin-top: 3.5em;
    }

    .patients-box, .timeline {
      background-color: #dee0e0;
    }

    .current-time, .wait-time {
      font-size: 2.2em;
      font-weight: bold;
    }

    .wait-time {
      color: #d32f2f;
      margin: 10px 0;
      font-size: 4em;
    }

    .expected {
      font-size: 0.9em;
      color: #555;
    }

    .gauge-box canvas {
      max-width: 100%;
      height: auto;
    }

    .patients-count {
      font-size: 2em;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .urgency-legend {
      display: flex;
      justify-content: space-around;
      font-size: 0.9em;
      padding-top: 1.5em;
      /*position: absolute;
      top: 15px;*/
    }

    .urgency-queue {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 4px;
    }

    .dot {
      display: inline-block;
      margin-right: 6px;
      vertical-align: middle;
      width: 16px;
      height: 24px;
      position: relative;
    }

    .dot::before {
      content: "";
      position: absolute;
      top: 0;
      left: 4px;
      width: 8px;
      height: 8px;
      background-color: currentColor;
      border-radius: 50%;
    }

    .dot::after {
      content: "";
      position: absolute;
      top: 8px;
      left: 2px;
      width: 12px;
      height: 14px;
      background-color: currentColor;
      clip-path: polygon(
        0% 0%,
        100% 0%,
        80% 100%,
        20% 100%
      );
    }

    .critical { color: #e53935; }
    .urgent { color: #fb8c00; }
    .moderate-dot { color: #fdd835; }
    .low-dot { color: #4caf50; }

    .timeline {
      flex: 1;
      border-radius: 8px;
      padding: 20px 30px;
      position: relative;
    }

    .timeline-row {
      display: flex;
      align-items: center;
      border-top: 1px solid #ccc;
      padding: 12px 0;
    }

    .timeline-row:first-child {
      border-top: none;
    }

    .timeline-row-now {
      background-color: #cacccc;
    }

    .timeline-row-now .hour {
      line-height: 200%;;
    }

    .hour {
      width: 100px;
      font-weight: bold;
    }

    .event-details {
      flex: 1;
    }

    .patients {
      font-weight: bold;
      margin-bottom: 5px;
    }
    
    .icons {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }

    .person-icon {
      width: 24px;
      height: 36px;
      position: relative;
      margin: 2px;
      padding: 3px;
    }

    .person-icon::before {
      content: "";
      position: absolute;
      top: 0;
      left: 6px;
      width: 12px;
      height: 12px;
      background-color: currentColor;
      border-radius: 50%;
    }

    .person-icon::after {
      content: "";
      position: absolute;
      top: 12px;
      left: 3px;
      width: 18px;
      height: 21px;
      background-color: currentColor;
      clip-path: polygon(
        0% 0%,
        100% 0%,
        80% 100%,
        20% 100%
      );
    }

    .updated-box {
      font-size: 1rem;
      font-weight: bold;
      border-radius: 0.5rem;
      position: absolute;
      top: 5px;
      right: 10px;
      padding: 10px;
    }

    .updated-green {
      background-color: rgba(0, 255, 0, 0.4);
      border-color: #00ff00;
    }

    .updated-yellow {
      background-color: rgba(255, 255, 0, 0.5);
      border-color: #ffff00;
    }

    .updated-red {
      background-color: rgba(255, 0, 0, 0.6);
      border-color: #ff0000;
    }

    .label {
      font-size: 2em;
      font-weight: bold;
    }

    .veryBusy { color: #ef5350; }
    .busy { color: #ffa726; }
    .moderate { color: #ffee58; }
    .low { color: #66bb6a; }

    .fly-in-div {
      position: absolute;
      width: 500px;
      height: 280px;
      bottom: 20px;
      right: -500px;
      background-color: rgba(0, 0, 0, 0.7);
      border-radius: 15px;
      display: flex;
      justify-content: center;
      align-items: center;
      animation: flyIn 2s forwards, flyOut 2s 30s forwards;
      z-index: 1;
    }

    .fly-in-div img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 8px;
    }

    @keyframes flyIn {
      from { right: -520px; }
      to { right: 46.5px; }
    }

    @keyframes flyOut {
      from { right: 46.5px; bottom: 20px; }
      to { right: 46.5px; bottom: -300px; }
    }