pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em
}
code.hljs {
  padding: 3px 5px
}
/*!
  Theme: GitHub
  Description: Light theme as seen on github.com
  Author: github.com
  Maintainer: @Hirse
  Updated: 2021-05-15

  Outdated base version: https://github.com/primer/github-syntax-light
  Current colors taken from GitHub's CSS
*/
.hljs {
  color: #24292e;
  background: #ffffff
}
.hljs-doctag,
.hljs-keyword,
.hljs-meta .hljs-keyword,
.hljs-template-tag,
.hljs-template-variable,
.hljs-type,
.hljs-variable.language_ {
  /* prettylights-syntax-keyword */
  color: #d73a49
}
.hljs-title,
.hljs-title.class_,
.hljs-title.class_.inherited__,
.hljs-title.function_ {
  /* prettylights-syntax-entity */
  color: #6f42c1
}
.hljs-attr,
.hljs-attribute,
.hljs-literal,
.hljs-meta,
.hljs-number,
.hljs-operator,
.hljs-variable,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-selector-id {
  /* prettylights-syntax-constant */
  color: #005cc5
}
.hljs-regexp,
.hljs-string,
.hljs-meta .hljs-string {
  /* prettylights-syntax-string */
  color: #032f62
}
.hljs-built_in,
.hljs-symbol {
  /* prettylights-syntax-variable */
  color: #e36209
}
.hljs-comment,
.hljs-code,
.hljs-formula {
  /* prettylights-syntax-comment */
  color: #6a737d
}
.hljs-name,
.hljs-quote,
.hljs-selector-tag,
.hljs-selector-pseudo {
  /* prettylights-syntax-entity-tag */
  color: #22863a
}
.hljs-subst {
  /* prettylights-syntax-storage-modifier-import */
  color: #24292e
}
.hljs-section {
  /* prettylights-syntax-markup-heading */
  color: #005cc5;
  font-weight: bold
}
.hljs-bullet {
  /* prettylights-syntax-markup-list */
  color: #735c0f
}
.hljs-emphasis {
  /* prettylights-syntax-markup-italic */
  color: #24292e;
  font-style: italic
}
.hljs-strong {
  /* prettylights-syntax-markup-bold */
  color: #24292e;
  font-weight: bold
}
.hljs-addition {
  /* prettylights-syntax-markup-inserted */
  color: #22863a;
  background-color: #f0fff4
}
.hljs-deletion {
  /* prettylights-syntax-markup-deleted */
  color: #b31d28;
  background-color: #ffeef0
}
.hljs-char.escape_,
.hljs-link,
.hljs-params,
.hljs-property,
.hljs-punctuation,
.hljs-tag {
  /* purposely ignored */
  
}
:root {
  --bg-dark-blue: #2d2d44;
  --bg-light-grey: #f2f2f2;
  --bg-tour: #ffedd6;
  --bg-white: #fff;
  --green: #3d7929;
  --red: #c05c48;

  --green-success: #62b455;
  --red-outline-text: #d9534f;
  --green-outline-text: #008000;

  --dark-blue: darkblue;
  --white: white;
  --grey: #555;

  --gold: #ffd700;
  --light-gold: #ffdf80;

  --border-color: #d5d5d5;
  --border-color-light: gainsboro;

  --light-gray: #D0D0D0;
  --border-light-gray: #c8c5c5;
  --animation-light-gray: #D9D9D9;

  /* Sizes */
  --header-height: 50px;
  --editor-status-height: 40px;
}

.btn-github:active:hover,
.btn-github.active:hover,
.btn-github:active:focus,
.btn-github.active:focus,
.btn-github:active.focus,
.btn-github.active.focus {
  color: #fff;
  background-color: #191919;
  border-color: rgba(0,0,0,0.2);
}

.btn-github:active,
.btn-github.active {
  color: #fff;
  background-color: #2b2b2b;
  border-color: rgba(0,0,0,0.2);
}

.btn-github:hover {
  color: #fff;
  background-color: #2b2b2b;
  border-color: rgba(0,0,0,0.2);
}

.btn-github:focus,
.btn-github.focus {
  color: #fff;
  background-color: #2b2b2b;
  border-color: rgba(0,0,0,0.2);
}

.btn-github {
  color: #fff;
  background-color: #444;
  border-color: rgba(0,0,0,0.2);
}

