html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: #f7f8fa;
  color: #1f2933;
}

.container {
  max-width: 1120px;
}

main {
  background: #fff;
  border: 1px solid #e3e7eb;
  border-radius: 8px;
  padding: 24px;
}

.page-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-heading h1,
.auth-panel h1,
.upload-shell h1 {
  margin-bottom: 4px;
}

.auth-panel,
.upload-shell {
  max-width: 640px;
}

.edit-form {
  max-width: 720px;
}

.detail-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  gap: 8px;
}

.report-actions {
  max-width: 480px;
}

code {
  overflow-wrap: anywhere;
}

.token-copy,
.user-agent {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  main {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 16px;
  }

  .page-heading,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
