/* Employee portal — extends rider/assets/rider.css */
.em-tag { background: #2563eb !important; }
.em-nav { grid-template-columns: repeat(5, 1fr) !important; align-items: end; }
.em-fab { position: relative; }
.em-fab .em-fab-btn { width: 52px; height: 52px; margin-top: -26px; border-radius: 16px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 24px -10px rgba(225,29,46,.8); border: 4px solid #fff; }
.em-fab.on .em-fab-btn { background: var(--ink); }
.em-fab span:last-child { margin-top: 1px; }

/* lock banner */
.em-lock { border-radius: 18px; padding: 18px; color: #fff; background: linear-gradient(150deg, #7f1d1d, #b91c1c); box-shadow: 0 24px 40px -26px rgba(185,28,28,.9); margin-bottom: 14px; position: relative; overflow: hidden; }
.em-lock::after { content: ''; position: absolute; right: -50px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.em-lock h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; position: relative; }
.em-lock p { font-size: 13px; opacity: .9; margin-top: 6px; line-height: 1.55; position: relative; }
.em-lock .rp-btn { margin-top: 14px; background: #fff; color: #b91c1c; position: relative; }
.em-wait { border-radius: 18px; padding: 18px; background: #fff; box-shadow: var(--shadow); margin-bottom: 14px; text-align: center; }

/* cash meter */
.em-cash { border-radius: 18px; padding: 18px; color: #fff; background: radial-gradient(380px 200px at 100% 0%, rgba(37,99,235,.45), transparent 60%), linear-gradient(150deg, #1b1e25, #0f1115); box-shadow: 0 24px 40px -26px rgba(15,17,21,.9); margin-bottom: 14px; }
.em-cash small { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #a4a9b2; font-weight: 700; }
.em-cash b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.em-meter { height: 8px; border-radius: 8px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 12px; }
.em-meter span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #22c55e, #f59e0b 70%, #ef4444); }
.em-cash-row { display: flex; justify-content: space-between; font-size: 12px; color: #a4a9b2; margin-top: 7px; }
.em-cash .rp-btn { margin-top: 14px; height: 42px; background: #fff; color: var(--ink); font-size: 13.5px; }

.em-big-cta { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; background: var(--red); color: #fff; box-shadow: 0 18px 30px -18px rgba(225,29,46,.9); margin-bottom: 14px; }
.em-big-cta .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; }
.em-big-cta b { display: block; font-size: 16.5px; font-weight: 800; }
.em-big-cta span { font-size: 12.5px; opacity: .9; }
.em-big-cta .ri:last-child { margin-left: auto; }
.em-big-cta.off { background: #9aa0aa; box-shadow: none; pointer-events: none; }

/* package choice */
.em-pkgs { display: grid; gap: 10px; }
.em-pkg { position: relative; display: block; cursor: pointer; }
.em-pkg input { position: absolute; opacity: 0; pointer-events: none; }
.em-pkg .card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.em-pkg input:checked + .card { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(15,17,21,.6); }
.em-pkg .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.em-pkg input:checked + .card .radio { border-color: var(--ink); }
.em-pkg input:checked + .card .radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.em-pkg .t { flex: 1; min-width: 0; }
.em-pkg .t b { display: block; font-size: 14.5px; color: var(--ink); }
.em-pkg .t span { font-size: 12px; color: var(--muted); }
.em-pkg .p { font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; }

/* wizard */
.em-wiz-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.em-wiz-head .rp-step-label { margin: 0; }
.em-docs { display: grid; gap: 10px; }
.em-doc { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; }
.em-doc.done { border-color: #bfe8cf; background: #f6fcf8; }
.em-doc .n { width: 34px; height: 34px; border-radius: 50%; background: #f1f2f4; color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.em-doc.done .n { background: var(--green); color: #fff; }
.em-doc .t { flex: 1; min-width: 0; }
.em-doc .t b { display: block; font-size: 13.5px; color: var(--ink); }
.em-doc .t span { font-size: 11.5px; color: var(--muted); }
.em-doc img { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; background: #f1f2f4; }
.em-doc .acts { display: flex; gap: 6px; }
.em-doc .acts .rp-btn { height: 36px; padding: 0 10px; font-size: 12.5px; }
.em-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; background: #eceef1; border-radius: 12px; }
.em-seg label { margin: 0; }
.em-seg input { position: absolute; opacity: 0; pointer-events: none; }
.em-seg span { display: block; text-align: center; padding: 9px 4px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.em-seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.em-paychoice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.em-paychoice label { margin: 0; cursor: pointer; }
.em-paychoice input { position: absolute; opacity: 0; pointer-events: none; }
.em-paychoice .c { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 10px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; text-align: center; }
.em-paychoice .c small { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.em-paychoice input:checked + .c { border-color: var(--ink); box-shadow: 0 10px 24px -16px rgba(15,17,21,.6); }
.em-paychoice input:disabled + .c { opacity: .45; }

/* UPI QR */
.em-qr { text-align: center; padding: 18px; border-radius: 18px; background: #fff; border: 1.5px solid var(--line); }
.em-qr .amt { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.em-qr .to { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.em-qr .box { width: 230px; height: 230px; margin: 14px auto 10px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; }
.em-qr .box img, .em-qr .box svg { width: 100%; height: 100%; }
.em-qr .scan { font-size: 12px; color: var(--muted); }
.em-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.em-apps a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 11.5px; font-weight: 700; color: var(--ink); }
.em-apps a i { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 13px; font-weight: 800; }
.em-shot { margin-top: 12px; }
.em-shot img { max-height: 220px; margin: 10px auto 0; border-radius: 12px; border: 1px solid var(--line); }

.em-review-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.em-review-row:last-child { border-bottom: 0; }
.em-review-row span { color: var(--muted); flex-shrink: 0; }
.em-review-row b { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.em-edit { font-size: 12px; font-weight: 700; color: var(--red); }

/* wizard + detail */
.em-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.em-thumbs a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #f6f7f9; }
.em-thumbs img { width: 100%; height: 86px; object-fit: cover; display: block; }
.em-thumbs span { display: block; padding: 5px 6px; font-size: 11px; font-weight: 700; color: var(--muted); text-align: center; }
.em-sal { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.em-sal:last-child { border-bottom: 0; }
.em-sal .m { width: 46px; height: 46px; border-radius: 12px; background: #f3f4f6; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex-shrink: 0; }
.em-sal .m b { font-size: 15px; color: var(--ink); }
.em-sal .m small { font-size: 10px; color: var(--muted); font-weight: 700; text-transform: uppercase; margin-top: 3px; }
.em-track { display: flex; gap: 4px; margin-top: 6px; }
.em-track i { flex: 1; height: 4px; border-radius: 3px; background: #e5e7eb; }
.em-track i.on { background: var(--green); }

/* stage / area */
.em-pins { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.em-pins .pin, [data-pinlist] .pin { display: inline-flex; gap: 4px; align-items: center; padding: 4px 8px; border-radius: 7px; background: var(--green-soft); color: #166534; font-size: 11.5px; font-weight: 600; }
[data-pinlist] { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
[data-pinlist] .pin.bad { background: var(--red-soft); color: var(--red); }
.em-stage { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; background: #eef0f3; color: var(--ink); }
.em-stage.s0 { background: linear-gradient(135deg, #e11d2e, #9f1020); color: #fff; } .em-stage.s1 { background: #0f1115; color: #fff; } .em-stage.s2 { background: #ede9fe; color: #6d28d9; } .em-stage.s3 { background: var(--blue-soft); color: var(--blue); } .em-stage.s4 { background: var(--green-soft); color: var(--green); }
.em-ccount { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.em-ccount a { display: block; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: center; }
.em-ccount b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.em-ccount span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.em-member { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.em-member:last-child { border-bottom: 0; }
.em-mstats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.em-mstats b { color: var(--ink); }
