/* src/pdf-viewer/components/PdfViewerAnnotationLayer.module.css */
.annotationLayer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.annotationGroup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.annotationGroup:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.annotationGroup .annotation {
  pointer-events: auto;
}
.annotation {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity var(--osdk-emphasis-transition-duration) var(--osdk-emphasis-ease-default);
}
.annotation:hover {
  opacity: 0.8;
}
.annotation:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.highlight {
  background-color: var( --osdk-pdf-annotation-color, var(--osdk-pdf-viewer-annotation-highlight) );
  border-radius: 2px;
}
.underline {
  background-color: transparent;
  border-bottom: 2px solid var( --osdk-pdf-annotation-color, var(--osdk-pdf-viewer-annotation-underline) );
}
.comment {
  background-color: var( --osdk-pdf-annotation-color, var(--osdk-pdf-viewer-annotation-comment) );
  border-radius: 50%;
  width: 16px !important;
  height: 16px !important;
}
.pin {
  background-color: var( --osdk-pdf-annotation-color, var(--osdk-pdf-viewer-annotation-pin) );
  border-radius: 50% 50% 50% 0;
  width: 16px !important;
  height: 16px !important;
  transform: rotate(-45deg);
}

/* src/pdf-viewer/components/PdfViewerSidebarHeader.module.css */
.sidebarHeader {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--osdk-surface-spacing);
  border-bottom: var(--osdk-pdf-viewer-sidebar-border);
  flex-shrink: 0;
}
.toggleGroup {
  display: flex;
  align-items: center;
  gap: var(--osdk-spacing-2xs, 2px);
  padding: var(--osdk-spacing-2xs, 2px);
  border: none;
  border-radius: var(--osdk-surface-border-radius);
  background-color: var(--osdk-surface-background-color, transparent);
}
.modeButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--osdk-typography-color-muted);
  cursor: pointer;
  border-radius: var(--osdk-surface-border-radius);
  padding: 0;
}
.modeButton:hover {
  background-color: var(--osdk-surface-background-color-default-hover);
}
.modeButton:active {
  background-color: var(--osdk-surface-background-color-default-active);
}
.modeButton:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.modeButton[data-pressed] {
  background-color: var( --osdk-pdf-viewer-outline-item-active-bg, rgba(45, 114, 210, 0.1) );
  color: var( --osdk-pdf-viewer-outline-item-active-color, var(--osdk-intent-primary-rest) );
}
.modeButton[data-pressed]:hover {
  background-color: var( --osdk-pdf-viewer-outline-item-active-bg, rgba(45, 114, 210, 0.1) );
}

/* src/pdf-viewer/components/PdfViewerOutlineSidebar.module.css */
.sidebar {
  width: var(--osdk-pdf-viewer-sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--osdk-pdf-viewer-sidebar-bg);
  border-right: var(--osdk-pdf-viewer-sidebar-border);
  overflow: hidden;
}
.scrollContainer {
  flex: 1;
  overflow-y: auto;
  padding: var(--osdk-pdf-viewer-sidebar-thumbnail-gap) 0;
}
.outlineItem {
  display: flex;
  align-items: center;
  gap: var(--osdk-pdf-viewer-outline-item-gap, 6px);
  padding: var(--osdk-pdf-viewer-outline-item-padding-y, 4px) var(--osdk-pdf-viewer-outline-item-padding-x, 12px);
  cursor: pointer;
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-default-rest);
  text-decoration: none;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
  line-height: 1.4;
  border-radius: var(--osdk-pdf-viewer-outline-item-radius, 4px);
  transition: background-color 0.15s ease;
}
.outlineItem:hover {
  background-color: var( --osdk-pdf-viewer-outline-item-hover-bg, rgba(0, 0, 0, 0.06) );
}
.outlineItem:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.outlineItemActive {
  background-color: var( --osdk-pdf-viewer-outline-item-active-bg, rgba(45, 114, 210, 0.1) );
  color: var( --osdk-pdf-viewer-outline-item-active-color, var(--osdk-intent-primary-rest) );
  font-weight: var(--osdk-typography-weight-bold);
}
.outlineItemBold {
  font-weight: var(--osdk-typography-weight-bold);
}
.outlineItemItalic {
  font-style: italic;
}
.outlineItemIcon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.outlineItemTitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.emptyState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--osdk-pdf-viewer-outline-empty-gap, 12px);
  padding: var(--osdk-pdf-viewer-outline-empty-padding, 24px);
  flex: 1;
  text-align: center;
}
.emptyStateText {
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-muted);
}

/* src/pdf-viewer/components/PdfViewerSearchBar.module.css */
.searchBar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: var(--osdk-surface-z-index-3);
  display: flex;
  align-items: center;
  gap: var(--osdk-pdf-viewer-toolbar-gap);
  padding: var(--osdk-surface-spacing);
  background-color: var(--osdk-pdf-viewer-search-bar-bg);
  border: var(--osdk-surface-border);
  border-radius: var(--osdk-surface-border-radius);
  box-shadow: var(--osdk-surface-shadow-2);
  margin: var(--osdk-surface-spacing);
}
.searchInput {
  border: var(--osdk-surface-border);
  border-radius: var(--osdk-surface-border-radius);
  padding: var(--osdk-surface-spacing) calc(var(--osdk-surface-spacing) * 2);
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-default-rest);
  background-color: var(--osdk-background-primary);
  outline: none;
  min-width: 200px;
}
.searchInput:focus {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.matchCount {
  font-size: var(--osdk-typography-size-body-x-small);
  color: var(--osdk-typography-color-muted);
  white-space: nowrap;
}
.navButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  color: var(--osdk-typography-color-default-rest);
  cursor: pointer;
  border-radius: var(--osdk-surface-border-radius);
  padding: 0;
}
.navButton:hover {
  background-color: var(--osdk-surface-background-color-default-hover);
}
.navButton:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.closeButton {
  composes: navButton;
}

