/* Customer panel: Locale control and bidirectional layout. */
/* IT4Y_CUSTOMER_I18N_V1 — true bidi layout (the picker in the bar is styled by customer-panel-header.css). */
.app-sidebar{grid-column:1;grid-row:2}.app-main{grid-column:2;grid-row:2;min-width:0}
html[dir="rtl"] body{text-align:right}
/* A grid follows the document direction: column 1 is the inline-start (right) edge in RTL, so the sidebar keeps column 1 and lands on the right. */
html[dir="rtl"] .app-shell{grid-template-columns:var(--sidebar-w) 1fr}
html[dir="rtl"] .app-sidebar{grid-column:1;border-right:0;border-left:1px solid var(--border-soft)}
html[dir="rtl"] .app-main{grid-column:2}
html[dir="rtl"] .session-info .tenant{margin-left:0;margin-right:6px}
html[dir="rtl"] .nav-item .icon{transform:none}
html[dir="rtl"] .co-price{text-align:left}
html[dir="rtl"] .co-rm{margin-left:0;margin-right:auto}
html[dir="rtl"] .paypage-actions{justify-content:flex-start}
.payres-ready{--payres-tone:#1d4ed8;--payres-soft:#eff6ff;--payres-ring:#bfdbfe}
.payres-refunded{--payres-tone:#6d28d9;--payres-soft:#f5f3ff;--payres-ring:#ddd6fe}
html[data-theme="dark"] .payres-ready{--payres-soft:rgba(59,130,246,.10);--payres-ring:rgba(96,165,250,.28)}
html[data-theme="dark"] .payres-refunded{--payres-soft:rgba(139,92,246,.12);--payres-ring:rgba(167,139,250,.28)}
@media(max-width:768px){
  html[dir="rtl"] .app-shell{grid-template-columns:1fr}
  html[dir="rtl"] .app-main{grid-column:1}
  html[dir="rtl"] .app-sidebar{grid-column:auto;right:0;left:auto;border-left:1px solid var(--border-soft);border-right:0}
}
