/* Ultra-thin minimal scrollbar like in your image */

/* For Webkit browsers (Chrome, Safari, Edg-e) */
::-webkit-scrollbar {
  width: 1px; /* Very thin width */
  height: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #010136;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #010136;
}


.code-label{
    width: 350px;
}

.table-headers{
    gap: 10px;
}

.table-row{
    gap: 10px;
}

.other-babel{
    width: 100%;
}

.mat-number{
    width: 120px;
}



  .navbar-brand .image {
    width: 150px !important;
  }

/* The Tools trigger — keeps dropdown open while hovering either */
    .tools-trigger {
      position: relative;
    }

    /* ─── Overlay ────────────────────────────────────────────── */
    .tool-dropdown-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.38);
      backdrop-filter: blur(5px);
      -webkit-backdrop-filter: blur(5px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 99999;
      padding: 40px;
      overflow: scroll;

      /* Hidden by default */
      opacity: 0;
      pointer-events: none;
    }

    /* ─── Modal card ─────────────────────────────────────────── */
    .tool-dropdown {
      max-width: 778px;
      width: 100%;
      background: #ffffff;
      border-radius: 16px;
      overflow: hidden;
      padding: 36px 40px;
      box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);

      /* Start scaled down — GSAP drives this */
      transform: scale(0.82);
      transform-origin: center top;
    }

    /* ─── Grid of tools ──────────────────────────────────────── */
    .tools-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px 24px;
    }

    .tool-item {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 14px 16px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.18s ease;
      text-decoration: none;
    }

    .tool-item:hover {
      background: #f7f7f9;
    }

    .tool-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .tool-icon svg,
    .tool-icon img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .tool-info {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .tool-name {
      font-size: 15px;
      font-weight: 600;
      color: #111;
      line-height: 1.3;
    }

    .tool-sub {
      font-size: 12.5px;
      font-weight: 400;
      color: #8a8a8a;
      line-height: 1.3;
    }

    /* ─── CTA button in navbar ───────────────────────────────── */
    .cta-nav-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 18px;
      border-radius: 8px;
      background: #c9ee7d;
      color: #111;
      font-size: 13.5px;
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.2s;
    }

    .cta-nav-btn:hover { background: #b8e05a; }

    .dg-logo{
      border: solid 1.5px #ff7e5d;
      border-radius: 50%;
    }

      
@media (max-width: 600px) {
    .code-label{
        width: 100%;
    }
    
    .tool-dropdown-container{
      justify-content: start;
      padding: 40px 10px;
    }

    .tool-dropdown{
      padding: 20px;
    }

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