/* Extracted from lab.php head style block 1 */
.lab-card {
      background: #dff6f3;
      /* pale teal background */
      border-radius: 12px;
      padding: 1.25rem;
      min-height: 120px;
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      box-shadow: 0 6px 18px rgba(13, 110, 253, 0.04);
    }

    .lab-card .icon-wrap {
      width: 56px;
      height: 56px;
      display: grid;
      place-items: center;
      background: transparent;
      border-radius: 10px;
    }

    .lab-card .card-content {
      flex: 1 1 auto;
    }

    .lab-card h5 {
      margin: 0 0 .25rem 0;
      font-weight: 700;
      color: #07364a;
      font-size: 1.05rem;
    }

    .lab-card .muted {
      color: #6c757d;
      font-size: .9rem;
    }

    .lab-card .cta {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: grid;
      place-items: center;
      background: #ffffff;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
      border: none;
    }

    /* small tweak for image icon to fit like original */
    .lab-card img.icon-img {
      width: 56px;
      height: 56px;
      object-fit: contain;
      display: block;
    }

/* Extracted from lab.php head style block 2 */
.category-slider {
      scroll-behavior: smooth;
      gap: 12px;
      white-space: nowrap;
    }

    .category-card {
      min-width: 130px;
      background: white;
      border-radius: 12px;
      padding: 20px 10px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: 0.3s;
    }

    .category-card img {
      width: 40px;
      opacity: 0.8;
      margin-bottom: 10px;
    }

    .category-card:hover {
      transform: translateY(-4px);
      background: #E8F6FF;
      cursor: pointer;
    }

    .nav-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border: none;
      width: 35px;
      height: 35px;
      border-radius: 50%;
      cursor: pointer;
    }

    #leftBtn {
      left: -10px;
    }

    #rightBtn {
      right: -10px;
    }

    @media(max-width: 576px) {
      .nav-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
      }

      .category-card {
        min-width: 110px;
      }
    }

