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;
}

/* Sudoku */
.sudoku {
    border-collapse: collapse;
    border: 3px solid #333;
}

.sudoku-cell {
    width: 48px;
    height: 48px;
    border: 1px solid #999;
    text-align: center;
    padding: 0;
}

.sudoku-cell.box-right  { border-right:  3px solid #333; }
.sudoku-cell.box-bottom { border-bottom: 3px solid #333; }

.given {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.cell-input {
    width: 100%;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 1.3rem;
    color: #0d6efd;
    background: transparent;
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
}

.cell-input::-webkit-outer-spin-button,
.cell-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}