.btn-social {
  position: relative;
  padding-left: 44px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-social > :first-child {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  padding: 0 4px;
  width: 32px;
  line-height: 34px;
  font-size: 1.4rem;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,0.2);
}

.yRemoteSelectionHead {
  position: absolute;
  border-left-style: solid;
  border-left-width: 2px;
  border-top-style: solid;
  border-top-width: 2px;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  height: 100%;
  box-sizing: border-box;
}

.yRemoteSelectionHead::after {
  position: absolute;
  border-radius: 0 4px 4px 0;
  left: 0px;
  top: -2px;
  font-size: 8px;
  font-weight: 900;
  line-height: 8px;
}
/* widht */
img[alt~='w100'] {
  width: 100px;
}
img[alt~='w200'] {
  width: 200px;
}
img[alt~='w300'] {
  width: 300px;
}
img[alt~='w400'] {
  width: 400px;
}
img[alt~='w500'] {
  width: 500px;
}
img[alt~='w600'] {
  width: 600px;
}
img[alt~='w700'] {
  width: 700px;
}
img[alt~='w800'] {
  width: 800px;
}

/* height */
img[alt~='h100'] {
  height: 100px;
}
img[alt~='h200'] {
  height: 200px;
}
img[alt~='h300'] {
  height: 300px;
}
img[alt~='h400'] {
  height: 400px;
}
img[alt~='h500'] {
  height: 500px;
}
img[alt~='h600'] {
  height: 600px;
}
img[alt~='h700'] {
  height: 700px;
}
img[alt~='h800'] {
  height: 800px;
}

/*
  WARN: max animation duration must be less then 500ms,
  because of src/modules/editor/monaco/index.js:58
*/

html,
body,
#root {
  height: 100%;
  font-family: 'Montserrat';
}

blockquote {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9em;
  line-height: 1.5rem;
  color: hsla(0, 0%, 0%, 0.59);
  font-style: italic;
  border-left: 6px solid #ffc107;
}

.app-debug {
  outline: 1px solid red;
}

.app-green {
  color: var(--green) !important;
}

.app-red {
  color: var(--red) !important;
}

.app-dimgrey {
  color: dimgrey;
}

.app-header-container {
  min-height: var(--header-height);
  height: var(--header-height);
  background: var(--bg-dark-blue);
  color: var(--white);
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
}

.app-header {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
}

.app-tasks-progress {
  height: 4px;
  transition: width 0.3s;
}

/* TODO: Remove this after removing buttons */
.app-tasks-list-nav {
  max-width: 80px;
  /* NOTE: Override bootstrap padding styles */
  padding: 0.2rem 0.75rem;
}

.app-tasks-list-nav:hover {
  background: #444467;
}

.app-tasks-list-nav.app-success-btn svg {
  animation: nav-arrow-translate 5s ease-out 1.5s infinite;
}

.app-footer {
  min-height: 80px;
  background: var(--bg-dark-blue);
  color: var(--white);
}

.app-editor-footer {
  min-height: 80px;
  background: var(--bg-dark-blue);
  color: var(--white);
}

.app-logo {
  width: 45px;
  height: inherit;
  margin: 0 10px;
}

.app-logo img {
  width: 36px;
  height: 36px;
  outline: 1px solid dimgrey;
  border-radius: 50%;
}

.app-side {
  /*flex: 1 1 50%;*/
  width: 50%;
  min-width: 400px;
  transition: all 0.4s linear;
}

.app-side-for-post {
  width: 100%;
  min-width: 400px;
  transition: all 0.4s linear;
}

.app-side-menu {
  flex: 1 1 50%;
  width: 50%;
  min-width: 400px;
}

.app-preview-panel {
  overflow-y: scroll;
  background: var(--white);
  color: var(--bg-dark-blue);
}

.app-panel-controls {
  top: 0;
  /* NOTE: "z-index: 1": editor tooltip must overlay this panel */
  z-index: 1;
  height: 42px;
  min-height: 42px;
  background: var(--bg-light-grey);
}

.app-panel-tabs {
  height: 100%;
}

.app-tab:first-child {
  border-left-width: 0;
}

.app-tab:last-child:not(.active) {
  border-right-width: 1px;
  border-right-style: solid;
}

