.code-fill-card {
  margin-top: 32px;
  padding: 30px;

  border: 1px solid rgba(0, 41, 88, 0.13);
  border-radius: 22px;

  background: #fff;
}


.code-fill-editor {
  overflow: hidden;

  margin-top: 24px;

  border: 1px solid rgba(0, 41, 88, 0.18);
  border-radius: 16px;

  background: #101822;
}


.code-fill-editor__language {
  padding: 10px 18px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.62);

  font-family:
    Poppins,
    sans-serif;

  font-size: 0.75rem;

  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.code-fill-editor__body {
  overflow-x: auto;

  padding: 22px 24px;

  color: #f7f7f7;

  font-family:
    "Courier New",
    monospace;

  font-size: 1rem;

  line-height: 2.1;
}


.code-fill-line {
  min-height: 34px;

  white-space: pre;
}


.code-fill-blank {
  display: inline-block;

  width: 150px;

  margin:
    0
    4px;

  padding:
    5px
    8px;

  border:
    1px solid
    rgba(212, 175, 55, 0.65);

  border-radius: 6px;

  outline: none;

  background:
    rgba(255, 255, 255, 0.08);

  color: #fff;

  font: inherit;
}


.code-fill-blank:focus {
  border-color: #d4af37;

  box-shadow:
    0
    0
    0
    3px
    rgba(212, 175, 55, 0.14);
}


.code-fill-note {
  margin-top: 14px;

  color:
    rgba(0, 41, 88, 0.62);

  font-size: 0.83rem;

  line-height: 1.55;
}


.code-fill-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 22px;
}


.code-test-feedback,
.code-hints,
.code-solution-wrap {
  margin-top: 20px;
}


.code-test-feedback {
  padding: 18px 20px;

  border-radius: 14px;

  line-height: 1.55;
}


.code-test-feedback.is-success {
  border:
    1px solid
    rgba(20, 120, 70, 0.22);

  background:
    rgba(20, 120, 70, 0.06);
}


.code-test-feedback.is-error {
  border:
    1px solid
    rgba(160, 70, 30, 0.18);

  background:
    rgba(160, 70, 30, 0.05);
}


.code-test-score {
  margin:
    12px
    0;

  font-weight: 700;
}


.code-test-feedback ul {
  margin-bottom: 0;
}


.code-test-failures {
  margin-top: 12px;
}


.code-test-feedback__next {
  margin-bottom: 0;
}


.code-hint {
  padding: 16px 18px;

  border:
    1px solid
    rgba(212, 175, 55, 0.24);

  border-radius: 12px;

  background:
    rgba(212, 175, 55, 0.055);
}


.code-hint + .code-hint {
  margin-top: 10px;
}


.code-solution {
  padding: 20px;

  border:
    1px solid
    rgba(0, 41, 88, 0.13);

  border-radius: 14px;

  background:
    rgba(0, 41, 88, 0.035);
}


.code-solution pre {
  overflow-x: auto;

  margin:
    16px
    0;

  padding: 18px;

  border-radius: 10px;

  background: #101822;

  color: #fff;

  font-family:
    "Courier New",
    monospace;

  line-height: 1.65;
}


.code-attempt-history {
  margin-top: 22px;

  color:
    rgba(0, 41, 88, 0.72);

  font-size: 0.84rem;
}


.code-attempt-history__list {
  display: grid;

  gap: 8px;

  margin-top: 10px;
}


.code-attempt-history__item {
  display: grid;

  grid-template-columns:
    auto
    1fr
    auto;

  gap: 12px;

  padding:
    9px
    12px;

  border:
    1px solid
    rgba(0, 41, 88, 0.09);

  border-radius: 8px;
}


.code-attempt-history__item small {
  color:
    rgba(0, 41, 88, 0.45);
}


.code-complete-actions {
  margin-top: 18px;
}


@media (max-width: 720px) {

  .code-fill-card {
    padding: 20px;
  }


  .code-fill-editor__body {
    padding:
      18px
      14px;

    font-size: 0.9rem;
  }


  .code-fill-blank {
    width: 120px;
  }


  .code-fill-actions {
    display: grid;
  }


  .code-fill-actions .button {
    width: 100%;
  }


  .code-attempt-history__item {
    grid-template-columns: 1fr;
  }
}