/* EcomHisab SaaS additions - ERP ke existing design ke saath */
.eh-login-foot { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.eh-login-foot a { color: var(--accent); font-weight: 700; text-decoration: none; }
.eh-login-foot a:hover { text-decoration: underline; }

.eh-plan-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: auto; flex: 0 0 auto; max-width: 170px;
  margin: 0 8px; padding: 6px 12px; cursor: pointer; border-radius: 6px; text-align: left;
  background: rgba(1, 126, 132, 0.12); color: inherit; border: 1px solid rgba(1, 126, 132, 0.35);
}
.eh-plan-chip span { font-weight: 700; font-size: 13px; }
.eh-plan-chip small { font-size: 11px; opacity: 0.8; }

.eh-plan-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin: 0 0 12px; padding: 10px 14px; border-radius: 6px; font-size: 14px; line-height: 1.4;
}
.eh-plan-bar.is-warn { background: #fff7e6; border: 1px solid #f5c26b; color: #7a4a00; }
.eh-plan-bar.is-expired { background: #fdecea; border: 1px solid #f1a29b; color: #8a1c12; }
.eh-plan-bar button { margin-left: auto; }

.eh-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, 0.45); }
.eh-modal-card { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); color: var(--ink);
  border-radius: 10px; padding: 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25); }
.eh-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.eh-modal-head h2 { margin: 2px 0 0; font-size: 20px; }
.eh-eyebrow { display: block; margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.eh-plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.eh-plan-row strong { display: block; margin-top: 3px; font-size: 14px; }
.eh-plan-row .ok { color: var(--ok); } .eh-plan-row .bad { color: var(--danger); }
.eh-meter { margin: 10px 0; }
.eh-meter-head { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 5px; }
.eh-meter-track { height: 8px; border-radius: 99px; background: #e5e9f0; overflow: hidden; }
.eh-meter-track i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.eh-meter-track i.hot { background: var(--danger); }
.eh-renew { margin-top: 16px; padding: 12px; border-radius: 8px; background: #f3f8f8; font-size: 14px; line-height: 1.6; }
@media (max-width: 520px) { .eh-plan-row { grid-template-columns: 1fr; } }
.eh-logo-row { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.eh-logo-row img { max-height: 40px; max-width: 120px; }
.eh-logo-row label.file-btn { cursor: pointer; }
