/* add sorting icons to gridview sort links */
/* align the logout "link" (button in form) of the navbar */
main > .container {
  padding: 70px 15px 20px;
}

@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 1.8rem;
  }
}
.footer {
  background-color: #f5f5f5;
  font-size: 0.9em;
  height: 60px;
}
.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

a.asc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}
.nav > li > form > button.logout:focus {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  outline: none;
}
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.form-group {
  margin-bottom: 1rem;
}

.ajax-link {
  display: inline-block;
  color: #10bf10;
  border-bottom: 1px dashed #10bf10;
  cursor: pointer;
}

.inner-link {
  display: inline-block;
  border-bottom-width: 1px;
  border-bottom-style: dashed;
  cursor: pointer;
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}
.practice-show-answer {
  margin-top: 5px;
}

.practice-show-answer {
  display: none;
}

.practice-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
}
.practice-actions .issue-link {
  float: none;
}

.practice-secondary-actions {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: baseline;
}

.user-note-link,
.issue-link {
  color: #6c757d;
  border-bottom-color: #6c757d;
}
.user-note-link.has-content,
.issue-link.has-content {
  color: #212529;
  border-bottom-color: #212529;
}
.user-note-link.is-editing,
.issue-link.is-editing {
  background-color: #e8f0fe;
  padding: 2px 6px;
  border-radius: 4px;
}

.practice-secondary-blocks {
  margin-top: 6px;
}

.issue-link--below-user-note {
  display: inline-block;
  float: left !important;
  margin: 16px 0;
}

.practice-secondary-blocks .user-note-form .btn-outline-danger,
.practice-secondary-blocks .issue-form .btn-outline-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}
.practice-secondary-blocks .user-note-form .btn-outline-danger:hover,
.practice-secondary-blocks .user-note-form .btn-outline-danger:focus,
.practice-secondary-blocks .issue-form .btn-outline-danger:hover,
.practice-secondary-blocks .issue-form .btn-outline-danger:focus {
  background-color: #bb2d3b;
  border-color: #b02a37;
  color: #fff;
}

.practice-answer {
  display: none;
  margin-top: 5px;
}

.practice-answer__valid {
  color: green;
}

.practice-answer__exact-percent {
  margin-left: 8px;
  font-weight: 700;
  color: green;
  white-space: nowrap;
}

.practice-answer__partial {
  list-style: none;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #f8f9fa;
  box-sizing: border-box;
}

.practice-answer__partial-section + .practice-answer__partial-section {
  margin-top: 8px;
}

.practice-answer__partial-label {
  font-size: 12px;
  font-weight: 700;
  color: #6c757d;
  margin-bottom: 2px;
}

.practice-answer__partial-text {
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.practice-answer__diff-match {
  color: #198754;
  font-weight: bold;
}

.practice-answer__diff-mismatch {
  color: #dc3545;
  text-decoration: underline;
  text-decoration-color: #dc3545;
  text-underline-offset: 2px;
}

.practice-answer__notes {
  color: #555;
  line-height: 1.4;
}

.practice-callout {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border-left: 6px solid #adb5bd;
  background: #f8f9fa;
}

.practice-callout__title {
  font-weight: bold;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 6px;
}

.practice-callout--user-note {
  border-left-color: #0d6efd;
  background: #f3f7ff;
}

.practice-callout--notes {
  border-left-color: #6c757d;
  background: #f8f9fa;
}

.practice-answer__user-note {
  line-height: 1.4;
}

.practice-result-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: stretch;
  flex-wrap: wrap;
}

.practice-result-action {
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  flex: 1;
  min-width: 80px;
  max-width: 124px;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}
.practice-result-action:hover {
  filter: brightness(1.08);
}
.practice-result-action:active {
  filter: brightness(0.92);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
}

