.devtools-iframe {
  border: none;
}

.devtools-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 0;
  margin: 0 8px;
}

.panel-header.expanded {
  padding-bottom: 16px;
}

.panel-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.panel-header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.devtools-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
  flex-wrap: wrap;
}

.devtools-container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
  overflow: clip;
  white-space: nowrap;
  aspect-ratio: 1.89 / 1;
  margin: 0 8px;
}

.devtools-container .loader-container {
  position: absolute;
}

.placeholder-content {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--vscode-sideBar-background);
  text-align: center;
  text-wrap: wrap;
  box-sizing: border-box;
  padding: 16px;
}

.code-span {
  color: var(--vscode-textPreformat-foreground);
  background-color: var(--vscode-textPreformat-background);
  padding: 0 1px;
  margin: 0 2px;
}

.browser-header {
  font-size: 20px;
  font-weight: 700;
}

.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.fullscreen-header {
  padding: 10px;
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fullscreen-header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.fullscreen-iframe {
  border: none;
}

.captions-button {
  width: 140px;
  justify-content: flex-start;
}

.secondary-button.captions-button {
  border: 1px solid var(--vscode-input-foreground);
}