.app-tab {
  height: 100%;
  min-width: 100px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left-width: 1px;
  border-left-style: solid;
  border-color: var(--border-color);
  transition: background 0.3s;
  color: var(--grey);
}

.app-tab i {
  color: var(--dark-blue);
}

.app-resize-panel-btn {
  color: var(--grey);
  width: 24px;
  min-width: 24px;
  padding: 0 2px;
  border: none;
  outline: none;
  height: 100%;
  background: var(--bg-light-grey);
}

.app-resize-panel-btn:not([disabled]):hover {
  background: #e7e5f4;
  color: var(--dark-blue);
}

.app-resize-panel-btn:is([disabled]) {
  color: #999;
}

.app-panel-btn {
  height: 100%;
  color: var(--grey);
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  outline: none;
  border: none;
  border-radius: 0;
  transition: all 0.3s;
  border-left-width: 1px;
  border-left-style: solid;
  border-color: var(--border-color);
  position: relative;
}

.app-tab.active .app-tab-btn {
  /*display: inline-block;*/
  width: 25px;
  visibility: visible;
  opacity: 1;
  padding: 4px;
}

.app-tab-btn {
  width: 0;
  /*padding: 4px;*/
  padding: 0;
  outline: none;
  border: none;
  cursor: pointer;
  background: none;
  border-radius: 0;
  /*display: none;*/
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.app-tab-btn .bi {
  color: var(--grey);
}

.app-tab-btn:hover .bi {
  color: var(--dark-blue);
}

.app-run-tests-btn {
  min-width: 85px;
  background: whitesmoke;
  color: var(--bg-dark-blue);
  outline: none;
  border-radius: 0;
  border: none;
  border-left: 1px solid lightgray;
  transition: all 0.3s linear;
}

.app-run-tests-btn .spinner-border {
  display: none;
}

.app-run-tests-btn:is([disabled]) .bi {
  display: none;
}

.app-run-tests-btn:is([disabled]) .spinner-border {
  display: inline-block;
}

.app-run-tests-btn .bi {
  display: inline-block;
}

.app-run-tests-btn:hover {
  background: #f8f8f8;
}

.app-run-tests-btn .bi {
  transition: all 0.3s linear;
}

.app-run-tests-btn .bi-play-circle {
  color: var(--green);
}

.app-run-tests-btn .bi-arrow-right::before {
  animation: nav-arrow-translate 5s ease-out 0.25s infinite;
}

.app-run-tests-btn.app-success-btn {
  color: var(--white);
  background: var(--green-success);
}

.app-success-btn {
  color: var(--white);
  background: var(--green-success);
  transition: all 0.3s ease-in;
}

.app-success-btn:hover {
  background: hsl(113, 43%, 45%);
}

.app-panel-btn:focus {
  box-shadow: none;
}

.app-panel-btn .bi-gear {
  transition: all 0.3s;
  transform: rotate(0deg);
}

.app-panel-btn.active .bi-gear {
  transform: rotate(45deg);
}

.app-panel-btn:hover {
  background: #e7e5f4;
  color: var(--dark-blue);
}

.app-tab:hover {
  background: #f8f8f8;
  cursor: default;
}

.app-tab.active {
  background: var(--white);
  font-weight: bold;
  color: var(--bg-dark-blue);
}

.app-editor-panel {
  flex: 2 1 65%;
  overflow: hidden;
}

.app-output-panel-wrapper {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: 35%;
  transition: all 0.3s ease-out;
  background: var(--white);
  z-index: 100;

  border-top-width: 1px;
  border-top-style: solid;
  border-color: var(--border-color);
}

.app-output-panel-wrapper.collapsed {
  flex-grow: 0.001;
  flex-basis: 42px;
}

.app-test-output-list {
  background: var(--white);
  font-size: 0.85rem;
}

.app-output-panel-wrapper.collapsed .app-test-output-list {
  height: 0;
  overflow: hidden;
}

.app-output-panel-wrapper.collapsed .bi-chevron-down {
  transform: rotate(180deg);
}

.app-output-panel {
  background: var(--white);
}

.app-console-output {
  padding: 0;
  margin: 0;
}

.console-extra-panel {
  position: sticky;
  padding: 4px 10px;
  top: 42px;
  font-size: 0.75rem;
  z-index: 1;
  border-bottom: 1px solid #f0f0f0;
  background: #fefef4;
}

.console-extra-panel-clear:hover {
  text-decoration: underline;
  cursor: pointer;
}

.app-console-output li {
  list-style-type: none;
  border-bottom: 1px solid #f0f0f0;
  font-family: Monaco, 'Lucida Console', monospace;
  font-size: 0.8rem;
  padding-left: 25px;
  padding-top: 10px;
  position: relative;
  padding-bottom: 8px;
}

.app-console-output li pre {
  margin-bottom: 0;
}

.app-console-output li::before {
  content: '>';
  position: absolute;
  left: 10px;
  top: 10px;
  line-height: 1;
  color: #7eaaf7;
}

.file-output-label {
  font-style: italic;
  color: #778899;
}

.app-panel-controls .bi-chevron-down {
  transition: all 0.3s ease-out;
}

.app-splitter {
  width: 1px;
  min-width: 1px;
  /* TODO: https://github.com/dosandk/online-editor/issues/8 */
  cursor: col-resize;
  background-color: #c4c4c4;
  position: relative;
}

.app-splitter::before,
.app-splitter::after {
  content: '';
  width: 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
}

.app-splitter::before {
  transform: translate(-5px, 0);
  /* Note: for debug purpose */
  /*background: orange;*/
}

.app-panel-btn.active .app-drop-down-menu {
  display: block;
}

.app-drop-down-menu {
  top: 100%;
  right: 0;
  width: 220px;
  background: var(--white);
  box-shadow: 1px -1px 12px 2px rgb(0 0 0 / 12%);
  z-index: 1000;
  display: none;
  color: var(--grey);
}

.app-drop-down-menu::after {
  content: '';
  position: absolute;
  right: 12px;
  bottom: 100%;
  border: 8px solid transparent;
  border-bottom-color: #fff;
}

.app-drop-down-menu li {
  border-left-width: 3px;
  border-left-style: solid;
  border-left-color: var(--white);
  transition: all 0.3s;
}

.app-drop-down-menu li:hover {
  cursor: pointer;
  box-sizing: border-box;
  border-left-width: 3px;
  border-left-style: solid;
  border-left-color: #9797c8;
  background: #f8f8f8;
}

.app-drop-down-menu li:hover .bi {
  color: var(--dark-blue);
}

.app-resize-preview.active .bi-arrows-fullscreen {
  display: none;
}

.app-resize-preview.active .bi-fullscreen-exit {
  display: inline-block;
}

.app-resize-preview .bi-arrows-fullscreen {
  display: inline-block;
}

.app-resize-preview .bi-fullscreen-exit {
  display: none;
}

.app-refresh-preview .bi {
  transition: transform 0.5s;
  user-select: none;
  font-size: 1.2rem;
}

.app-refresh-preview .bi::before {
  /*text-decoration: line-through;*/
  /*text-decoration-color: red;*/
  transform: rotate(320deg);
}

/* TODO: disable tests result during tests run */
.app-test-output-list.app-test-output-list.disabled .app-test-output {
  color: darkgrey;
}

.app-test-output-list.disabled .app-test-stacktrace:hover {
  background: inherit;
}

.app-test-output {
  border-bottom: 1px solid var(--border-color-light);
  cursor: pointer;
}

.app-test-output:last-child {
  border-bottom: none;
}

.app-test-output.app-success {
  cursor: default;
  color: var(--green);
}

.app-test-output.app-error {
  color: #c05c48;
}

.app-test-output.app-success .bi-chevron-right {
  color: lightgray;
}

.app-test-output.app-error .bi-chevron-right {
  color: #3b3b3b;
}

.app-test-output.app-error.app-expand .bi-chevron-right {
  transform: rotate(90deg);
}

.app-test-stacktrace-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.15s ease-out;
}

