/* Small visual refinements shared across public and manager pages. */
.btn{min-height:42px;border-radius:13px;padding-inline:18px}.btn:active{transform:translateY(0) scale(.985)}
.public-auth form>.btn[type="submit"]{width:100%;min-height:52px;margin-top:2px;border:0;border-radius:15px;background:linear-gradient(135deg,#2563eb,#1d4ed8 55%,#1e3a8a);box-shadow:0 12px 26px rgba(37,99,235,.24);font-size:15px;letter-spacing:-.01em}.public-auth form>.btn[type="submit"]:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af 58%,#172554);box-shadow:0 16px 30px rgba(37,99,235,.30);transform:translateY(-2px)}
.public-auth .input,.public-auth select,.public-auth textarea{min-height:46px;border-radius:12px}.public-auth .auth-panel>h1{margin-bottom:8px}
.billing-current-plan{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:24px;background:linear-gradient(135deg,#eff6ff,#fff);border-color:#bfdbfe}.billing-current-plan h2{margin:8px 0 4px}.billing-current-plan p{margin:0}.billing-current-meta{display:grid;gap:5px;min-width:210px;color:#475569;font-size:13px}.billing-plan-card{display:flex;flex-direction:column;gap:15px;position:relative;transition:.18s}.billing-plan-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(15,23,42,.10)}.billing-plan-card.is-current{border:2px solid #3b82f6;background:linear-gradient(180deg,#fff,#f4f8ff)}.billing-plan-card.is-locked{background:#f8fafc;opacity:.78}.billing-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.billing-plan-head h3{margin:0}.billing-features{display:grid;gap:7px;font-size:13px;color:#475569}.billing-features i{color:#16a34a;margin-left:5px}.billing-plan-action{display:grid;gap:8px;margin-top:auto}.billing-plan-action form,.billing-plan-action .btn{width:100%}.billing-plan-action .btn[disabled]{cursor:not-allowed;transform:none;opacity:.8}.billing-history .order-status.pending{background:#dbeafe;color:#1d4ed8}.billing-history .order-status.paid{background:#dcfce7;color:#166534}.billing-history .order-status.failed,.billing-history .order-status.canceled{background:#fee2e2;color:#991b1b}
.topbar .topbar-nav{width:100%;display:flex;align-items:center;direction:rtl}.topbar .topbar-nav>.brand{order:-1;margin-left:auto;margin-right:0;padding:0;background:transparent}.topbar .topbar-nav>.brand:hover{background:transparent}
@media(max-width:760px){.billing-current-plan{align-items:flex-start;flex-direction:column}.billing-current-meta{min-width:0}.billing-plan-grid{grid-template-columns:1fr}}
@media(max-width:640px){
.btn{min-height:44px}.public-auth form>.btn[type="submit"]{min-height:54px;font-size:16px}

/* Public mobile header: brand on the right, actions grouped on the left. */
.app-public .topbar-inner{min-height:60px;gap:0;flex-wrap:nowrap}
.app-public .topbar .topbar-nav{width:100%;display:flex;align-items:center;direction:rtl;flex-wrap:nowrap;gap:2px;min-width:0}
.app-public .topbar .topbar-nav>.brand{order:-1;display:flex;align-items:center;flex:0 0 auto;margin-left:auto;margin-right:0;padding:0}
.app-public .topbar .topbar-nav>.brand img{width:74px!important;height:auto!important;max-width:74px}
.app-public .topbar .topbar-nav>a:not(.brand){padding:6px 6px;border-radius:8px;font-size:12.5px;line-height:1.25;white-space:nowrap}
.app-public .topbar .topbar-nav>a.btn{min-height:36px;padding:6px 9px;border-radius:9px;font-size:12.5px}

/* Mobile footer: compact, centered and visually balanced. */
.footer{padding:22px 0 24px}
.site-footer-inner{display:grid!important;grid-template-columns:1fr;justify-items:center;gap:9px!important;text-align:center}
.site-footer-inner>span{font-size:11.5px;line-height:1.7}
.footer-links{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap!important;gap:6px!important}
.footer-links a{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:4px 9px;border-radius:8px;font-size:11.5px;white-space:nowrap}
.footer-links a:hover{background:#eff6ff}
}

@media(max-width:370px){
.app-public .topbar .topbar-nav{gap:1px}
.app-public .topbar .topbar-nav>.brand img{width:66px!important;max-width:66px}
.app-public .topbar .topbar-nav>a:not(.brand){padding-inline:4px;font-size:11.5px}
.app-public .topbar .topbar-nav>a.btn{padding-inline:7px;font-size:11.5px}
}
