/* Modern Dark Neon VIP Theme - safe visual layer */
:root{
  --vfm-theme-bg:#030817;
  --vfm-theme-bg-2:#06152f;
  --vfm-theme-surface:rgba(8,22,49,.86);
  --vfm-theme-surface-2:rgba(11,31,67,.92);
  --vfm-theme-border:rgba(86,214,255,.20);
  --vfm-theme-border-strong:rgba(0,214,255,.44);
  --vfm-theme-muted:#9eb7d5;
  --vfm-theme-text:#edfaff;
  --vfm-theme-primary:#00d5ff;
  --vfm-theme-primary-dark:#008dff;
  --vfm-theme-accent:#7c5cff;
  --vfm-theme-success:#22f1a6;
  --vfm-theme-radius:22px;
  --vfm-theme-shadow:0 24px 70px rgba(0,0,0,.36);
  --vfm-theme-glow:0 0 38px rgba(0,213,255,.20);
}
html{scroll-behavior:smooth;}
body.vfm-body{
  min-height:100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,213,255,.24), transparent 29rem),
    radial-gradient(circle at 88% 10%, rgba(124,92,255,.22), transparent 31rem),
    radial-gradient(circle at 50% 100%, rgba(0,96,255,.16), transparent 34rem),
    linear-gradient(180deg,var(--vfm-theme-bg) 0%,#020612 55%,#04091a 100%)!important;
  color:var(--vfm-theme-text)!important;
}
body.vfm-body:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.62), transparent 76%);
}
.vfm-body a{color:#7ee7ff;}
.vfm-body a:hover{color:#ffffff;}
.vfm-body .container{max-width:1180px;}
.vfm-body .container>.main-content{gap:.85rem 0;}
.vfm-body .navbar.bg-dark{
  background:rgba(3,10,28,.82)!important;
  border-bottom:1px solid var(--vfm-theme-border);
  box-shadow:0 18px 50px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(18px);
}
.vfm-body .navbar .navbar-brand,
.vfm-body .navbar .nav-link,
.vfm-body .navbar .navbar-toggler{color:var(--vfm-theme-text)!important;}
.vfm-body .navbar-brand{
  font-weight:900;
  letter-spacing:-.04em;
  text-shadow:0 0 18px rgba(0,213,255,.24);
}
.vfm-body .navbar .nav-link{
  border-radius:999px;
  margin:.12rem;
  font-weight:700;
  color:#c9e6ff!important;
}
.vfm-body .navbar .nav-link:hover,
.vfm-body .navbar .nav-link:focus{
  background:rgba(0,213,255,.10);
  color:#fff!important;
}
.vfm-body .dropdown-menu{
  background:#07162f;
  border:1px solid var(--vfm-theme-border);
  border-radius:18px;
  box-shadow:0 26px 70px rgba(0,0,0,.42);
}
.vfm-body .dropdown-item{color:#d9f6ff;}
.vfm-body .dropdown-item:hover{background:rgba(0,213,255,.12);color:#fff;}
.vfm-body .vfm-header{position:relative;z-index:1;}
.vfm-body .head-banner img{filter:drop-shadow(0 20px 36px rgba(0,213,255,.18));max-height:130px;}
.vfm-body .description{
  color:#c9e6ff;
  background:rgba(5,18,42,.62);
  border:1px solid var(--vfm-theme-border);
  border-radius:var(--vfm-theme-radius);
  padding:1.1rem 1.25rem;
  box-shadow:var(--vfm-theme-glow);
}
.vfm-neon-hero{
  padding:clamp(2rem,5vw,5rem) 0 clamp(1.25rem,3vw,2.5rem);
  position:relative;
  overflow:hidden;
}
.vfm-neon-hero:after{
  content:"";
  position:absolute;
  width:34rem;
  height:34rem;
  right:-18rem;
  top:-14rem;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,213,255,.20), transparent 62%);
  pointer-events:none;
}
.vfm-neon-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  gap:clamp(1.2rem,4vw,3rem);
  align-items:center;
}
.vfm-neon-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.42rem .78rem;
  border:1px solid var(--vfm-theme-border-strong);
  border-radius:999px;
  color:#aaf2ff;
  background:rgba(0,213,255,.10);
  box-shadow:0 0 26px rgba(0,213,255,.12);
  font-weight:800;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.vfm-neon-hero h1{
  margin:.95rem 0 .85rem;
  max-width:790px;
  color:#fff;
  font-size:clamp(2.2rem,6vw,5.2rem);
  line-height:.94;
  font-weight:950;
  letter-spacing:-.075em;
  text-shadow:0 0 40px rgba(0,213,255,.22);
}
.vfm-neon-hero p{
  max-width:680px;
  color:#b7cde8;
  font-size:clamp(1rem,1.6vw,1.22rem);
  line-height:1.72;
  margin-bottom:1.3rem;
}
.vfm-neon-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  align-items:center;
}
.vfm-neon-hero-panel{position:relative;}
.vfm-neon-panel-glow{
  position:absolute;
  inset:-18px;
  background:linear-gradient(135deg, rgba(0,213,255,.30), rgba(124,92,255,.24));
  filter:blur(26px);
  border-radius:34px;
  opacity:.70;
}
.vfm-neon-dashboard-card{
  position:relative;
  padding:1.25rem;
  border-radius:30px;
  background:
    linear-gradient(180deg,rgba(9,25,56,.92),rgba(4,13,32,.92)),
    radial-gradient(circle at 0 0, rgba(0,213,255,.20), transparent 45%);
  border:1px solid var(--vfm-theme-border-strong);
  box-shadow:0 32px 90px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.10);
  overflow:hidden;
}
.vfm-neon-dashboard-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.08) 44%, transparent 48%);
  transform:translateX(-44%);
  pointer-events:none;
}
.vfm-neon-dashboard-head,
.vfm-neon-metrics{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.vfm-neon-dashboard-head{font-weight:800;color:#eaffff;margin-bottom:1.2rem;}
.vfm-neon-live{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  border:1px solid rgba(34,241,166,.34);
  background:rgba(34,241,166,.11);
  color:#8fffd0;
  border-radius:999px;
  padding:.32rem .62rem;
  font-size:.78rem;
}
.vfm-neon-live:before{
  content:"";
  width:.42rem;
  height:.42rem;
  border-radius:50%;
  background:var(--vfm-theme-success);
  box-shadow:0 0 14px var(--vfm-theme-success);
}
.vfm-neon-metric-main{
  padding:1rem;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:rgba(255,255,255,.045);
  margin-bottom:1rem;
}
.vfm-neon-metric-main small,
.vfm-neon-metrics small{display:block;color:#97b2d2;font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;}
.vfm-neon-metric-main strong{display:block;color:#fff;font-size:clamp(1.45rem,3vw,2rem);line-height:1.05;letter-spacing:-.04em;}
.vfm-neon-metrics>div{
  flex:1;
  padding:1rem;
  background:rgba(0,213,255,.065);
  border:1px solid rgba(0,213,255,.16);
  border-radius:20px;
}
.vfm-neon-metrics strong{display:block;margin-top:.2rem;color:#fff;font-size:1.25rem;}
.vfm-neon-progress{height:.72rem;background:rgba(255,255,255,.08);border-radius:999px;margin:1.1rem 0;overflow:hidden;}
.vfm-neon-progress span{display:block;width:72%;height:100%;border-radius:999px;background:linear-gradient(90deg,#00d5ff,#7c5cff);box-shadow:0 0 22px rgba(0,213,255,.42);}
.vfm-neon-panel-note{font-size:.92rem!important;margin:0!important;color:#a9c2df!important;line-height:1.55!important;}
.vfm-body .card,
.vfm-body .modal-content,
.vfm-body .vfmblock,
.vfm-body .tableblock,
.vfm-body .login .card,
.vfm-body #dwnldpwd .card,
.vfm-body .bg-light-lighter,
.vfm-body .bg-light{
  border:1px solid var(--vfm-theme-border)!important;
  border-radius:var(--vfm-theme-radius)!important;
  background:var(--vfm-theme-surface)!important;
  box-shadow:var(--vfm-theme-shadow)!important;
  color:var(--vfm-theme-text)!important;
  overflow:hidden;
}
.vfm-body .card-header,
.vfm-body .modal-header{
  background:linear-gradient(135deg,rgba(0,213,255,.18),rgba(124,92,255,.12))!important;
  border-bottom:1px solid var(--vfm-theme-border)!important;
  color:#fff!important;
  font-weight:800;
}
.vfm-body .card-body,
.vfm-body .modal-body{color:#dff7ff;}
.vfm-body .text-muted{color:var(--vfm-theme-muted)!important;}
.vfm-body .breadcrumb{
  background:rgba(6,19,44,.78)!important;
  border:1px solid var(--vfm-theme-border);
  border-radius:999px;
  box-shadow:var(--vfm-theme-glow);
  padding:.76rem 1rem!important;
}
.vfm-body .breadcrumb,
.vfm-body .breadcrumb .breadcrumb-item,
.vfm-body .breadcrumb a{color:#c8edff!important;text-decoration:none;font-weight:700;}
.vfm-body .breadcrumb a:hover{color:#fff!important;}
.vfm-body .form-control,
.vfm-body .form-select,
.vfm-body .input-group-text{
  color:#edfaff!important;
  border-color:rgba(0,213,255,.20)!important;
  border-radius:16px!important;
  background:rgba(2,10,26,.72)!important;
}
.vfm-body .form-control::placeholder{color:#88a2bf!important;}
.vfm-body .form-control:focus,
.vfm-body .form-select:focus{
  border-color:var(--vfm-theme-primary)!important;
  box-shadow:0 0 0 .22rem rgba(0,213,255,.16)!important;
}
.vfm-body .input-group>.form-control:not(:first-child),
.vfm-body .input-group>.form-select:not(:first-child){border-top-left-radius:0!important;border-bottom-left-radius:0!important;}
.vfm-body .input-group>.form-control:not(:last-child),
.vfm-body .input-group>.form-select:not(:last-child){border-top-right-radius:0!important;border-bottom-right-radius:0!important;}
.vfm-body .btn,
.vfm-body .btn-group>.btn{
  border-radius:16px!important;
  font-weight:850;
  letter-spacing:-.01em;
}
.vfm-body .btn-primary,
.vfm-body .btn-success{
  color:#001324!important;
  background:linear-gradient(135deg,#00d5ff,#55f3ff 52%,#7c5cff)!important;
  border-color:rgba(121,238,255,.80)!important;
  box-shadow:0 14px 34px rgba(0,213,255,.24), inset 0 1px 0 rgba(255,255,255,.45)!important;
}
.vfm-body .btn-primary:hover,
.vfm-body .btn-success:hover{transform:translateY(-1px);filter:brightness(1.06);}
.vfm-body .btn-outline-primary{
  border-color:rgba(0,213,255,.50)!important;
  color:#c8f6ff!important;
  background:rgba(0,213,255,.06)!important;
}
.vfm-body .btn-outline-primary:hover{background:rgba(0,213,255,.16)!important;color:#fff!important;}
.vfm-body .btn-secondary{background:rgba(124,140,170,.22)!important;border-color:rgba(255,255,255,.12)!important;color:#dcefff!important;}
.vfm-body .main-btn,
.vfm-body .fileitem .btn,
.vfm-body .diritem .btn{transition:transform .18s ease, box-shadow .18s ease, background .18s ease;}
.vfm-body .btn-group:hover .main-btn,
.vfm-body .fileitem:hover .btn,
.vfm-body .diritem:hover .btn{transform:translateY(-1px);box-shadow:0 18px 36px rgba(0,213,255,.18)!important;}
.vfm-body .table{color:#dff7ff!important;margin-bottom:0;}
.vfm-body .table>:not(caption)>*>*{background:transparent!important;color:inherit;border-color:rgba(122,213,255,.14)!important;}
.vfm-body .table thead tr,
.vfm-body .rowa.one{background:rgba(0,213,255,.08)!important;color:#c9f5ff!important;}
.vfm-body .table tbody tr:hover{background:rgba(0,213,255,.075)!important;}
.vfm-body .badge.bg-light,
.vfm-body .badge.text-dark{
  background:rgba(0,213,255,.10)!important;
  color:#c9f8ff!important;
  border-color:rgba(0,213,255,.25)!important;
}
.vfm-body .alert{
  border-radius:18px!important;
  border:1px solid var(--vfm-theme-border)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.22);
}
.vfm-body .alert-success{background:rgba(34,241,166,.10)!important;color:#c8ffe9!important;border-color:rgba(34,241,166,.32)!important;}
.vfm-body .alert-warning{background:rgba(255,193,7,.11)!important;color:#ffe8a6!important;border-color:rgba(255,193,7,.28)!important;}
.vfm-body .alert-danger{background:rgba(255,75,110,.12)!important;color:#ffd5dd!important;border-color:rgba(255,75,110,.28)!important;}
.vfm-body .uploadarea .input-group,
.vfm-body #newdir_container,
.vfm-body #upload_container{
  border-radius:20px;
  box-shadow:0 16px 40px rgba(0,0,0,.22);
}
.vfm-body .progress{height:.76rem;border-radius:999px;background:rgba(255,255,255,.08)!important;}
.vfm-body .progress-bar{background:linear-gradient(90deg,#22f1a6,#00d5ff,#7c5cff)!important;}
.vfm-body footer,.vfm-body .footer{
  color:#91abc9!important;
  background:rgba(2,8,22,.72)!important;
  border-top:1px solid var(--vfm-theme-border);
  backdrop-filter:blur(16px);
}
.vfm-body footer a{color:#bdf7ff;text-decoration:none;}
/* VIP subscription plans */
.vfm-vip-plans{
  width:100%;
  padding:1.1rem;
  border:1px solid rgba(0,213,255,.18);
  border-radius:28px;
  background:linear-gradient(180deg,rgba(6,18,42,.74),rgba(4,11,28,.62));
  box-shadow:var(--vfm-theme-glow);
}
.vfm-vip-plans h3{color:#fff;font-weight:950;letter-spacing:-.04em;}
.vfm-vip-plans .card{
  border-radius:24px!important;
  overflow:hidden;
  transform:translateY(0);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.vfm-vip-plans .card:hover{transform:translateY(-4px);border-color:rgba(0,213,255,.44)!important;box-shadow:0 28px 75px rgba(0,213,255,.16)!important;}
.vfm-vip-plans .vip-featured{transform:translateY(-4px);border-color:rgba(0,213,255,.65)!important;}
.vfm-vip-plans .vip-featured .card-header{background:linear-gradient(135deg,#00d5ff,#7c5cff)!important;color:#001324!important;text-transform:uppercase;letter-spacing:.07em;font-size:.78rem;}
.vfm-vip-plans .display-6{color:#fff;text-shadow:0 0 24px rgba(0,213,255,.22);}
.vfm-vip-status{border-radius:20px!important;}
.vfm-vip-client-area .card{background:var(--vfm-theme-surface-2)!important;}
.vfm-body .switchview{filter:drop-shadow(0 0 12px rgba(0,213,255,.35));}
.vfm-body .to-top{background:linear-gradient(135deg,#00d5ff,#7c5cff)!important;color:#001324!important;box-shadow:0 16px 34px rgba(0,213,255,.24);}
@media (max-width:991.98px){
  .vfm-neon-hero-grid{grid-template-columns:1fr;}
  .vfm-neon-hero{padding-top:2.2rem;}
  .vfm-neon-dashboard-card{max-width:560px;margin:0 auto;}
}
@media (max-width:575.98px){
  .vfm-neon-actions .btn{width:100%;}
  .vfm-neon-metrics{flex-direction:column;align-items:stretch;}
  .vfm-body .breadcrumb{border-radius:18px;}
  .vfm-vip-plans{padding:.8rem;border-radius:22px;}
  .vfm-body .action-group .btn-group,
  .vfm-body .action-group .btn{width:100%;margin-bottom:.45rem;}
  .vfm-body .switchview{margin-left:0!important;}
}


/* Área VIP: compra avulsa por PIX/WhatsApp */
.vfm-extra-download{
  background:linear-gradient(145deg,rgba(5,22,45,.92),rgba(8,14,32,.96));
  border:1px solid rgba(0,213,255,.22)!important;
  color:#e9fbff;
  border-radius:20px;
  overflow:hidden;
}
.vfm-extra-download .card-header{
  background:rgba(0,213,255,.08);
  border-bottom:1px solid rgba(0,213,255,.16);
}
.vfm-extra-download .card-body,
.vfm-extra-download .text-muted{color:rgba(233,251,255,.76)!important;}
.vfm-extra-pix-box{
  border:1px solid rgba(0,213,255,.18);
  background:rgba(0,0,0,.18);
  border-radius:16px;
  padding:1rem;
}
.vfm-extra-pix-box .form-control{
  background:rgba(255,255,255,.95);
  border:0;
}

/* Área VIP: upgrade de plano e popup de renovação */
.vfm-plan-change-box{
  border:1px solid rgba(0,213,255,.18);
  border-radius:18px;
  background:rgba(0,213,255,.06);
  padding:1rem;
}
.vfm-plan-change-card{
  background:rgba(3,16,36,.86)!important;
  border:1px solid rgba(0,213,255,.15)!important;
  color:#e9fbff!important;
  border-radius:18px!important;
}
.vfm-plan-change-card.vfm-plan-current{
  border-color:rgba(34,241,166,.44)!important;
  box-shadow:0 14px 34px rgba(34,241,166,.08)!important;
}
.vfm-vip-renewal-modal .modal-content{
  background:linear-gradient(145deg,rgba(5,18,42,.98),rgba(8,12,28,.98));
  color:#e9fbff;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(0,213,255,.25)!important;
}
.vfm-vip-renewal-modal .modal-body .text-muted{color:rgba(233,251,255,.68)!important;}
.vfm-vip-renewal-modal[data-locked="1"] .modal-footer .btn-secondary[disabled]{opacity:.8;}
.vfm-vip-renewal-modal[data-locked="1"] .modal-content{
  box-shadow:0 0 0 1px rgba(255,75,110,.25),0 30px 100px rgba(255,75,110,.22)!important;
}


/* Área VIP: avisos globais e aviso de arquivo novo */
.vfm-vip-global-modal .modal-content,
.vfm-vip-file-modal .modal-content{
  background:linear-gradient(145deg,rgba(5,16,34,.98),rgba(9,33,62,.98));
  color:#e9fbff;
  border:1px solid rgba(0,213,255,.22)!important;
  box-shadow:0 26px 90px rgba(0,0,0,.45),0 0 45px rgba(0,213,255,.14)!important;
  border-radius:24px;
}
.vfm-vip-global-modal .modal-header,
.vfm-vip-file-modal .modal-header,
.vfm-vip-global-modal .modal-footer,
.vfm-vip-file-modal .modal-footer{border-color:rgba(0,213,255,.16);}
.vfm-vip-global-modal .modal-title,
.vfm-vip-file-modal .modal-title{font-weight:900;color:#fff;}
.vfm-vip-global-modal .btn-close,
.vfm-vip-file-modal .btn-close{filter:invert(1) grayscale(100%);opacity:.82;}
.vfm-new-file-details{display:grid;gap:.75rem;margin-top:1rem;}
.vfm-new-file-details>div{padding:.85rem 1rem;border-radius:16px;background:rgba(255,255,255,.055);border:1px solid rgba(0,213,255,.14);}
.vfm-new-file-details small{display:block;color:rgba(233,251,255,.62);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;}
.vfm-new-file-details strong{display:block;color:#fff;word-break:break-word;}



/* Ícones personalizados de arquivos/pastas e correção do nome no modo grade */
.vfm-body .vfm-custom-icon-holder{
  background:linear-gradient(145deg,rgba(0,213,255,.10),rgba(124,92,255,.10));
  border:1px solid rgba(0,213,255,.18);
  border-radius:18px;
}
.vfm-body .vfm-custom-file-icon{
  display:block;
  max-width:68%;
  max-height:68%;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(0,213,255,.22));
}
.vfm-body .gridview .vfm-custom-file-icon{
  max-width:58%;
  max-height:58%;
}
.vfm-body #foldertable .vfm-custom-folder-icon{
  display:inline-block;
  width:1.65rem;
  height:1.65rem;
  object-fit:contain;
  margin-right:.45rem;
  vertical-align:-.42rem;
  filter:drop-shadow(0 7px 12px rgba(0,213,255,.20));
}
.vfm-body .gridview tbody>.rowa .name .relative,
.vfm-body .gridview .grid-item-title{
  background:rgba(3,13,32,.94)!important;
  color:#ffffff!important;
  border:1px solid rgba(0,213,255,.20)!important;
  box-shadow:0 12px 28px rgba(0,0,0,.32)!important;
}
.vfm-body .gridview .grid-item-title{
  border-radius:0 0 16px 16px!important;
  backdrop-filter:blur(10px);
}
.vfm-body .gridview .grid-item-title span,
.vfm-body .gridview .grid-item-title .overflowed,
.vfm-body .gridview tbody>.rowa .name,
.vfm-body .gridview tbody>.rowa .name a{
  color:#ffffff!important;
  text-shadow:0 1px 8px rgba(0,0,0,.55);
}
.vfm-body .gridview .gridbody>.rowa .itemicon .item{
  background:linear-gradient(160deg,rgba(5,18,42,.88),rgba(8,24,54,.82))!important;
  border:1px solid rgba(0,213,255,.20)!important;
  border-radius:18px 18px 0 0!important;
  overflow:hidden;
}
.vfm-body .gridview .gridbody>.rowa:hover .itemicon .item{
  border-color:rgba(0,213,255,.44)!important;
  box-shadow:0 20px 48px rgba(0,213,255,.18)!important;
}


/* Correção da área do cliente de revenda e edição de clientes */
.vfm-reseller-client-summary-card,
.vfm-reseller-client-summary-card .card-body,
.vfm-reseller-client-box,
.vfm-reseller-client-box .card-body{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
.vfm-reseller-client-stat{
  background:rgba(3,16,36,.72);
  border:1px solid rgba(0,213,255,.16);
  border-radius:16px;
  padding:1rem;
}
.vfm-reseller-client-renew-compact{
  display:block;
  width:100%;
  min-width:0;
  padding:.85rem;
  border-radius:16px;
  background:rgba(0,213,255,.08);
  border:1px solid rgba(0,213,255,.16);
  overflow:visible!important;
}
.vfm-reseller-client-actions .btn,
.vfm-reseller-client-actions .badge{
  white-space:nowrap;
}
.vfm-reseller-edit-row td{
  background:rgba(3,16,36,.78)!important;
  border-top:1px solid rgba(0,213,255,.18)!important;
  padding:1rem!important;
}
.vfm-reseller-edit-form{
  border:1px solid rgba(0,213,255,.18);
  border-radius:18px;
  padding:1rem;
  background:linear-gradient(135deg,rgba(0,213,255,.08),rgba(124,92,255,.07));
}
@media(max-width:767.98px){
  .vfm-reseller-client-actions{width:100%;}
  .vfm-reseller-client-actions .btn,.vfm-reseller-client-actions .badge{width:100%;justify-content:center;}
  .vfm-reseller-edit-form{padding:.85rem;}
}

/* Painel visual de status do servidor VIP na home */
.vfm-neon-server-status{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.65rem;
  margin-top:1rem;
}
.vfm-neon-status-tile{
  position:relative;
  min-width:0;
  padding:.78rem .82rem;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(0,213,255,.08),rgba(124,92,255,.045));
  border:1px solid rgba(0,213,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07), 0 10px 24px rgba(0,0,0,.18);
  overflow:hidden;
}
.vfm-neon-status-tile:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 100% 0%,rgba(0,213,255,.16),transparent 45%);
  pointer-events:none;
}
.vfm-neon-status-tile small{
  position:relative;
  display:block;
  color:#94b8d9;
  font-weight:800;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.075em;
  margin-bottom:.2rem;
}
.vfm-neon-status-tile strong{
  position:relative;
  display:flex;
  align-items:center;
  gap:.38rem;
  color:#fff;
  font-size:.98rem;
  line-height:1.15;
  white-space:normal;
}
.vfm-neon-status-dot{
  width:.52rem;
  height:.52rem;
  flex:0 0 .52rem;
  border-radius:999px;
  background:#22f1a6;
  box-shadow:0 0 16px #22f1a6;
}
.vfm-neon-status-online{
  border-color:rgba(34,241,166,.26);
  background:linear-gradient(180deg,rgba(34,241,166,.10),rgba(0,213,255,.05));
}
.vfm-neon-status-wide{
  grid-column:1 / -1;
}
.vfm-neon-mini-progress{
  position:relative;
  height:.38rem;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  margin-top:.55rem;
  overflow:hidden;
}
.vfm-neon-mini-progress span{
  display:block;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#00d5ff,#7c5cff,#22f1a6);
  box-shadow:0 0 18px rgba(0,213,255,.40);
  transition:width .55s ease;
}
@media(max-width:420px){
  .vfm-neon-server-status{grid-template-columns:1fr;}
  .vfm-neon-status-wide{grid-column:auto;}
}


/* Segurança do acesso do cliente */
.vfm-security-access-box {
    border: 1px solid rgba(0, 188, 255, .22);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(4, 16, 34, .92), rgba(8, 34, 64, .86));
    box-shadow: 0 16px 40px rgba(0, 0, 0, .20), inset 0 0 0 1px rgba(255,255,255,.04);
    overflow: visible !important;
}
.vfm-security-access-item {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255,255,255,.045);
    overflow-wrap: anywhere;
}
.vfm-security-access-item strong {
    color: #ffffff;
    line-height: 1.35;
}
.vfm-security-access-note {
    font-size: .86rem;
    color: rgba(255,255,255,.72);
}
.vfm-vip-client-area .card-body,
.vfm-reseller-client-summary-card .card-body {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
}
@media (max-width: 576px) {
    .vfm-security-access-box {
        padding: 13px;
        border-radius: 16px;
    }
    .vfm-security-access-item {
        padding: 11px 12px;
    }
}

/* Ajustes finais: menu IP, popup pessoal e avisos AJAX de download */
.vfm-download-toast-stack{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:1080;
  display:flex;
  flex-direction:column;
  gap:10px;
  max-width:min(360px, calc(100vw - 28px));
  pointer-events:none;
}
.vfm-download-toast{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:14px 14px;
  border:1px solid rgba(0,213,255,.38);
  border-radius:18px;
  background:linear-gradient(135deg, rgba(3,10,28,.96), rgba(8,25,58,.94));
  color:#fff;
  box-shadow:0 18px 45px rgba(0,0,0,.42), 0 0 22px rgba(0,213,255,.18);
  opacity:0;
  transform:translateY(18px) scale(.98);
  transition:opacity .28s ease, transform .28s ease;
  pointer-events:auto;
  overflow:hidden;
}
.vfm-download-toast:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 20%, rgba(31,224,255,.2), transparent 34%);
  pointer-events:none;
}
.vfm-download-toast.is-visible{opacity:1; transform:translateY(0) scale(1);}
.vfm-download-toast-icon{
  width:38px;
  height:38px;
  min-width:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:rgba(0,213,255,.12);
  color:#49e7ff;
  box-shadow:inset 0 0 16px rgba(0,213,255,.18);
  position:relative;
  z-index:1;
}
.vfm-download-toast-body{position:relative; z-index:1; flex:1; min-width:0;}
.vfm-download-toast-body strong{display:block; font-size:.95rem; margin-bottom:2px; color:#eafaff;}
.vfm-download-toast-body span{display:block; font-size:.86rem; color:rgba(235,248,255,.82); word-break:break-word;}
.vfm-download-toast-close{
  position:relative;
  z-index:1;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.72);
  font-size:1.2rem;
  line-height:1;
  padding:0 0 0 4px;
  cursor:pointer;
}
.vfm-personal-user-message-modal{
  border:1px solid rgba(0,213,255,.28);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 25px 65px rgba(0,0,0,.42), 0 0 28px rgba(0,213,255,.12);
}
@media (max-width: 575.98px){
  .vfm-download-toast-stack{right:10px; left:10px; bottom:10px; max-width:none;}
  .vfm-download-toast{border-radius:16px; padding:12px;}
}


/* Contador AJAX de pessoas online na página principal */
.vfm-online-presence-card{
  margin-top:1rem;
  padding:.9rem;
  border-radius:18px;
  background:linear-gradient(135deg,rgba(34,241,166,.10),rgba(0,213,255,.07),rgba(124,92,255,.07));
  border:1px solid rgba(34,241,166,.25);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07),0 14px 34px rgba(0,0,0,.20);
}
.vfm-online-presence-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-bottom:.75rem;
}
.vfm-online-presence-head small{
  display:block;
  color:#94b8d9;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.vfm-online-presence-head strong{
  display:flex;
  align-items:center;
  gap:.4rem;
  color:#fff;
  font-size:.88rem;
}
.vfm-online-live-dot{
  width:.52rem;
  height:.52rem;
  border-radius:999px;
  background:#22f1a6;
  box-shadow:0 0 15px #22f1a6;
  animation:vfm-online-pulse 1.5s ease-in-out infinite;
}
.vfm-online-last-update{
  color:#8beeff;
  font-size:.72rem;
  font-weight:700;
  white-space:nowrap;
}
.vfm-online-presence-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.55rem;
}
.vfm-online-presence-item{
  min-width:0;
  display:flex;
  align-items:center;
  gap:.55rem;
  padding:.68rem;
  border-radius:14px;
  background:rgba(3,16,36,.62);
  border:1px solid rgba(0,213,255,.15);
}
.vfm-online-presence-item>i{
  flex:0 0 auto;
  color:#66f3ff;
  font-size:1rem;
}
.vfm-online-presence-item small{
  display:block;
  color:#94b8d9;
  font-size:.62rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.045em;
  white-space:nowrap;
}
.vfm-online-presence-item strong{
  display:block;
  color:#fff;
  font-size:1.08rem;
  line-height:1.05;
}
.vfm-online-presence-total{
  border-color:rgba(34,241,166,.25);
  background:rgba(34,241,166,.07);
}
.vfm-online-presence-total>i{color:#22f1a6;}
@keyframes vfm-online-pulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.55;transform:scale(.82)}
}
@media(max-width:767.98px){
  .vfm-online-presence-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px){
  .vfm-online-presence-head{align-items:flex-start;flex-direction:column;}
  .vfm-online-last-update{white-space:normal;}
}
