
/* v7.94 — refino premium do painel de conta e avatar */
.account-backdrop{background:rgba(3,15,26,.46)!important;backdrop-filter:blur(7px)!important;-webkit-backdrop-filter:blur(7px)!important}
.account-drawer{
  position:fixed;
  background:linear-gradient(180deg,#fcfeff 0%,#f5fafc 100%)!important;
  border-left:1px solid rgba(15,95,168,.12)!important;
  box-shadow:-30px 0 72px rgba(2,16,28,.22)!important;
  overflow:auto;
}
.account-drawer::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,#36df9c 0%,#12b7aa 38%,#0f5fa8 100%);
}
.account-drawer-head{
  position:sticky;top:0;z-index:3;
  padding:14px 16px!important;
  background:rgba(252,254,255,.88)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.account-close{
  width:40px!important;height:40px!important;border-radius:12px!important;
  border:1px solid rgba(15,95,168,.16)!important;
  background:linear-gradient(180deg,#ffffff 0%,#f2f7fb 100%)!important;
  color:#0f2236!important;
  display:grid;place-items:center;
  box-shadow:0 8px 18px rgba(15,23,42,.06);
}
.account-close svg,.dimi-v794-svg{width:18px;height:18px;display:block;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.account-profile{
  position:relative;
  padding:22px 24px 18px!important;
  background:
    radial-gradient(circle at 20% 0%, rgba(54,223,156,.10), transparent 36%),
    radial-gradient(circle at 100% 0%, rgba(15,95,168,.08), transparent 30%),
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,251,253,.98))!important;
}
.account-profile::after{
  content:"";position:absolute;left:18px;right:18px;bottom:0;height:1px;
  background:linear-gradient(90deg,rgba(54,223,156,.08),rgba(15,95,168,.18),rgba(15,95,168,0));
}
.account-profile .user-avatar{
  width:86px!important;height:86px!important;min-width:86px!important;
  margin:0 auto 14px!important;
  border:4px solid rgba(255,255,255,.96);
  box-shadow:0 16px 34px rgba(3,18,32,.16),0 0 0 1px rgba(15,95,168,.08);
  background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;
}
.account-profile .user-avatar:hover,.account-profile .user-avatar:focus-visible{
  box-shadow:0 0 0 4px rgba(16,185,129,.14),0 18px 34px rgba(3,18,32,.18)!important;
}
.account-profile .user-avatar::after{
  content:""!important;
  right:-1px!important;bottom:-2px!important;
  width:28px!important;height:28px!important;border-radius:999px!important;
  background:linear-gradient(135deg,#10b981,#0f766e)!important;
  border:3px solid #fff!important;
  box-shadow:0 6px 16px rgba(3,18,32,.18)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;background-position:center!important;background-size:13px 13px!important;
}
.account-profile h3{font-size:18px!important;font-weight:800!important;color:#0f2236!important;letter-spacing:-.01em}
.account-profile p{font-size:12.5px!important;color:#64748b!important;line-height:1.5!important}
.account-status{
  margin-top:12px!important;padding:6px 12px!important;
  border:1px solid rgba(34,197,94,.18)!important;
  background:linear-gradient(180deg,#f1fcf6 0%,#e8faf0 100%)!important;
  color:#0f8a48!important;
  font-size:10.5px!important;font-weight:800!important;
}
.account-body{padding:18px!important;gap:14px!important}
.account-section{
  border:1px solid rgba(15,95,168,.12)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 30px rgba(2,16,28,.05)!important;
}
.account-section-title{
  padding:12px 14px!important;
  background:linear-gradient(180deg,#fbfeff,#f5fafc)!important;
  color:#5f6f86!important;
  font-size:10px!important;
  letter-spacing:.11em!important;
}
.account-info-row{
  grid-template-columns:92px 1fr!important;
  padding:12px 14px!important;
  border-bottom:1px solid rgba(15,95,168,.08)!important;
}
.account-info-row span{font-size:11px!important;color:#64748b!important}
.account-info-row b{font-size:13px!important;color:#0f172a!important;text-align:right!important}
.account-action{
  padding:0!important;border:0!important;background:transparent!important;
}
.account-action+.account-action{border-top:1px solid rgba(15,95,168,.08)!important}
.account-action--enhanced{display:flex!important;align-items:center!important;gap:12px!important;padding:14px!important;transition:.18s ease!important}
.account-action--enhanced:hover{background:linear-gradient(90deg,rgba(54,223,156,.07),rgba(15,95,168,.04))!important}
.account-action--enhanced .ico{
  width:40px!important;height:40px!important;min-width:40px!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#f0f7ff,#eefcf7)!important;
  border:1px solid rgba(15,95,168,.12)!important;
  color:#0f5fa8!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.account-action--enhanced .copy{display:grid;gap:2px;min-width:0;flex:1}
.account-action--enhanced .copy strong{font-size:14px;color:#0f2236;line-height:1.2}
.account-action--enhanced .copy small{font-size:11px;color:#6b7c93;line-height:1.35}
.account-action--enhanced .chev{display:grid;place-items:center;color:#8b9ab0;width:18px;height:18px;transition:transform .18s ease}
.account-action--enhanced:hover .chev{transform:translateX(2px);color:#0f5fa8}
.account-footer{padding:18px!important;border-top:1px solid rgba(15,95,168,.10)!important;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(248,251,253,.95))!important}
.account-footer .btn{min-height:46px!important;border-radius:14px!important;font-weight:800!important}
.dimi-v794-logout{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;
  background:linear-gradient(180deg,#fff6f4 0%,#ffe9e3 100%)!important;
  color:#cc4a32!important;border:1px solid rgba(234,88,12,.16)!important;
  box-shadow:none!important;
}
.dimi-v794-logout:hover{filter:saturate(1.02);transform:translateY(-1px)}
.dimi-v794-logout .btn-icon{display:grid;place-items:center;width:18px;height:18px}

#modal-root .modal.dimi-v794-data-modal,
#modal-root .modal.dimi-v794-photo-modal,
#modal-root .modal.dimi-v794-pass-modal{
  border:1px solid rgba(15,95,168,.12)!important;
  box-shadow:0 26px 70px rgba(3,18,32,.18)!important;
}
#modal-root .dimi-v794-data-modal .modal-header,
#modal-root .dimi-v794-photo-modal .modal-header,
#modal-root .dimi-v794-pass-modal .modal-header,
#modal-root .dimi-v794-data-modal .modal-footer,
#modal-root .dimi-v794-photo-modal .modal-footer,
#modal-root .dimi-v794-pass-modal .modal-footer{
  background:linear-gradient(180deg,#fcfeff,#f7fafc)!important;
}
#modal-root .dimi-v794-data-modal .modal-header h3,
#modal-root .dimi-v794-photo-modal .modal-header h3,
#modal-root .dimi-v794-pass-modal .modal-header h3{font-size:17px!important}
.dimi-v794-profile-hero{
  display:grid!important;grid-template-columns:86px minmax(0,1fr);gap:16px!important;align-items:center!important;
  margin-bottom:18px!important;padding:16px!important;border-radius:20px!important;
  border:1px solid rgba(15,95,168,.12)!important;
  background:linear-gradient(135deg,rgba(54,223,156,.08),rgba(15,95,168,.04) 56%,rgba(124,58,237,.05))!important;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.dimi-v794-profile-hero .user-avatar{width:86px!important;height:86px!important;min-width:86px!important;box-shadow:0 14px 30px rgba(3,18,32,.14)}
.dimi-v794-profile-hero .muted{font-size:12px!important;color:#607089!important}
.dimi-v794-profile-hero .btn.secondary{
  display:inline-flex;align-items:center;gap:8px;
  margin-top:10px!important;background:#eaf7f6!important;color:#0f646d!important;border:1px solid rgba(15,100,109,.12)!important;
}
.dimi-v794-data-modal .profile-view-grid{gap:12px!important}
.dimi-v794-data-modal .profile-view-item{
  border:1px solid rgba(15,95,168,.12)!important;
  border-radius:16px!important;
  padding:13px 14px!important;
  background:linear-gradient(180deg,#ffffff,#f9fbfc)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.04);
}
.dimi-v794-data-modal .profile-view-item span{color:#64748b!important;font-size:10px!important;letter-spacing:.09em!important}
.dimi-v794-data-modal .profile-view-item b{font-size:13px!important;color:#0f2236!important}
.dimi-v794-photo-modal .modal-body{padding:24px!important}
.dimi-v794-photo-modal .stack{gap:18px!important}
.dimi-v794-photo-hero{
  padding:16px 18px;border-radius:18px;border:1px solid rgba(15,95,168,.12);
  background:linear-gradient(135deg,rgba(54,223,156,.09),rgba(15,95,168,.04) 56%,rgba(124,58,237,.05));
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}
.dimi-v794-photo-hero b{display:block;font-size:14px;color:#0f2236;margin-bottom:5px}
.dimi-v794-photo-hero span{display:block;font-size:12px;color:#607089;line-height:1.55}
.dimi-v794-photo-modal .v4-warn{
  margin:0!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fffaf0,#f9f7ee)!important;
  border:1px solid rgba(196,158,67,.24)!important;
  color:#5b5d4b!important;
  font-size:12.5px!important;
}
#self-photo-preview{
  width:132px!important;height:132px!important;margin:2px auto 2px!important;
  background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;
  border:4px solid #fff!important;
  box-shadow:0 16px 34px rgba(3,18,32,.15),0 0 0 1px rgba(15,95,168,.10)!important;
}
#self-photo-preview>div{color:#fff!important}
.avatar-photo-hint{font-size:12px!important;font-weight:700!important;color:#61728a!important;margin-top:-6px!important}
.avatar-picker-title{font-size:12px!important;letter-spacing:.10em!important;text-transform:uppercase!important;color:#52657d!important;margin:2px 0 -4px!important}
.avatar-presets{gap:12px!important}
.avatar-preset-btn{
  border:1px solid rgba(15,95,168,.12)!important;
  background:linear-gradient(180deg,#ffffff,#f9fbfc)!important;
  border-radius:18px!important;
  padding:14px 10px!important;
  box-shadow:0 10px 22px rgba(15,23,42,.04);
}
.avatar-preset-btn:hover{border-color:rgba(15,95,168,.26)!important;box-shadow:0 14px 28px rgba(15,23,42,.07)!important}
.avatar-preset-btn.selected{border-color:#10b981!important;box-shadow:0 0 0 4px rgba(16,185,129,.10),0 14px 28px rgba(15,23,42,.07)!important}
.avatar-preset-btn .preset-avatar{
  width:64px!important;height:64px!important;border-radius:18px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 10px 18px rgba(15,23,42,.10);
}
.avatar-preset-btn small{font-size:11px!important;color:#52657d!important;font-weight:800!important}
.dimi-v794-file-actions{display:flex!important;gap:10px!important;justify-content:center!important;flex-wrap:wrap!important}
.dimi-v794-file-actions .btn{min-width:152px;border-radius:12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
.dimi-v794-file-actions .btn.secondary{background:#eff7fb!important;border:1px solid rgba(15,95,168,.12)!important;color:#0f5fa8!important}
.dimi-v794-file-actions .btn.danger{background:#fff4f2!important;border:1px solid rgba(234,88,12,.12)!important;color:#c2412d!important}
.dimi-v794-pass-modal .modal-body{padding:24px!important}
.dimi-v794-pass-modal label{font-size:12px!important;font-weight:800!important;color:#5b6d84!important}
.dimi-v794-pass-modal input{border-radius:12px!important}
.dimi-v794-pass-modal .v4-info{border-radius:14px!important;background:linear-gradient(180deg,#eff8ff,#eaf6ff)!important;border:1px solid rgba(14,165,233,.16)!important;color:#215a72!important}

html[data-theme="dark"] .account-drawer{background:linear-gradient(180deg,#08111f,#0a1526)!important;border-color:#213348!important}
html[data-theme="dark"] .account-drawer-head,
html[data-theme="dark"] .account-footer{background:rgba(10,21,38,.92)!important}
html[data-theme="dark"] .account-close,
html[data-theme="dark"] .account-section,
html[data-theme="dark"] .avatar-preset-btn,
html[data-theme="dark"] .dimi-v794-data-modal .profile-view-item{background:#0f1b2f!important;border-color:#294055!important;color:#f8fafc!important}
html[data-theme="dark"] .account-profile{background:linear-gradient(180deg,rgba(9,18,33,.96),rgba(8,17,31,.98))!important}
html[data-theme="dark"] .account-profile h3,
html[data-theme="dark"] .account-action--enhanced .copy strong,
html[data-theme="dark"] .account-info-row b,
html[data-theme="dark"] .dimi-v794-data-modal .profile-view-item b,
html[data-theme="dark"] #modal-root .dimi-v794-photo-modal .modal-header h3,
html[data-theme="dark"] #modal-root .dimi-v794-data-modal .modal-header h3,
html[data-theme="dark"] #modal-root .dimi-v794-pass-modal .modal-header h3{color:#f8fafc!important}
html[data-theme="dark"] .account-profile p,
html[data-theme="dark"] .account-info-row span,
html[data-theme="dark"] .account-action--enhanced .copy small,
html[data-theme="dark"] .avatar-photo-hint,
html[data-theme="dark"] .avatar-picker-title,
html[data-theme="dark"] .dimi-v794-data-modal .profile-view-item span{color:#9db0c8!important}
html[data-theme="dark"] .account-action--enhanced:hover{background:linear-gradient(90deg,rgba(54,223,156,.10),rgba(15,95,168,.08))!important}
html[data-theme="dark"] .account-action--enhanced .ico{background:linear-gradient(180deg,#11263a,#102134)!important;color:#6ee7b7!important;border-color:#22445a!important}
html[data-theme="dark"] .dimi-v794-profile-hero,
html[data-theme="dark"] .dimi-v794-photo-hero,
html[data-theme="dark"] .dimi-v794-pass-modal .v4-info,
html[data-theme="dark"] .dimi-v794-photo-modal .v4-warn{background:#0f1b2f!important;border-color:#294055!important;color:#dbe7f4!important}
html[data-theme="dark"] .dimi-v794-file-actions .btn.secondary{background:#102134!important;border-color:#22445a!important;color:#93c5fd!important}
html[data-theme="dark"] .dimi-v794-file-actions .btn.danger{background:#27161a!important;border-color:#4b232b!important;color:#fda4af!important}

@media(max-width:700px){
  .dimi-v794-profile-hero{grid-template-columns:1fr!important;text-align:center!important}
  .dimi-v794-profile-hero .user-avatar{margin:0 auto!important}
  .avatar-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .account-info-row{grid-template-columns:1fr!important;gap:4px!important}
  .account-info-row b{text-align:left!important}
}
@media(max-width:480px){
  .avatar-presets{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dimi-v794-file-actions .btn{width:100%}
}