.practice-result-action-forgot {
  background: linear-gradient(to bottom right, #c41e18, #ff6b6b);
  border: 1px solid #a01612;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 3px 6px rgba(180, 20, 15, 0.4);
}

.practice-result-action-hard {
  background: linear-gradient(to bottom right, #c85c00, #ffaa55);
  border: 1px solid #a84e00;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 3px 6px rgba(180, 90, 0, 0.4);
}

.practice-result-action-good {
  background: linear-gradient(to bottom right, #1a7a1a, #66d966);
  border: 1px solid #156615;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 3px 6px rgba(20, 120, 20, 0.4);
}

.practice-result-action-easy {
  background: linear-gradient(to bottom right, #0d4aaa, #5599e8);
  border: 1px solid #0a3d8e;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0 3px 6px rgba(10, 60, 160, 0.4);
}

.practice-result-action-loading {
  padding: 0;
  border: 0;
  width: 16px;
  flex: none;
  align-self: center;
}

.practice-word {
  display: none;
}

.practice-sentence {
  display: none;
}

.practice-inputs {
  margin-top: 10px;
  display: none;
}

.practice-input-row {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}

.practice-input-row .practice-input {
  margin: 0;
  flex: 0 0 auto;
  width: 180px;
  max-width: 100%;
}

.practice-input {
  margin: 5px 0;
  display: block;
}

.practice-input__valid {
  color: green;
}

.practice-input__invalid {
  color: red;
}

.practice-input-diff {
  margin: 0;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  min-height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background: #fff;
  color: #212529;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.practice-input-match-percent {
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #495057;
}

.practice-confusion-trigger {
  margin-left: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 53, 69, 0.55);
  background: rgba(220, 53, 69, 0.08);
  color: #b02a37;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  padding: 0;
}

.practice-confusion-trigger:hover {
  filter: brightness(1.05);
}

.practice-confusion-trigger--active {
  background: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.45);
  color: #0d6efd;
}

.practice-confusion-popover {
  position: absolute;
  z-index: 1050;
  min-width: 320px;
  max-width: 420px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 10px 12px;
}

.practice-confusion-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.practice-confusion-popover__title {
  font-weight: 700;
  font-size: 13px;
  color: #495057;
}

.practice-confusion-popover__close {
  border: 0;
  background: transparent;
  color: #6c757d;
  font-size: 20px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
}

.practice-confusion-popover__close:hover {
  color: #212529;
}

.practice-confusion-popover__body {
  max-height: 320px;
  overflow: auto;
}

.practice-confusion-item__title {
  font-weight: 700;
  color: #212529;
  margin-top: 6px;
}

.practice-confusion-empty {
  color: #6c757d;
  font-size: 13px;
  line-height: 1.35;
}

.practice-word__str {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 0.35em;
  row-gap: 0.2em;
}

.practice-word__stage-icon {
  cursor: help;
}

.search-word-found__headline .word-popularity {
  position: relative;
  top: 0.12em;
}

.practice-word-popularity,
.word-popularity {
  display: inline-flex;
  align-items: center;
  margin-left: 0.25em;
  gap: 6px;
}

.word-popularity-meter {
  display: inline-flex;
  flex-shrink: 0;
  align-self: center;
  width: 9px;
  height: 20px;
}

.word-popularity-meter__track {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(226, 232, 240, 0.55) 100%);
  border: 1px solid rgba(15, 23, 42, 0.22);
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.07);
}

.word-popularity-meter--unknown .word-popularity-meter__track {
  border-style: dashed;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.04);
}

.word-popularity-meter--unknown .word-popularity-meter__fill {
  border-top: 0;
  box-shadow: none;
}

.word-popularity-meter__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--word-popularity-meter-pct, 0) * 1%);
  border-radius: 0 0 999px 999px;
  box-sizing: border-box;
  transition: height 0.2s ease;
  border-top: 1px solid rgba(15, 23, 42, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 -1px 0 rgba(15, 23, 42, 0.12);
}

.word-popularity-meter-fill--t1 {
  background: #f1f5f9;
}

.word-popularity-meter-fill--t2 {
  background: #e2e8f0;
}

.word-popularity-meter-fill--t3 {
  background: #dbeafe;
}

.word-popularity-meter-fill--t4 {
  background: #ccfbf1;
}

