/* Common header styles for all pages */
html {
    font-size: 80%;
}

.graphiql-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  padding: 12px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  gap: 16px;
  border-bottom: 1px solid #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

.graphiql-header .logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 8px;
}

.graphiql-header .logo-section img {
  max-height: 20px;
  width: auto;
  vertical-align: middle;
}

.graphiql-header .title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  letter-spacing: -0.3px;
}

.graphiql-header .subtitle {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  padding-left: 12px;
  border-left: 2px solid #e0e0e0;
}

.graphiql-header .nav-buttons {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}

.graphiql-header .divider {
  color: #999;
  font-size: 13px;
  font-weight: 500;
  padding: 0 8px;
}

.graphiql-header button {
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.graphiql-header button:hover {
  background: #f8f9fa;
  border-color: #0078d4;
  color: #0078d4;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.graphiql-header button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.graphiql-header .panel-section {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: scale(1);
  margin-top: 23px;
}

.graphiql-header .panel-section img {
  max-height: 24px;
  display: block;
}

.graphiql-header .clear-cookie-btn {
  margin-right: 50px;
  margin-top: -23px;
}

/* MyBuildings Panel SDK - Fix login dropdown width */
/* Override the button's min-width: 100% that causes overflow */
div[class*="v-mybje-panel-"][class*="-box-footer"] a {
  min-width: auto !important;
}