/* src/pdf-viewer/components/PdfViewerThumbnail.module.css */
.thumbnailContainer {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--osdk-surface-border-radius);
  box-shadow: var(--osdk-pdf-viewer-page-shadow);
  overflow: hidden;
  transition: border-color var(--osdk-emphasis-transition-duration) var(--osdk-emphasis-ease-default);
}
.thumbnailContainer:hover {
  border-color: var(--osdk-pdf-viewer-sidebar-border);
}
.active {
  border-color: var(--osdk-pdf-viewer-sidebar-active-border);
}
.active:hover {
  border-color: var(--osdk-pdf-viewer-sidebar-active-border);
}
.canvas {
  display: block;
}

/* src/pdf-viewer/components/PdfViewerSidebar.module.css */
.sidebar {
  width: var(--osdk-pdf-viewer-sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--osdk-pdf-viewer-sidebar-bg);
  border-right: var(--osdk-pdf-viewer-sidebar-border);
  overflow: hidden;
}
.scrollContainer {
  flex: 1;
  overflow-y: auto;
}
.thumbnailsContainer {
  position: relative;
}
.thumbnailWrapper {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--osdk-pdf-viewer-sidebar-thumbnail-gap) var(--osdk-pdf-viewer-sidebar-thumbnail-gap) 0;
}
.pageNumber {
  text-align: center;
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-muted);
  margin-top: 4px;
}

/* src/pdf-viewer/components/PdfViewerToolbar.module.css */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--osdk-pdf-viewer-toolbar-gap);
  padding: var(--osdk-surface-spacing);
  background-color: var(--osdk-pdf-viewer-toolbar-bg);
  border-bottom: var(--osdk-pdf-viewer-toolbar-border);
  color: var(--osdk-pdf-viewer-toolbar-color);
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  flex-shrink: 0;
}
.toolbarGroup {
  display: flex;
  align-items: center;
  gap: var(--osdk-surface-spacing);
}
.separator {
  width: 1px;
  height: 20px;
  background-color: var(--osdk-surface-border-color-default);
  margin: 0 var(--osdk-surface-spacing);
}
.toolbarButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--osdk-typography-color-muted);
  cursor: pointer;
  border-radius: var(--osdk-surface-border-radius);
  padding: 0;
}
.toolbarButton:hover {
  background-color: var(--osdk-surface-background-color-default-hover);
}
.toolbarButton:active {
  background-color: var(--osdk-surface-background-color-default-active);
}
.toolbarButton:focus-visible {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.toolbarButton:disabled {
  opacity: 0.5;
  cursor: default;
}
.toolbarButtonActive {
  background-color: var(--osdk-surface-background-color-default-active);
  color: var(--osdk-typography-color-default-rest);
}
.pageInput {
  width: 48px;
  text-align: center;
  border: var(--osdk-surface-border);
  border-radius: var(--osdk-surface-border-radius);
  padding: calc(0.5 * var(--osdk-surface-spacing)) var(--osdk-surface-spacing);
  font-family: var(--osdk-typography-family-default);
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-default-rest);
  background-color: var(--osdk-background-primary);
}
.pageInput:focus {
  outline: var(--osdk-focus-outline);
  outline-offset: var(--osdk-focus-visible-outline-offset);
}
.pageCount {
  color: var(--osdk-typography-color-muted);
}
.scaleDisplay {
  font-size: var(--osdk-typography-size-body-small);
  color: var(--osdk-typography-color-muted);
  min-width: 40px;
  text-align: center;
}

/* src/pdf-viewer/PdfViewer.module.css */
.pdfViewer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: var(--osdk-pdf-viewer-bg);
  border: var(--osdk-pdf-viewer-border);
  border-radius: var(--osdk-surface-border-radius);
  overflow: hidden;
  position: relative;
}
.contentArea {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}
.scrollContainerWrapper {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.scrollContainer {
  overflow: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.loadingContainer {
  composes: loadingContainer from "../shared/LoadingError.module.css";
}
.errorContainer {
  composes: errorContainer from "../shared/LoadingError.module.css";
}
.spinnerIcon {
  composes: spinnerIcon from "../shared/LoadingError.module.css";
}
.errorIcon {
  composes: errorIcon from "../shared/LoadingError.module.css";
}
:global(.pdfViewer .page) {
  box-shadow: var(--osdk-pdf-viewer-page-shadow);
  background-color: var(--osdk-background-primary);
  margin: 0 auto var(--osdk-pdf-viewer-page-gap);
}
:global(.textLayer) .highlight {
  background-color: var(--osdk-pdf-viewer-search-highlight);
  border-radius: 1px;
}
:global(.textLayer) .highlight.selected {
  background-color: var(--osdk-pdf-viewer-search-active);
}
:global(.textLayer)::selection {
  background: var(--osdk-intent-primary-rest);
}
/*# sourceMappingURL=pdf-viewer.css.map */