/* AXYS V107: efeitos decorativos totalmente dependentes do tema selecionado. */
:root { --axs-v107-accent-rgb:var(--axs-v89-primary-rgb,121,169,255); }
/* Remover os acentos antigos das caixas já cobertas pelo marcador V101. */
#axs-app #axs-kpi-primary > .axs-reactive-card::before { display:none!important; }
#axs-app #axs-kpi-primary > .axs-reactive-card { isolation:isolate; }
#axs-app .axs-reactive-card > .axs-reactive-bar {
  position:absolute!important;top:0!important;left:0!important;right:auto!important;
  width:100%!important;height:3px!important;border:0!important;
  background:linear-gradient(90deg,transparent 0%,transparent 43%,rgba(var(--axs-v107-accent-rgb),0) 44%,rgba(var(--axs-v107-accent-rgb),.92) 48%,rgba(var(--axs-v107-accent-rgb),.50) 51%,transparent 57%,transparent 100%)!important;
  border-radius:0!important;box-shadow:none!important;opacity:.95;
  pointer-events:none!important;will-change:auto!important;
  transition:none!important;
}
#axs-app .axs-reactive-card:hover > .axs-reactive-bar {width:100%!important;}
:root[data-axys-motion="on"][data-axys-idle-lines="on"] #axs-app .axs-reactive-card > .axs-reactive-bar {
  animation:axs-v107-sweep 8.4s linear infinite!important;will-change:transform!important;
}
:root[data-axys-motion="on"][data-axys-idle-lines="on"] #axs-app .axs-reactive-card:nth-child(3n) > .axs-reactive-bar{animation-delay:-3s!important;animation-duration:10.1s!important;}
:root[data-axys-motion="on"][data-axys-idle-lines="on"] #axs-app .axs-reactive-card:nth-child(3n+1) > .axs-reactive-bar{animation-delay:-5.4s!important;animation-duration:9.2s!important;}
/* Desativado: um único acento curto, imóvel, na cor selecionada. */
:root[data-axys-idle-lines="off"] #axs-app .axs-reactive-card > .axs-reactive-bar,
:root[data-axys-motion="off"] #axs-app .axs-reactive-card > .axs-reactive-bar {
  animation:none!important;transform:none!important;
  background:linear-gradient(90deg,rgba(var(--axs-v107-accent-rgb),.92),rgba(var(--axs-v107-accent-rgb),.24) 42px,transparent 62px)!important;
}
@keyframes axs-v107-sweep {
  0%{transform:translate3d(-100%,0,0);opacity:0}
  10%{opacity:.95}
  75%{opacity:.95}
  98%,100%{transform:translate3d(100%,0,0);opacity:0}
}
@media(prefers-reduced-motion:reduce){
  :root[data-axys-motion="on"][data-axys-idle-lines="on"] #axs-app .axs-reactive-card > .axs-reactive-bar,
  #axs-app .axs-reactive-card > .axs-reactive-bar {animation:none!important;transform:none!important;will-change:auto!important;background:linear-gradient(90deg,rgba(var(--axs-v107-accent-rgb),.85),transparent 58px)!important;}
}
/* A tela de retomada substitui o piscar do login; acesso continua bloqueado. */
#axys-v107-restore-screen{display:none;position:fixed;inset:0;z-index:130;place-items:center;background:#080b14;padding:22px;color:#eef1ff;}
html.axys-v107-restoring #axys-v107-restore-screen{display:grid;}
.axys-v107-restore-card{display:grid;justify-items:center;gap:13px;text-align:center;background:radial-gradient(circle at 50% 20%,rgba(var(--axs-v107-accent-rgb),.12),transparent 70%);padding:35px;border:1px solid rgba(var(--axs-v107-accent-rgb),.18);border-radius:22px;max-width:min(94vw,420px);}
.axys-v107-restore-card strong{font-size:16px;font-weight:720;}
.axys-v107-restore-card small{font-size:12px;line-height:1.6;color:#9faabd;}
.axys-v107-spinner{height:35px;width:35px;border:2px solid rgba(var(--axs-v107-accent-rgb),.16);border-top-color:rgba(var(--axs-v107-accent-rgb),.9);border-radius:50%;animation:axs-v107-circle 1.25s linear infinite;}
@keyframes axs-v107-circle {to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.axys-v107-spinner{animation:none}}


/* AXYS V108: busca compacta do After Pay, divisória contínua e animações mais suaves. */
#axs-top-shell::after{content:"";position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);bottom:0;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.03),rgba(255,255,255,.08) 14%,rgba(var(--axs-v107-accent-rgb),.26) 50%,rgba(255,255,255,.08) 86%,rgba(255,255,255,.03));pointer-events:none;z-index:2;}
.axs-afterpay-head-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;min-width:0;}
.axs-afterpay-search{position:relative;display:flex;align-items:center;gap:9px;min-height:44px;padding:0 12px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#dbe4f6;min-width:min(100%,308px);flex:1 1 290px;max-width:340px;box-shadow:0 12px 26px rgba(0,0,0,.12);transition:border-color .34s ease,background-color .34s ease,box-shadow .36s cubic-bezier(.22,1,.36,1),transform .36s cubic-bezier(.22,1,.36,1);}
.axs-afterpay-search:hover{border-color:rgba(var(--axs-v107-accent-rgb),.28);background:rgba(255,255,255,.055);transform:translateY(-1px);}
.axs-afterpay-search:focus-within{border-color:rgba(var(--axs-v107-accent-rgb),.54);background:rgba(255,255,255,.06);box-shadow:0 16px 34px rgba(0,0,0,.18),0 0 0 4px rgba(var(--axs-v107-accent-rgb),.10);transform:translateY(-1px);}
.axs-afterpay-search > i{font-size:12px;color:rgba(var(--axs-v107-accent-rgb),.84);}
.axs-afterpay-search input{flex:1;min-width:0;border:0!important;background:transparent!important;padding:0!important;height:42px;color:#eef2ff;font-size:12px;box-shadow:none!important;outline:none;}
.axs-afterpay-search input::placeholder{color:#8b96af;}
.axs-afterpay-search-clear{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04);color:#cbd5e1;transition:background-color .24s ease,border-color .24s ease,color .24s ease,transform .24s ease;}
.axs-afterpay-search-clear:hover{background:rgba(255,255,255,.08);border-color:rgba(var(--axs-v107-accent-rgb),.3);color:#fff;transform:scale(1.02);}
.axs-afterpay-search-feedback{display:flex;justify-content:flex-end;min-height:16px;margin-top:-6px;color:#96a1bb;font-size:11px;line-height:1.4;}
#axs-app .glass-card,#axs-app .axs-table-card,#axs-app .axs-btn-subtle,#axs-app .axs-filter-trigger,#axs-app .axs-top-avatar,#axs-app .axys-drawer-link,#axs-app .axs-mobile-drawer-action,#axs-app .axs-mobile-tab{transition:transform .38s cubic-bezier(.22,1,.36,1),box-shadow .38s cubic-bezier(.22,1,.36,1),border-color .32s ease,background-color .32s ease,color .28s ease,opacity .28s ease;will-change:transform;}
#axs-app .glass-card:hover,#axs-app .axs-table-card:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(0,0,0,.18);border-color:rgba(255,255,255,.11)!important;}
#axs-app .axs-filter-trigger:hover,#axs-app .axs-top-avatar:hover,#axs-app .axs-btn-subtle:hover{transform:translateY(-1px);}
#axs-app .view-section.axs-view-enter{animation:axs-v108-view-in .34s cubic-bezier(.22,1,.36,1) both;}
#axs-app .view-section.axs-view-enter > *{animation:axs-v108-view-child .42s cubic-bezier(.22,1,.36,1) both;}
#axs-app .view-section.axs-view-enter > *:nth-child(1){animation-delay:.015s;}
#axs-app .view-section.axs-view-enter > *:nth-child(2){animation-delay:.035s;}
#axs-app .view-section.axs-view-enter > *:nth-child(3){animation-delay:.055s;}
#axs-app .view-section.axs-view-enter > *:nth-child(4){animation-delay:.075s;}
#axs-app .view-section.axs-view-enter > *:nth-child(n+5){animation-delay:.095s;}
@keyframes axs-v108-view-in{from{opacity:.01;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes axs-v108-view-child{from{opacity:.01;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px){
  .axs-afterpay-head-actions{justify-content:flex-start;width:100%;}
  .axs-afterpay-search{flex:1 1 100%;max-width:none;min-width:0;}
  .axs-afterpay-search-feedback{justify-content:flex-start;margin-top:-2px;}
}
@media(prefers-reduced-motion:reduce){
  #axs-top-shell::after{background:rgba(255,255,255,.08);}
  .axs-afterpay-search,#axs-app .glass-card,#axs-app .axs-table-card,#axs-app .axs-btn-subtle,#axs-app .axs-filter-trigger,#axs-app .axs-top-avatar,#axs-app .axys-drawer-link,#axs-app .axs-mobile-drawer-action,#axs-app .axs-mobile-tab{transition:none!important;transform:none!important;animation:none!important;will-change:auto;}
  #axs-app .view-section.axs-view-enter,#axs-app .view-section.axs-view-enter > *{animation:none!important;}
}


/* AXYS V110 · Barra After Pay alinhada ao original, pesquisa sem borda dupla. */
#axs-app #view-afterpay .axs-afterpay-heading{gap:clamp(12px,1.4vw,22px);}
#axs-app #view-afterpay .axs-afterpay-title{min-width:0;flex:1 1 auto;}
#axs-app #view-afterpay .axs-afterpay-head-actions{
  display:flex!important;flex:0 1 auto;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-end!important;
  gap:8px!important;width:auto!important;min-width:0!important;
}
#axs-app #view-afterpay .axs-afterpay-head-actions > button,
#axs-app #view-afterpay .axs-afterpay-head-actions > [data-modulo-filtro]{
  flex:none!important;white-space:nowrap!important;min-width:0;
}
#axs-app #view-afterpay .axs-afterpay-search{
  display:flex!important;align-items:center;gap:9px;
  flex:0 1 218px!important;width:218px!important;min-width:144px!important;max-width:218px!important;
  min-height:40px!important;height:40px!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.035)!important;
  padding:0 11px!important;box-shadow:none!important;
  transform:none!important;transition:border-color .25s ease,background-color .25s ease,box-shadow .25s ease!important;
}
#axs-app #view-afterpay .axs-afterpay-search:hover{border-color:rgba(var(--axs-v107-accent-rgb),.26)!important;background:rgba(255,255,255,.055)!important;}
#axs-app #view-afterpay .axs-afterpay-search:focus-within{
  border-color:rgba(var(--axs-v107-accent-rgb),.52)!important;
  background:rgba(255,255,255,.045)!important;
  box-shadow:0 0 0 2px rgba(var(--axs-v107-accent-rgb),.09)!important;
}
#axs-app #view-afterpay .axs-afterpay-search > i{flex:none;font-size:12px;opacity:.9;}
#axs-app #view-afterpay .axs-afterpay-search > input,
#axs-app #view-afterpay .axs-afterpay-search > input:hover,
#axs-app #view-afterpay .axs-afterpay-search > input:focus,
#axs-app #view-afterpay .axs-afterpay-search > input:focus-visible{
  display:block!important;flex:1 1 0!important;min-width:0!important;width:100%!important;
  height:36px!important;max-height:36px!important;line-height:36px!important;
  margin:0!important;padding:0!important;
  border:0!important;border-width:0!important;outline:none!important;
  border-radius:0!important;background:none!important;background-color:transparent!important;
  box-shadow:none!important;-webkit-box-shadow:none!important;
  appearance:none!important;-webkit-appearance:none!important;
  font-size:12px!important;font-weight:400!important;color:#e6eaf6!important;
  caret-color:rgb(var(--axs-v107-accent-rgb));
}
#axs-app #view-afterpay .axs-afterpay-search > input::-webkit-search-decoration,
#axs-app #view-afterpay .axs-afterpay-search > input::-webkit-search-cancel-button,
#axs-app #view-afterpay .axs-afterpay-search > input::-webkit-search-results-button{display:none!important;-webkit-appearance:none!important;}
#axs-app #view-afterpay .axs-afterpay-search > input::placeholder{color:#8d96ab!important;opacity:1;}
#axs-app #view-afterpay .axs-afterpay-search-clear{
  flex:none;display:grid;place-items:center;width:22px;height:22px;
  padding:0;border:0!important;border-radius:7px;
  background:rgba(255,255,255,.045)!important;box-shadow:none;
}
#axs-app #view-afterpay .axs-afterpay-search-clear[hidden]{display:none!important;}
#axs-app #view-afterpay .axs-afterpay-search-feedback:empty{display:none!important;}
#axs-app #view-afterpay .axs-afterpay-search-feedback:not(:empty){min-height:unset;margin:0;text-align:right;}
@media(min-width:1024px) and (max-width:1260px){
  #axs-app #view-afterpay .axs-afterpay-search{flex-basis:170px!important;width:170px!important;}
}
@media(min-width:768px) and (max-width:1023px){
  #axs-app #view-afterpay .axs-afterpay-heading{flex-direction:column;align-items:stretch;}
  #axs-app #view-afterpay .axs-afterpay-head-actions{align-self:flex-end;}
}
@media(max-width:767px){
  #axs-app #view-afterpay .axs-afterpay-head-actions{width:100%!important;flex-wrap:wrap!important;justify-content:flex-start!important;}
  #axs-app #view-afterpay .axs-afterpay-search{flex:1 1 100%!important;width:100%!important;max-width:none!important;min-width:0!important;}
  #axs-app #view-afterpay .axs-afterpay-head-actions > button{flex:1 1 auto!important;}
  #axs-app #view-afterpay .axs-afterpay-head-actions > [data-modulo-filtro]{flex:0 0 auto!important;}
}

/* AXYS V111 · competências preservadas nas correções; data não movimenta histórico. */
#axs-app input[type=date][readonly],#modal-registro input[type=date][readonly],#modal-novo-agendamento input[type=date][readonly],#axys-v96-form input[type=date][readonly]{opacity:.84;cursor:default;border-style:dashed!important;color:#bac5dc!important;}
