/* ── Diagwise Cookie Consent Banner ── */

#dw-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  #dw-cookie-banner.dw-cb-visible {
    transform: translateY(0);
  }
  
  #dw-cookie-banner.dw-cb-hidden {
    transform: translateY(100%);
  }
  
  .dw-cb-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .dw-cb-text {
    flex: 1;
    min-width: 260px;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #374151;
  }
  
  .dw-cb-link {
    color: #4b5563;
    text-decoration: underline;
    white-space: nowrap;
  }
  
  .dw-cb-link:hover {
    color: #111827;
  }
  
  .dw-cb-actions {
    display: flex;
    gap: 0.625rem;
    flex-shrink: 0;
  }
  
  .dw-cb-btn {
    padding: 0.5rem 1.125rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
  }
  
  .dw-cb-btn--primary {
    background: #111827;
    color: #fff;
    border-color: #111827;
  }
  
  .dw-cb-btn--primary:hover {
    background: #1f2937;
    border-color: #1f2937;
  }
  
  .dw-cb-btn--secondary {
    background: transparent;
    color: #374151;
    border-color: #d1d5db;
  }
  
  .dw-cb-btn--secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
  }
  
  @media (max-width: 600px) {
    #dw-cookie-banner {
      padding: 1rem;
    }
  
    .dw-cb-content {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.875rem;
    }
  
    .dw-cb-actions {
      width: 100%;
      justify-content: flex-end;
    }
  }