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:#f3f6fa; font-family:Tahoma,Arial,sans-serif; }
.hero-card,.content-card,.auth-card { background:#fff; border:1px solid #dce3ec; border-radius:1rem; box-shadow:0 8px 30px rgba(31,50,81,.08); padding:2rem; margin:2rem auto; }
.hero-card { max-width:850px; padding:4rem 2rem; }
.content-card { max-width:850px; }
.auth-card { max-width:520px; }
.captcha-row { display:grid; grid-template-columns:minmax(0,1fr) 150px auto; gap:.5rem; align-items:center; }
.captcha-row img { width:150px; height:44px; border:1px solid #cbd5e1; border-radius:.375rem; }
.status-message { min-height:2.5rem; margin-top:1rem; padding:.65rem; border-radius:.5rem; }
.status-message:empty { padding:0; min-height:0; }
.status-message.is-error { color:#842029; background:#f8d7da; }
.status-message.is-success { color:#0f5132; background:#d1e7dd; }
.waiting::after { content:'منتظر بمانید…'; position:fixed; inset:0; z-index:2000; display:grid; place-items:center; color:#fff; font-size:1.25rem; background:rgba(15,23,42,.65); }
@media (max-width:576px){.captcha-row{grid-template-columns:1fr}.captcha-row img{width:100%;object-fit:contain}.auth-card{padding:1.25rem}}

.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;
}