.word-popularity-meter-fill--t5 {
  background: #dcfce7;
}

.word-popularity-meter-fill--t6 {
  background: #fef3c7;
}

.word-popularity-meter-fill--t7 {
  background: #ffedd5;
}

.practice-word-popularity__label,
.word-popularity__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.practice-word-popularity--t1,
.word-popularity--t1 {
  color: #475569;
  background: #f1f5f9;
  border-color: rgba(71, 85, 105, 0.25);
}

.practice-word-popularity--t2,
.word-popularity--t2 {
  color: #334155;
  background: #e2e8f0;
  border-color: rgba(51, 65, 85, 0.25);
}

.practice-word-popularity--t3,
.word-popularity--t3 {
  color: #1e40af;
  background: #dbeafe;
  border-color: rgba(30, 64, 175, 0.25);
}

.practice-word-popularity--t4,
.word-popularity--t4 {
  color: #0f766e;
  background: #ccfbf1;
  border-color: rgba(15, 118, 110, 0.25);
}

.practice-word-popularity--t5,
.word-popularity--t5 {
  color: #166534;
  background: #dcfce7;
  border-color: rgba(22, 101, 52, 0.28);
}

.practice-word-popularity--t6,
.word-popularity--t6 {
  color: #92400e;
  background: #fef3c7;
  border-color: rgba(146, 64, 14, 0.28);
}

.practice-word-popularity--t7,
.word-popularity--t7 {
  color: #7c2d12;
  background: #ffedd5;
  border-color: rgba(124, 45, 18, 0.3);
}

.practice-word-popularity--unknown,
.word-popularity--unknown {
  color: #6b7280;
  background: #f9fafb;
  border-color: rgba(107, 114, 128, 0.4);
  border-style: dashed;
}

.practice-sentence__stage-icon {
  cursor: help;
}

.practice-sentence__str {
  display: inline-block;
}

.practice-word-level {
  display: inline-block;
  float: right;
}

.practice-sentence-level {
  display: inline-block;
  float: right;
}

.practice-word-repeated {
  display: inline-block;
  float: right;
  margin-right: 20px;
}

.practice-word-repeated-all {
  display: inline-block;
  float: right;
  margin-right: 20px;
}

.practice-sentence-repeated {
  display: inline-block;
  float: right;
  margin-right: 20px;
}

.practice-word-admin-link {
  display: inline-block;
  margin-left: 10px;
  font-size: 1rem;
  line-height: 1;
}

.practice-sentence-admin-link {
  display: inline-block;
  margin-left: 10px;
}

.practice-word-sentences {
  display: none;
  margin-top: 7px;
}

.practice-word-sentences__list {
  display: none;
  margin-top: 5px;
}

.practice-word-sentence {
  margin-top: 4px;
}
.practice-word-sentence .found-word-in-sentence {
  display: inline-block;
  font-weight: bold;
}

.rating-type {
  margin: 10px 0 6px -24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #212529;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f8f9fa;
}
.rating-type::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #adb5bd;
  box-shadow: 0 0 0 3px rgba(173, 181, 189, 0.18);
}
.rating-type::after {
  content: "";
}

.rating-type--frequent {
  background: #eaf7ee;
  border-color: rgba(25, 135, 84, 0.22);
  color: #146c43;
}
.rating-type--frequent::before {
  background: #198754;
  box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.18);
}

.rating-type--infrequent {
  background: #fff5e6;
  border-color: rgba(255, 193, 7, 0.28);
  color: #b45309;
}
.rating-type--infrequent::before {
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.rating-type--rare {
  background: #ffecec;
  border-color: rgba(220, 53, 69, 0.22);
  color: #b02a37;
}
.rating-type--rare::before {
  background: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.18);
}

.rating-type--unknown {
  background: #f1f3f5;
  border-color: rgba(108, 117, 125, 0.22);
  color: #495057;
}
.rating-type--unknown::before {
  background: #6c757d;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.18);
}

/*# sourceMappingURL=site.css.map */
