﻿/* RTL Styles */
:root[dir="rtl"] .lb-header-nav {
  flex-direction: row-reverse;
}
:root[dir="rtl"] .lb-logo {
  margin-right: 0;
  margin-left: auto;
}
:root[dir="rtl"] .lb-header-actions {
  margin-left: 0;
  margin-right: auto;
  flex-direction: row-reverse;
}

/* ===== School Canteen Home Page — RTL ===== */
:root[dir="rtl"] .sc-hero-badge { left: auto; right: -20px; }
:root[dir="rtl"] .sc-about-badge { right: auto; left: -24px; }
:root[dir="rtl"] .sc-about-list li i { margin-left: 0; }
:root[dir="rtl"] .sc-card-tag { left: auto; right: 14px; }
:root[dir="rtl"] .sc-featured-head { flex-direction: row-reverse; }
:root[dir="rtl"] .sc-card-meta { flex-direction: row-reverse; }
@media (max-width: 767px) {
  :root[dir="rtl"] .sc-about-badge { margin-left: 0; margin-right: 16px; }
}

/* ===== School Canteen Home 2 — RTL ===== */
:root[dir="rtl"] .h2c-hero::before { background: linear-gradient(260deg, rgba(23,63,51,.96) 0%, rgba(23,63,51,.8) 45%, rgba(23,63,51,.28) 100%); }
:root[dir="rtl"] .h2c-today { justify-self: start; }
:root[dir="rtl"] .h2c-cmp th:first-child { left: auto; right: 0; text-align: right; }
:root[dir="rtl"] .h2c-plan-price small { margin-left: 0; margin-right: 4px; }
:root[dir="rtl"] .h2c-steps::before { left: 12%; right: 12%; }
:root[dir="rtl"] .h2c-step-ico b { right: auto; left: -4px; }
:root[dir="rtl"] .h2c-member-links { left: auto; right: 14px; }
:root[dir="rtl"] .h2c-arrow i, :root[dir="rtl"] .h2c-arrow svg,
:root[dir="rtl"] .h2c-round i, :root[dir="rtl"] .h2c-round svg,
:root[dir="rtl"] .h2c-loc-top > i, :root[dir="rtl"] .h2c-loc-top > svg { transform: scaleX(-1); }
:root[dir="rtl"] .h2c-loc::after { right: auto; left: -34px; }
@media (max-width: 767px) {
  :root[dir="rtl"] .h2c-step { text-align: right; }
}

/* ===== Login and register pages ===== */
:root[dir="rtl"] .lb-login-topbar,
:root[dir="rtl"] .lb-login-layout {
  direction: rtl;
}

:root[dir="rtl"] .lb-login-topbar {
  flex-direction: row-reverse;
}

:root[dir="rtl"] .lb-login-editorial,
:root[dir="rtl"] .lb-login-form-panel,
:root[dir="rtl"] .lb-form-description,
:root[dir="rtl"] .lb-form-label,
:root[dir="rtl"] .lb-login-submit,
:root[dir="rtl"] .lb-create,
:root[dir="rtl"] .lb-security {
  text-align: right;
}

:root[dir="rtl"] .lb-login-tools {
  margin-left: 0;
  margin-right: auto;
}

:root[dir="rtl"] .lb-login-submit,
:root[dir="rtl"] .lb-create-link {
  flex-direction: row-reverse;
}

:root[dir="rtl"] .lb-password-row {
  flex-direction: row-reverse;
}