@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Roboto"), url(chrome-extension://__MSG_@@extension_id__/Roboto-Regular.ttf);
}

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(chrome-extension://__MSG_@@extension_id__/MaterialIcons-Regular.ttf);
}

body {
  font-family: "Roboto";
}

body.options {
  min-width: 800px;
}

body.options #root {
  margin: 20px;
}

p.popup-text {
  font-size: 16px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.hover-popup {
  background-color: rgb(100, 100, 100, 0.75);
}

div.background {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100vw;
  height: 100vh;
  background-color: rgb(100, 100, 100, 0.33);

  opacity: 0;
  transition: opacity 0.25s linear;
}

div.background.displayed {
  opacity: 100;
  transition: opacity 0.25s linear;
}

div.obsidian-web-popup {
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 9999999;
}

div.popup {
  position: relative;
  opacity: 0.95;
  border-radius: 10px;
  width: 600px;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden;
}

div.popup.message {
}

div.popup div.preset-selector {
  padding-left: 10px;
}

div.popup .MuiAccordion-root {
  font-size: 12px;
  color: lightgray;
}

div.auth-field {
  width: 90%;
}

div.option-value {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
  justify-content: space-between;
}

div.option-value.host, div.option-value.api-key {
  justify-content: left;
}

div.validation-icon svg {
  margin-top: 30%;
}

div.submit {
  display: flex;
  flex-direction: row;
  justify-content: right;
}

div.modal {
  display: flex;
  flex-direction: column;
  margin: 50px auto;
  padding: 25px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100vh - 200px);
  max-width: min(950px, 100vw - 50px);
}
div.modal.small {
  margin: 100px auto;
  max-width: 450px;
}

svg.action-icon {
  cursor: pointer;
}

.permission-modal {
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 200px;
  padding: 25px;
  margin: 0 auto;
  margin-top: 25vh;
}

.modal-content {
  flex-grow: 1;
}

div.options-header {
  display: flex;
  flex-direction: row;
  justify-content: left;
}

div.options-header div.right{
  width: 100px;
  flex-grow: 10;
  display: flex;
  flex-direction: row;
  justify-content: right;
}

div.options-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 50px;
}

div.options-container .MuiPaper-root {
  margin-bottom: 10px;
}

div.loading {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

div.loading > p {
  text-align: center;
}

div.loading > span {
  margin: 0 auto;
}

.paper-option-panel {
  padding: 5px 20px 20px 20px;
  margin-top: 10px;
}

div.mentions {
  display: flex;
  flex-direction: column;
}

div.mentions div.mention-notice {
  margin-top: 5px;
}

div.mentions div.mention-notice div.MuiAlert-message {
  width: 100%;
}

div.mentions div.mention-notice a {
  cursor: pointer;
}

div.mentions blockquote {
  font-style: italic;
}
div.mentions blockquote::before {
  content: open-quote;
}
div.mentions blockquote::after {
  content: close-quote;
}

.mention-cta {
  padding: 0 !important;
  float: right;
}

.show-form-cta {
  position: absolute;
  right: 8px;
  bottom: 8px;
}

div.protip {
  margin-top: 10px;
  padding: 20px;
  background-color: #ede8ed;
}

div.protip p {
  margin-bottom: 0px;
}

.send-to-obsidian {
  width: 56px;
  height: 56px;
}

.send-to-obsidian-icon {
  width: 30px;
  height: 30px;
}

.MuiAlert-message {
  flex-grow: 1
}

p.request-params-no-url-notice {
  flex-grow: 1;
  margin: auto 10px;
  color: gray;
  font-style: italic;
}

.method-select {
  min-width: 80px;
}

.template-input-stack {
  flex-grow: 1;
}

.template-content {
  flex-grow: 1;
}

.template-rendered-preview {
  flex-grow: 1;
  padding: 5px;
  width: 100%;
  font-size: 16px;
  margin: 0px;
  overflow: auto;
  color: #7a61cb;
  font-size: 10px;
}

.preview-content.url {
  margin-bottom: 12px;
  margin-left: 80px;
}

.drag-handle {
  height: 10px;
  background-color: gray;
}

.MuiFormGroup-root {
  margin: 10px;
}
