html { font-size: 15px; position: relative; min-height: 100%; }
body { margin-bottom: 70px; background: #f7f8fa; }
.footer { position: absolute; bottom: 0; width: 100%; background: #fff; }
.ep-brand { font-weight: 700; letter-spacing: -.5px; color: #0f5132; }
.ep-brand span { color: #198754; }
.ep-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 1.25rem; }
.ep-sign { display: inline-block; padding: .35rem .9rem; border-radius: 999px; font-weight: 600; text-transform: uppercase; font-size: .85rem; }
.ep-sign.green { background: #d1e7dd; color: #0f5132; }
.ep-sign.amber { background: #fff3cd; color: #664d03; }
.ep-sign.red   { background: #f8d7da; color: #842029; }
.ep-flag { padding: .45rem .7rem; border-left: 4px solid; margin-bottom: .4rem; background: #fff; border-radius: 4px; }
.ep-flag.good    { border-color: #198754; }
.ep-flag.caution { border-color: #ffc107; }
.ep-flag.risk    { border-color: #dc3545; }
.ep-price { font-size: 1.4rem; font-weight: 700; }
.ep-soon { font-size: .8rem; color: #6c757d; }


/* Identity link (eparakh.com/v/{code}) */
.ep-idcard { padding: 1.6rem; border-radius: 18px; box-shadow: 0 20px 44px -16px rgba(16,40,30,.25); }
.ep-idsteps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.2rem; flex-wrap: wrap; }
.ep-idsteps li { flex: 1; min-width: 7rem; font-size: .85rem; color: #6c757d; border-radius: 10px; background: #f3f5f4; padding: .45rem .6rem; }
.ep-idsteps li span { display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #d9dfdc; color: #fff; font-weight: 700; font-size: .75rem; margin-right: .3rem; }
.ep-idsteps li.now { background: #e8f5ee; color: #0f5132; font-weight: 600; }
.ep-idsteps li.now span, .ep-idsteps li.done span { background: #198754; }
.ep-idsteps li.done { color: #0f5132; }
.ep-idbox { background: #f7f9f8; border: 1px solid #e3e6ea; border-radius: 12px; padding: 1rem 1.1rem; }
.ep-idbox ul { padding-left: 1.1rem; }
.ep-idbox li { margin-bottom: .35rem; }
.ep-cam { position: relative; border-radius: 16px; overflow: hidden; background: #1f2a33; aspect-ratio: 3 / 4; max-height: 60vh; margin: 0 auto; }
.ep-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.ep-cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-cam-note { position: absolute; inset: auto 0 1rem; text-align: center; color: #fff; font-size: .9rem; padding: 0 1rem; }
.ep-idoffer { background: #f3faf6; border: 1px solid #cfe8da; border-radius: 12px; padding: .9rem 1rem; }
.ep-idpanel { border-left: 4px solid #198754; }