.app-test-output.app-error.app-expand .app-test-stacktrace-container {
  max-height: 300px;
  transition: max-height 0.25s ease-out;
}

.app-test-stacktrace {
  box-sizing: border-box;
  font-family: monospace;
  border: 1px solid var(--border-color-light);
  font-size: 0.75rem;
}

.app-test-stacktrace:hover {
  background: ghostwhite;
}

.app-tests-result {
  padding: 0 6px;
  font-size: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 3px;
}

.app-tests-result.failed {
  color: var(--red);
  border: 1px solid var(--red);
}

.app-tests-result.passed {
  color: var(--green);
  border: 1px solid var(--green);
}

.app-test-status {
  width: 25px;
}

/* TODO: uncomment later */
.app-extra {
  display: none;
}

.app-content-wrapper {
  flex: 1;
  min-height: calc(100% - var(--editor-status-height) - var(--header-height));
}

.app-content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  box-shadow: 0 14px 20px rgb(0 0 0 / 10%);
}

.app-editor-wrapper {
  max-height: 100%;
  background: var(--white);
}

.app-report-bug {
  text-decoration: none;
  color: #ddd;
  margin-right: 10px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  transition: all 0.3s;
}

.app-report-bug:hover {
  color: var(--white);
  text-decoration: underline;
}

