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;
}


/* ── Site footer ──────────────────────────────────────────────── */
.site-footer {
    border-top: 1.5px solid #f3f4f6;
    background: #fff;
    padding: 0.85rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
}

.footer-brand > i {
    color: #4f46e5;
    font-size: 0.9rem;
}

.footer-brand-by {
    font-size: 0.75rem;
    color: #9ca3af;
}

.footer-brand-by a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s;
}

.footer-brand-by a:hover { opacity: 0.75; }

/* Legal links */
.footer-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

.footer-links a i {
    font-size: 0.72rem;
}

.footer-links a:hover { color: #4f46e5; }

.footer-sep {
    color: #e5e7eb;
    font-size: 0.75rem;
    user-select: none;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 576px) {
    .footer-inner        { flex-direction: column; text-align: center; }
    .footer-links        { justify-content: center; }
    .footer-brand        { justify-content: center; flex-wrap: wrap; }
    .footer-brand-by     { width: 100%; text-align: center; }
}
