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;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
    height:100%;
}

.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;
}
.business-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .business-card .line {
        min-height: 1.5em; /* reserve space */
    }
main {
    flex: 1; /* content takes remaining height */
    padding-bottom: 15rem;
}

footer.footer {
    margin-top: auto; /* pushes footer to bottom */
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6; /* Bootstrap-like */
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.footer-line {
    margin: 0;
    padding: 0;
    line-height: 1.5; /* default is ~1.5 */
    font-size: 1.2rem; /* slightly smaller */
}
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Default (LTR – English) */
html[dir="ltr"] .auth-links {
    order: 1;
}

html[dir="ltr"] .lang-links {
    order: 2;
}

/* Arabic (RTL) */
html[dir="rtl"] .auth-links {
    order: 2;
}

html[dir="rtl"] .lang-links {
    order: 1;
}


[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .form-check {
    flex-direction: row-reverse;
}

    html[dir="rtl"] .form-check .text-danger {
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }
.form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;  
}

 Flip order automatically for Arabic 
html[dir="rtl"] .form-check-inline {
    flex-direction: row-reverse;
}