.app-report-bug .bi {
  font-size: 1.2rem;
  padding-left: 10px;
}

.fake-cursor:after {
  content: ' ';
  background-color: black;
  height: 1em;
  width: 2px;
  position: absolute;
  top: 2px;
  margin-left: -2px;
  display: inline-block;
}

.app-user-select-none {
  user-select: none;
}

.app-rotate-180 {
  transform: rotate(180deg);
}

.app-flex-grow-1 {
  flex-grow: 1;
}

.app-flex-grow-2 {
  flex-grow: 2;
}

.app-flex-grow-3 {
  flex-grow: 3;
}

.skeleton-user-settings {
  width: 25px;
  height: 25px;
  margin: 0 10px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  display: flex;
}

/* Tasks navigation buttons */
.app-list-nav-btn {
  max-width: 80px;
  padding: 0.2rem 0.75rem;
  color: #6c757d;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease-in;
}

.app-list-nav-btn svg {
  stroke: #888;
}

.app-list-nav-btn:hover svg {
  stroke: #6c757d;
}

.app-list-nav-btn:hover {
  background: #dfdfdf;
}

.app-list-nav-btn.app-success-btn {
  color: var(--white);
  background: var(--green-success);
}

.app-list-nav-btn.app-success-btn svg {
  animation: nav-arrow-translate 5s ease-out 1.5s infinite;
}

.avatar-image {
  height: 100%;
  width: 100%;
}

.avatar-container {
  overflow: hidden;
  border-radius: 50%;
}

/* Console output styles */
.string {
  color: var(--green);
}
.number {
  color: #3200ff;
}
.boolean {
  color: #1a1aa6;
}
.null {
  color: #ab0d90;
}
.key {
  color: #303942;
}

/* Bootstrap overrides */

.dropdown-menu.dropdown-menu-dark {
  min-width: 300px;
}

/*.modal-backdrop {*/
/*  display:none*/
/*}*/
/*.modal-backdrop.in {*/
/*  opacity: 0;*/
/*}*/
/*.modal {*/
/*  !*z-index: inherit !important;*!*/
/*  position: relative;*/
/*}*/

/* Note: remove chrome focus-visible outline */
:focus-visible {
  outline: none;
}

/* NOTE: Drag And Drop module styles  */
.draggable {
  cursor: grab;
}
.draggable.is-dragging {
  outline: 1px solid rgba(150, 150, 150, 0.3);
  box-shadow: inset 2px 2px 10px rgba(150, 150, 150, 0.3);
  opacity: 0.8;
}

.email-box {
  border: 1px solid var(--border-color-light);
}

.opened-in-modal-preview {
  height: 85vh;
  width: 90vw;
}

@keyframes nav-arrow-translate {
  3%,
  9% {
    transform: translateX(5px);
  }

  12%,
  6% {
    transform: translateX(0);
  }
}

.bi-mortarboard {
  animation: tilt-shaking 6s ease-out 5s infinite;
}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  5% {
    transform: rotate(10deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  15% {
    transform: rotate(10deg);
  }
  20% {
    transform: rotate(-5deg);
  }
  25% {
    transform: rotate(0deg);
  }
}

/* NOTE: hide recaptcha badge */
.grecaptcha-badge {
  visibility: hidden;
}

@media screen and (max-width: 1200px) {
  .app-side-menu {
    min-width: auto;
  }
}

@media screen and (max-width: 567px) {
  .app-header .app-side-menu {
    gap: 1rem;
    font-size: 14px;
  }
}

