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;
}

.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;
}
/* Certificate Pass/Fail pills */
.tri-group .tri-btn {
    padding: 0.25rem 0.65rem; /* større klikkflate */
    min-width: 56px; /* gjør pillen bredere */
    text-align: center;
    font-size: 0.875rem;
}

/* Litt mer spacing inne i gruppen */
.tri-group {
    gap: 2px;
}

/* Comment felt litt lengre uten å ødelegge mobil */
.check-comment {
    width: 260px;
    max-width: 100%;
}
/* Move controls closer to the label */
.cert-label {
    min-width: 320px; /* juster: 280–360 etter smak */
}

/* Keep the right-side controls as one group */
.tri-group,
.check-comment {
    margin-left: 0;
}
