.page-indexation__heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.page-indexation__quota {
  background: rgba(143, 90, 255, 0.08);
  border: 1px solid #8f5aff;
  border-radius: 0.5rem;
  color: #000;
  display: flex;
  flex-direction: column;
  min-width: 14rem;
  padding: 0.75rem 1rem;
}
.page-indexation__quota-label {
  color: #5f5f5f;
  font-size: 0.75rem;
  margin-bottom: 0.125rem;
}
.page-indexation__card {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 0.5rem;
  box-shadow: none;
}
.page-indexation__engines {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.page-indexation .keyword-rank-checks__head,
.page-indexation .keyword-rank-check {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.35fr 1fr 1.2fr 1.8fr auto;
}
.page-indexation .keyword-rank-checks__head {
  color: #5f5f5f;
  font-size: 0.75rem;
  margin-bottom: 0.375rem;
}
.page-indexation .keyword-rank-check + .keyword-rank-check {
  margin-top: 0.75rem;
}
.page-indexation .keyword-rank-check .btn {
  align-self: start;
  min-height: 2.375rem;
  min-width: 2.75rem;
}
.page-indexation .keyword-rank__keywords-field {
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: start;
}
.page-indexation .keyword-rank__keyword-heading,
.page-indexation .keyword-rank__keyword {
  min-width: 15rem;
  padding-inline-start: 1.5rem !important;
  text-align: start;
}
.page-indexation .keyword-rank-region-picker {
  min-width: 0;
  position: relative;
}
.page-indexation .keyword-rank-region-picker__search {
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(22, 22, 22, 0.12);
  left: 0;
  padding: 0.5rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 20;
}
.page-indexation .keyword-rank-region-picker__results {
  max-height: 15rem;
  overflow-y: auto;
}
.page-indexation .keyword-rank-region-picker__result {
  background: transparent;
  border: 0;
  border-radius: 0.25rem;
  color: #161616;
  cursor: pointer;
  display: block;
  padding: 0.5rem 0.625rem;
  text-align: start;
  width: 100%;
}
.page-indexation .keyword-rank-region-picker__result:hover, .page-indexation .keyword-rank-region-picker__result:focus {
  background: #f2edff;
  outline: 0;
}
.page-indexation .keyword-rank-region-picker__message {
  color: #5f5f5f;
  font-size: 0.8125rem;
  padding: 0.625rem;
}
.page-indexation__progress-card {
  border-left: 0.25rem solid #8f5aff;
}
.page-indexation__progress-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.page-indexation__progress-copy {
  min-width: 0;
}
.page-indexation__progress-metrics {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}
.page-indexation__progress-metrics strong {
  color: #000;
  font-size: 1.25rem;
}
.page-indexation__progress {
  background: #ece7f7;
  border-radius: 999px;
  height: 0.75rem;
  margin-top: 0.5rem;
  overflow: hidden;
}
.page-indexation__progress .progress-bar {
  background-color: #8f5aff;
  transition: width 0.25s ease;
}
.page-indexation__batch-state {
  background: #ececec;
  border-radius: 999px;
  color: #424242;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.25rem 0.625rem;
}
.page-indexation__batch-state--processing, .page-indexation__batch-state--queued, .page-indexation__batch-state--waiting {
  background: rgba(143, 90, 255, 0.12);
  color: #5b2eb8;
}
.page-indexation__batch-state--completed {
  background: #dff3e7;
  color: #176b3a;
}
.page-indexation__batch-state--completed-with-errors, .page-indexation__batch-state--failed {
  background: #fbe4e6;
  color: #9d2430;
}
.page-indexation__summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.page-indexation__summary-item {
  background: #f5f5f5;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
}
.page-indexation__summary-item span {
  color: #5f5f5f;
  font-size: 0.75rem;
}
.page-indexation__summary-item strong {
  color: #000;
  font-size: 1.375rem;
  line-height: 1.3;
}
.page-indexation__summary-item--success {
  background: #eef8f2;
}
.page-indexation__summary-item--danger {
  background: #fdf0f1;
}
.page-indexation__table th {
  border-top: 0;
  color: #5f5f5f;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}
.page-indexation__url {
  max-width: 34rem;
  overflow-wrap: anywhere;
}
.page-indexation__status {
  align-items: center;
  display: inline-flex;
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.375rem;
  white-space: nowrap;
}
.page-indexation__status::before {
  border-radius: 50%;
  content: "";
  height: 0.5rem;
  width: 0.5rem;
}
.page-indexation__status--in-index::before {
  background: #198754;
}
.page-indexation__status--not-in-index::before, .page-indexation__status--error::before {
  background: #dc3545;
}
.page-indexation__status--pending::before {
  background: #c6c6c6;
}
.page-indexation__status-value {
  background: #f0f0f0;
  border-radius: 0.25rem;
  color: #333;
  display: inline-flex;
  font-size: 0.75rem;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0.125rem 0.25rem;
}
.page-indexation__history-item {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.page-indexation__history-meta {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 0.375rem;
}
.page-indexation .tool-description {
  color: #333;
  line-height: 1.7;
}
.page-indexation .tool-description h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.75rem;
}
.page-indexation .tool-description h2:first-child {
  margin-top: 0;
}
.page-indexation .tool-description li + li {
  margin-top: 0.5rem;
}

.dark .page-indexation__quota {
  color: #fff;
}
.dark .page-indexation__card {
  background: #151515;
  border-color: #5f5f5f;
}
.dark .page-indexation__progress-metrics strong, .dark .page-indexation__summary-item strong,
.dark .page-indexation .tool-description {
  color: #fff;
}
.dark .page-indexation__progress {
  background: #36303f;
}
.dark .page-indexation__summary-item {
  background: #242424;
}
.dark .page-indexation__summary-item span {
  color: #c2c2c2;
}
.dark .page-indexation__history-item {
  background: #151515;
  color: #fff;
}
.dark .page-indexation__history-item:hover, .dark .page-indexation__history-item:focus {
  background: #242424;
}
.dark .page-indexation .keyword-rank-region-picker__search {
  background: #151515;
  border-color: #5f5f5f;
}
.dark .page-indexation .keyword-rank-region-picker__result {
  color: #fff;
}
.dark .page-indexation .keyword-rank-region-picker__result:hover,
.dark .page-indexation .keyword-rank-region-picker__result:focus {
  background: #36303f;
}

@media (max-width: 575.98px) {
  .page-indexation__heading {
    flex-direction: column;
  }
  .page-indexation__quota {
    min-width: 0;
    width: 100%;
  }
  .page-indexation__engines {
    flex-direction: column;
    gap: 0.75rem;
  }
  .page-indexation .keyword-rank-checks__head {
    display: none;
  }
  .page-indexation .keyword-rank-check {
    grid-template-columns: 1fr;
  }
  .page-indexation .keyword-rank-check .btn {
    min-height: 2.375rem;
  }
  .page-indexation__progress-head {
    align-items: stretch;
    flex-direction: column;
  }
  .page-indexation__progress-head .btn {
    align-self: flex-start;
  }
  .page-indexation__summary {
    grid-template-columns: 1fr;
  }
  .page-indexation__history-item {
    align-items: flex-start;
  }
}
