/* Vchat 0.65.53 — Billing Production UX
 * Premium Nexo billing surfaces + modal-first financial feedback.
 */
.vchat-frontend-app .vchat-billing-account-summary{
  position:relative;overflow:hidden;margin:0 0 24px;padding:0!important;
  border:1px solid rgba(111,95,220,.20)!important;border-radius:28px!important;
  background:linear-gradient(145deg,#fff 0%,#fbfaff 55%,#f5fbff 100%)!important;
  box-shadow:0 22px 60px rgba(37,28,82,.075)!important;
}
.vchat-frontend-app .vchat-billing-account-summary::before{
  content:"";position:absolute;inset:0 0 auto 0;height:4px;
  background:linear-gradient(90deg,#7657ef 0%,#5c68f4 42%,#32bff2 100%);
}
.vchat-frontend-app .vchat-billing-account-summary::after{
  content:"";position:absolute;width:280px;height:280px;right:-150px;top:-160px;border-radius:999px;
  background:radial-gradient(circle,rgba(56,189,248,.13),rgba(99,102,241,.055) 46%,transparent 72%);pointer-events:none;
}
.vchat-frontend-app .vchat-billing-account-summary-head{
  position:relative;z-index:1;display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:18px!important;margin:0!important;padding:24px 26px 20px!important;border-bottom:1px solid rgba(221,216,241,.68);
}
.vchat-frontend-app .vchat-billing-account-title{display:flex;align-items:center;gap:14px;min-width:0}
.vchat-frontend-app .vchat-billing-account-mark{
  position:relative;display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:15px;
  background:linear-gradient(135deg,#7857ed 0%,#5b6bf5 55%,#37bff2 100%);box-shadow:0 12px 28px rgba(92,82,214,.22);
}
.vchat-frontend-app .vchat-billing-account-mark i,.vchat-frontend-app .vchat-billing-account-mark b{position:absolute;border-radius:999px;background:#fff}
.vchat-frontend-app .vchat-billing-account-mark i{width:17px;height:17px;left:9px;top:10px;opacity:.98}
.vchat-frontend-app .vchat-billing-account-mark b{width:13px;height:13px;right:8px;bottom:8px;opacity:.68}
.vchat-frontend-app .vchat-billing-account-summary-head small{display:block!important;margin:0 0 3px!important;color:#7568b4!important;font-size:10px!important;font-weight:950!important;letter-spacing:.14em!important;text-transform:uppercase}
.vchat-frontend-app .vchat-billing-account-summary-head h2{margin:0!important;color:#19152f!important;font-size:25px!important;line-height:1.1!important;letter-spacing:-.04em!important}
.vchat-frontend-app .vchat-billing-account-summary-head p{margin:5px 0 0;color:#77718b;font-size:12.5px;line-height:1.45}
.vchat-frontend-app .vchat-billing-account-summary-head>span{
  position:relative;z-index:2;padding:9px 13px!important;border:1px solid #ded8f3!important;border-radius:999px!important;
  background:#f6f3ff!important;color:#5d49b7!important;font-size:11px!important;font-weight:900!important;box-shadow:0 6px 18px rgba(53,43,98,.05)
}
.vchat-frontend-app .vchat-billing-account-summary-head>span[data-status="active"],
.vchat-frontend-app .vchat-billing-account-summary-head>span[data-status="trialing"]{border-color:#ccebdc!important;background:#eaf9f1!important;color:#15774d!important}
.vchat-frontend-app .vchat-billing-account-summary-head>span[data-status="past_due"],
.vchat-frontend-app .vchat-billing-account-summary-head>span[data-status="incomplete"]{border-color:#efd7a7!important;background:#fff6e7!important;color:#9b6509!important}
.vchat-frontend-app .vchat-billing-account-summary-grid{
  position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:18px 20px 8px!important;
}
.vchat-frontend-app .vchat-billing-account-summary-grid article{
  display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0;padding:15px!important;border:1px solid rgba(224,219,243,.82)!important;
  border-radius:18px!important;background:rgba(255,255,255,.82)!important;box-shadow:0 8px 24px rgba(39,30,76,.035)!important;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.vchat-frontend-app .vchat-billing-account-summary-grid article:hover{transform:translateY(-1px);border-color:#cfc5f1!important;box-shadow:0 12px 28px rgba(55,43,107,.065)!important}
.vchat-frontend-app .vchat-billing-metric-icon{
  display:grid;place-items:center;width:31px;height:31px;flex:0 0 31px;border-radius:10px;background:linear-gradient(145deg,#f3efff,#eef9ff);color:#6555d6;font-size:15px;font-weight:950
}
.vchat-frontend-app .vchat-billing-account-summary-grid article[data-billing-metric="next"] .vchat-billing-metric-icon{color:#267fc8}
.vchat-frontend-app .vchat-billing-account-summary-grid article[data-billing-metric="payment"] .vchat-billing-metric-icon{color:#8a4fd5}
.vchat-frontend-app .vchat-billing-account-summary-grid article[data-billing-metric="invoice"] .vchat-billing-metric-icon{color:#16835a;background:linear-gradient(145deg,#edf9f3,#effbf8)}
.vchat-frontend-app .vchat-billing-account-summary-grid article>div:last-child{min-width:0}
.vchat-frontend-app .vchat-billing-account-summary-grid small{display:block!important;margin:0 0 6px!important;color:#948da8!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:.09em!important;text-transform:uppercase}
.vchat-frontend-app .vchat-billing-account-summary-grid strong{display:block!important;overflow:hidden;text-overflow:ellipsis;color:#28213f!important;font-size:14.5px!important;line-height:1.25!important;white-space:nowrap}
.vchat-frontend-app .vchat-billing-account-summary-grid span{display:block!important;margin-top:5px!important;color:#777187!important;font-size:11.3px!important;line-height:1.4!important}
.vchat-frontend-app .vchat-billing-account-actions{position:relative;z-index:1;display:flex!important;gap:10px!important;flex-wrap:wrap!important;margin:0!important;padding:12px 20px 20px!important}
.vchat-frontend-app .vchat-billing-account-actions button,.vchat-frontend-app .vchat-billing-account-actions a{
  min-height:42px;border:1px solid #ded7f1!important;border-radius:13px!important;padding:0 15px!important;background:#fff!important;color:#5f4ec4!important;text-decoration:none!important;font-size:12px!important;font-weight:850!important;cursor:pointer!important;transition:.18s ease!important
}
.vchat-frontend-app .vchat-billing-account-actions button:hover,.vchat-frontend-app .vchat-billing-account-actions a:hover{transform:translateY(-1px);border-color:#bfb3eb!important;box-shadow:0 8px 20px rgba(71,57,138,.08)!important}
.vchat-frontend-app .vchat-billing-account-actions .is-primary{border-color:transparent!important;background:linear-gradient(100deg,#7557ed,#40b9f3)!important;color:#fff!important;box-shadow:0 10px 24px rgba(92,79,204,.18)!important}
.vchat-frontend-app .vchat-billing-account-actions .is-danger{border-color:#f0cbd2!important;background:#fff4f5!important;color:#b33d50!important}

/* Keep inline status as a compact audit trail, but modal-first feedback means it no longer has to be found by scrolling. */
.vchat-frontend-app .vchat-billing-action-status{
  position:relative;overflow:hidden;margin:0 0 18px!important;padding:15px 17px 15px 19px!important;border-radius:17px!important;
  border:1px solid #ded8f1!important;background:linear-gradient(120deg,#faf9ff,#f7fbff)!important;box-shadow:0 10px 28px rgba(38,30,73,.045)!important
}
.vchat-frontend-app .vchat-billing-action-status::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#7459e6}
.vchat-frontend-app .vchat-billing-action-status.is-success{border-color:#c9ead9!important;background:linear-gradient(120deg,#f1fbf6,#f5fffb)!important}.vchat-frontend-app .vchat-billing-action-status.is-success::before{background:#25a66e}
.vchat-frontend-app .vchat-billing-action-status.is-warning{border-color:#ecd5a6!important;background:linear-gradient(120deg,#fff9ef,#fffdf8)!important}.vchat-frontend-app .vchat-billing-action-status.is-warning::before{background:#d69722}

/* Billing modal system */
html.vchat-billing-modal-open,html.vchat-billing-modal-open body{overflow:hidden!important}
#vchat-billing-modal.vchat-billing-modal{position:fixed;inset:0;z-index:2147483600;display:grid;place-items:center;padding:20px;box-sizing:border-box;font-family:inherit}
#vchat-billing-modal .vchat-billing-modal-backdrop{position:absolute;inset:0;background:rgba(16,12,35,.58);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#vchat-billing-modal .vchat-billing-modal-card{position:relative;z-index:1;width:min(560px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;border:1px solid rgba(222,215,244,.92);border-radius:28px;background:#fff;box-shadow:0 38px 110px rgba(24,17,57,.30);color:#211b36}
#vchat-billing-modal .vchat-billing-modal-accent{height:5px;background:linear-gradient(90deg,#7657ef,#5b6af4 48%,#35bff3)}
#vchat-billing-modal .vchat-billing-modal-body{padding:27px 28px 25px}
#vchat-billing-modal .vchat-billing-modal-heading{display:flex;align-items:flex-start;gap:14px}
#vchat-billing-modal .vchat-billing-modal-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:linear-gradient(135deg,#7858ee,#39bdf1);color:#fff;font-size:21px;font-weight:950;box-shadow:0 12px 28px rgba(92,78,205,.20)}
#vchat-billing-modal.is-success .vchat-billing-modal-icon{background:linear-gradient(135deg,#20a56f,#42caa0)}
#vchat-billing-modal.is-warning .vchat-billing-modal-icon{background:linear-gradient(135deg,#d99a2a,#f4b84f)}
#vchat-billing-modal.is-danger .vchat-billing-modal-icon{background:linear-gradient(135deg,#cb445b,#ef6f82)}
#vchat-billing-modal .vchat-billing-modal-kicker{display:block;margin:0 0 5px;color:#7467aa;font-size:10px;font-weight:950;letter-spacing:.14em;text-transform:uppercase}
#vchat-billing-modal h2{margin:0;color:#1b1730;font-size:25px;line-height:1.12;letter-spacing:-.04em}
#vchat-billing-modal .vchat-billing-modal-copy{margin:15px 0 0;color:#716a80;font-size:13.5px;line-height:1.6}
#vchat-billing-modal .vchat-billing-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0}
#vchat-billing-modal .vchat-billing-modal-grid>div{min-width:0;padding:13px 14px;border:1px solid #ebe6f7;border-radius:15px;background:linear-gradient(145deg,#fbfaff,#f9fcff)}
#vchat-billing-modal .vchat-billing-modal-grid small{display:block;margin-bottom:5px;color:#958ea7;font-size:9px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
#vchat-billing-modal .vchat-billing-modal-grid strong{display:block;overflow:hidden;text-overflow:ellipsis;color:#2c2543;font-size:13.5px;line-height:1.35}
#vchat-billing-modal .vchat-billing-modal-note{display:flex;gap:10px;margin:16px 0 0;padding:12px 13px;border-radius:14px;background:#f6f4ff;color:#655c79;font-size:11.5px;line-height:1.5}
#vchat-billing-modal .vchat-billing-modal-note::before{content:"i";display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border-radius:999px;background:#6e59d9;color:#fff;font-size:11px;font-weight:900}
#vchat-billing-modal .vchat-billing-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
#vchat-billing-modal .vchat-billing-modal-actions button,#vchat-billing-modal .vchat-billing-modal-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:13px;padding:0 18px;text-decoration:none;font:inherit;font-size:13px;font-weight:900;cursor:pointer}
#vchat-billing-modal .vchat-billing-modal-secondary{border:1px solid #ded8ed;background:#fff;color:#5c566b}
#vchat-billing-modal .vchat-billing-modal-primary{border:0;background:linear-gradient(100deg,#7557ed,#42baf3);color:#fff;box-shadow:0 11px 24px rgba(91,77,202,.20)}
#vchat-billing-modal.is-danger .vchat-billing-modal-primary{background:linear-gradient(100deg,#c9445c,#e86477)}
#vchat-billing-modal .vchat-billing-modal-close{position:absolute;right:17px;top:17px;z-index:2;width:34px;height:34px;border:1px solid #e8e3f4;border-radius:11px;background:rgba(255,255,255,.88);color:#746d84;font-size:20px;line-height:1;cursor:pointer}
#vchat-billing-modal .vchat-billing-modal-spinner{width:34px;height:34px;margin:18px auto 0;border:3px solid #e9e3fb;border-top-color:#7258e7;border-radius:999px;animation:vchatBillingSpin .8s linear infinite}
@keyframes vchatBillingSpin{to{transform:rotate(360deg)}}
#vchat-billing-modal .vchat-billing-modal-live{margin-top:12px;text-align:center;color:#827a92;font-size:11px}
@media(max-width:980px){.vchat-frontend-app .vchat-billing-account-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){
  .vchat-frontend-app .vchat-billing-account-summary-head{align-items:flex-start!important;padding:22px 18px 17px!important}.vchat-frontend-app .vchat-billing-account-title{align-items:flex-start}.vchat-frontend-app .vchat-billing-account-summary-head p{display:none}
  .vchat-frontend-app .vchat-billing-account-summary-grid{grid-template-columns:1fr!important;padding:14px 14px 4px!important}.vchat-frontend-app .vchat-billing-account-actions{padding:10px 14px 16px!important}.vchat-frontend-app .vchat-billing-account-actions>*{width:100%!important;text-align:center!important;justify-content:center!important}
  #vchat-billing-modal.vchat-billing-modal{align-items:end;padding:10px}#vchat-billing-modal .vchat-billing-modal-card{border-radius:24px;max-height:calc(100vh - 20px)}#vchat-billing-modal .vchat-billing-modal-body{padding:24px 19px 20px}#vchat-billing-modal .vchat-billing-modal-grid{grid-template-columns:1fr}#vchat-billing-modal .vchat-billing-modal-actions{flex-direction:column-reverse}#vchat-billing-modal .vchat-billing-modal-actions>*{width:100%;box-sizing:border-box}
}
