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;
}

/* ── Number grid ──────────────────────────────────────────────────────────── */
.number-grid {
    display: grid;
    grid-template-columns: repeat(10, 42px);
    gap: 6px;
    margin-top: 1rem;
    justify-content: center;
}

.number-box {
    width: 42px;
    height: 42px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    padding: 0;
}

.number-box.available {
    background-color: #f0f0f0;
    border-color: #ccc;
    color: #333;
}

.number-box.available:hover:not(:disabled) {
    background-color: #d0e8ff;
    border-color: #0d6efd;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(13,110,253,0.3);
}

.number-box.unavailable {
    background-color: #bbb;
    border-color: #999;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.number-box.reserved-mine {
    background-color: #0d6efd;
    border-color: #0a58ca;
    color: #fff;
    cursor: default;
}

.number-box.locked-mine {
    background-color: #fd7e14;
    border-color: #e96208;
    color: #fff;
    cursor: default;
}

.number-box:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Countdown timer */
.reservation-expiry {
    font-weight: bold;
    color: #dc3545;
}

/* Language switcher */
.lang-switch a {
    text-decoration: none;
    font-size: 0.85rem;
}