/* Quick Print Navigation Bar Styles */
/* Extracted from add1.html - perfect header implementation */

.top-nav-bar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  height: 80px;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.top-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-nav-logo img {
  height: 40px;
  width: auto;
}

.top-nav-logo-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: #0E2431;
  font-family: 'Roboto', Arial, sans-serif;
}

#boxtext {
  color: #0E2431;
  font-weight: 300;
}

.top-nav-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  font-family: 'Roboto', Arial, sans-serif;
  white-space: nowrap;
}

.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Roboto', Arial, sans-serif;
  white-space: nowrap;
}

.nav-btn:hover {
  background: #f9fafb;
  border-color: #2563eb;
  color: #2563eb;
}

.nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.nav-btn-blue {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.nav-btn-blue:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.logo-link {
  text-decoration: none;
}

@media print {
  .top-nav-bar {
    display: none;
  }
}

@media (max-width: 1200px) {
  .top-nav-bar {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  .top-nav-logo img {
    height: 32px;
  }
  .top-nav-logo-text {
    display: none;
  }
  .top-nav-title {
    display: none;
  }
  .nav-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  .nav-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  #print-questions-btn {
    display: none;
  }
}

