/* RestaurantLogin - full screen, touch friendly */
html, body.rl-body { height: 100%; margin: 0; background: #0b1220; font-family: "Source Sans Pro", "Segoe UI", Arial, sans-serif; }
.rl-wrap { display: flex; min-height: 100%; }
.rl-brand { flex: 1.1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff;
            background: url('../../images/pos-pattern.svg'), radial-gradient(circle at 30% 20%, #17406b 0%, transparent 60%), linear-gradient(135deg, #0F2A4A 0%, #0B1220 100%); padding: 30px; text-align: center; }
.rl-logo { width: 150px; height: 150px; border-radius: 50%; background: #fff; color: #1F3A5F; font-size: 70px;
           display: flex; align-items: center; justify-content: center; }
.rl-brand h1 { font-size: 38px; font-weight: 700; margin: 22px 0 4px; }
.rl-brand p { color: #a8b7cc; font-size: 18px; margin: 0; }
.rl-brand .rl-device { color: #8ea3c0; font-size: 14px; margin-top: 18px; }
.rl-card { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 520px; margin: 0 auto;
           padding: 30px 34px; background: #151f2e; color: #e6edf6; }
.rl-card h2 { font-size: 26px; font-weight: 700; margin: 0 0 4px; color: #fff; }
.rl-card .rl-sub { color: #a8b7cc; margin-bottom: 18px; }
.rl-card label { color: #a8b7cc; font-weight: 600; }
.rl-card .form-control { background: #0b1220; color: #fff; border-color: #293b52; }
.rl-card .form-control:focus { border-color: #2585e8; box-shadow: none; }
.rl-card select.form-control option { color: #000; }
.rl-card .btn-lg { height: 56px; font-size: 18px; }
.rl-info th { color: #a8b7cc; width: 40%; border-top-color: #293b52 !important; }
.rl-info td { color: #fff; font-weight: 600; border-top-color: #293b52 !important; }
.rl-footer { margin-top: 16px; text-align: center; }
.rl-msg { min-height: 22px; margin-bottom: 8px; font-size: 15px; }
.rl-msg.err { color: #ff8a80; } .rl-msg.ok { color: #7ee2a8; } .rl-msg.info { color: #c7d2e0; }
.rl-link { display: block; color: #a8b7cc; margin-top: 10px; }
.rl-link:hover { color: #fff; }
@media (max-width: 900px) { .rl-wrap { flex-direction: column; } .rl-brand { padding: 20px; } .rl-logo { width: 90px; height: 90px; font-size: 42px; } .rl-card { max-width: none; } }

/* PIN / password toggle and number pad (script 51) - big keys for fingers */
.rl-logo img { max-width: 120px; max-height: 120px; border-radius: 12px; }
.rl-mode { display: flex; gap: 8px; margin-bottom: 18px; background: #0b1220; padding: 6px; border-radius: 12px; }
.rl-mode-btn { flex: 1; height: 50px; border: 0; border-radius: 9px; background: transparent; color: #a8b7cc; font-size: 17px; font-weight: 700; }
.rl-mode-btn.on { background: #2585e8; color: #fff; }
.rl-dots { display: flex; justify-content: center; gap: 14px; margin: 6px 0 18px; }
.rl-dots span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4b6385; }
.rl-dots span.f { background: #fff; border-color: #fff; }
.rl-dots span.x { display: none; }
.rl-dots.shake { animation: rlshake .35s; }
@keyframes rlshake { 25% { transform: translateX(-10px) } 50% { transform: translateX(10px) } 75% { transform: translateX(-6px) } }
.rl-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.rl-pad button { height: 72px; border: 1px solid #293b52; border-radius: 14px; background: #1d2a3d; color: #fff; font-size: 30px; font-weight: 700;
                 touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.rl-pad button:active { background: #2585e8; transform: scale(.97); }
.rl-pad .rl-pad-c { font-size: 18px; color: #a8b7cc; background: #142032; }
.rl-default { display: block; color: #a8b7cc; font-weight: 400 !important; margin-top: 10px; cursor: pointer; }
@media (max-height: 760px) { .rl-pad button { height: 58px; font-size: 26px; } }
