/* EventosApp Website 2.0.4 — Presentation flow with real ticket assets.
 * El correo central reproduce la plantilla operativa de EventosApp y usa las
 * piezas reales de header, QR y Wallet. El movimiento usa un bus de datos
 * limpio, sin flechas ni curvas decorativas que compitan con la interfaz.
 */

.eaw-presentation__grid{
  grid-template-columns:.74fr 1.26fr;
  align-items:center;
  gap:58px;
}
.eaw-presentation__visual{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.eaw-presentation__visual:before{display:none}

.eaw-presentation-flow{
  --flow-cyan:#69c7ed;
  --flow-blue:#3782c4;
  --flow-violet:#6576dc;
  --flow-green:#42d39e;
  position:relative;
  overflow:hidden;
  padding:24px;
  border:1px solid rgba(111,164,209,.3);
  border-radius:30px;
  background:
    radial-gradient(circle at 12% 10%,rgba(55,130,196,.2),transparent 26%),
    radial-gradient(circle at 88% 78%,rgba(101,118,220,.17),transparent 28%),
    linear-gradient(145deg,#061625 0%,#0a2948 54%,#101f39 100%);
  box-shadow:0 34px 80px rgba(9,35,60,.2);
  color:#fff;
  isolation:isolate;
}
.eaw-presentation-flow:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.024) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.78),transparent 98%);
}
.eaw-presentation-flow__topline{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  padding:3px 7px;
  color:#9be4ff;
  font-size:.63rem;
  font-weight:860;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.eaw-presentation-flow__topline span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--flow-green);
  box-shadow:0 0 0 5px rgba(66,211,158,.1),0 0 18px rgba(66,211,158,.62);
  animation:eawFlowStatus 1.9s ease-in-out infinite;
}

.eaw-presentation-flow__stage{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(132px,.76fr) minmax(286px,1.48fr) minmax(132px,.76fr);
  align-items:center;
  gap:20px;
  min-height:650px;
  padding:4px 0 14px;
}
.eaw-presentation-flow__data-lane{
  position:absolute;
  top:50%;
  right:19%;
  left:19%;
  z-index:0;
  height:2px;
  transform:translateY(-50%);
  pointer-events:none;
}
.eaw-presentation-flow__data-line{
  position:absolute;
  inset:0;
  border-radius:99px;
  background:linear-gradient(90deg,rgba(55,130,196,.12),rgba(105,199,237,.65) 45%,rgba(101,118,220,.54) 70%,rgba(105,199,237,.12));
  box-shadow:0 0 18px rgba(105,199,237,.16);
}
.eaw-flow-packet{
  position:absolute;
  top:50%;
  left:0;
  width:8px;
  height:8px;
  margin-top:-4px;
  border-radius:50%;
  background:#a9ebff;
  box-shadow:0 0 0 5px rgba(105,199,237,.08),0 0 18px rgba(105,199,237,.82);
  animation:eawFlowPacket var(--eaw-flow-duration,7s) linear infinite;
}
.eaw-flow-packet--two{animation-delay:calc(var(--eaw-flow-duration,7s) * -.25)}
.eaw-flow-packet--three{animation-delay:calc(var(--eaw-flow-duration,7s) * -.5)}
.eaw-flow-packet--four{animation-delay:calc(var(--eaw-flow-duration,7s) * -.75)}

.eaw-presentation-flow__sources,
.eaw-presentation-flow__destinations{
  position:relative;
  z-index:2;
  display:grid;
  gap:16px;
}
.eaw-presentation-flow__sources:after,
.eaw-presentation-flow__destinations:before{
  content:"";
  position:absolute;
  top:8%;
  bottom:8%;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(105,199,237,.34) 18%,rgba(105,199,237,.34) 82%,transparent);
  box-shadow:0 0 12px rgba(105,199,237,.13);
}
.eaw-presentation-flow__sources:after{right:-10px}
.eaw-presentation-flow__destinations:before{left:-10px}

.eaw-flow-node{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:78px;
  padding:12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.045));
  box-shadow:0 15px 32px rgba(0,0,0,.17);
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  transition:transform .25s ease,border-color .25s ease,background .25s ease;
}
.eaw-flow-node:hover{
  transform:translateY(-3px);
  border-color:rgba(105,199,237,.4);
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.065));
}
.eaw-flow-node:after{
  content:"";
  position:absolute;
  top:50%;
  width:10px;
  height:1px;
  background:rgba(105,199,237,.35);
}
.eaw-presentation-flow__sources .eaw-flow-node:after{right:-10px}
.eaw-presentation-flow__destinations .eaw-flow-node:after{left:-10px}
.eaw-flow-node__icon{
  display:grid;
  place-items:center;
  flex:0 0 40px;
  width:40px;
  height:40px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(55,130,196,.96),rgba(105,199,237,.87));
  box-shadow:0 9px 20px rgba(55,130,196,.28);
  color:#fff;
}
.eaw-flow-node.is-notification .eaw-flow-node__icon{background:linear-gradient(135deg,#6576dc,#835fdb)}
.eaw-flow-node.is-networking .eaw-flow-node__icon{background:linear-gradient(135deg,#7157d7,#9179ef)}
.eaw-flow-node.is-consumables .eaw-flow-node__icon{background:linear-gradient(135deg,#26967a,#42d39e)}
.eaw-flow-node.is-checkin .eaw-flow-node__icon{background:linear-gradient(135deg,#2673b2,#4ba7dd)}
.eaw-flow-node__icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eaw-flow-node__wallet-art{
  display:flex;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
}
.eaw-flow-node__wallet-art img{
  display:block;
  width:min(100%,138px);
  max-height:44px;
  object-fit:contain;
  object-position:left center;
  border-radius:8px;
}
.eaw-flow-node__copy{min-width:0}
.eaw-flow-node__copy strong,
.eaw-flow-node__copy small{display:block}
.eaw-flow-node__copy strong{
  overflow:hidden;
  color:#fff;
  font-size:.8rem;
  font-weight:820;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.eaw-flow-node__copy small{
  margin-top:4px;
  color:#9fb4c9;
  font-size:.62rem;
  line-height:1.35;
}
.eaw-flow-node__copy--wallet{flex:0 0 auto;max-width:50px}
.eaw-flow-node__copy--wallet small{margin:0;font-size:.52rem}
.eaw-flow-node__signal{
  position:absolute;
  top:50%;
  right:-14px;
  z-index:2;
  width:8px;
  height:8px;
  margin-top:-4px;
  border-radius:50%;
  background:var(--flow-cyan);
  box-shadow:0 0 0 5px rgba(105,199,237,.08),0 0 14px rgba(105,199,237,.68);
  animation:eawFlowNodePulse 2.4s ease-in-out infinite;
}
.eaw-presentation-flow__destinations .eaw-flow-node__signal{right:auto;left:-14px}
.eaw-flow-node:nth-child(2) .eaw-flow-node__signal{animation-delay:-.6s}
.eaw-flow-node:nth-child(3) .eaw-flow-node__signal{animation-delay:-1.2s}
.eaw-flow-node:nth-child(4) .eaw-flow-node__signal{animation-delay:-1.8s}

.eaw-presentation-flow__ticket-wrap{
  position:relative;
  z-index:3;
  display:grid;
  place-items:center;
  min-width:0;
}
.eaw-presentation-flow__ticket-wrap:before{
  content:"";
  position:absolute;
  inset:14% -7% 12%;
  z-index:-1;
  border-radius:45%;
  background:radial-gradient(circle,rgba(55,130,196,.24),rgba(105,199,237,.06) 40%,transparent 72%);
  filter:blur(16px);
}
.eaw-ticket-port{
  position:absolute;
  top:50%;
  z-index:4;
  width:11px;
  height:11px;
  margin-top:-5px;
  border:2px solid rgba(6,22,37,.85);
  border-radius:50%;
  background:#9ce7ff;
  box-shadow:0 0 0 5px rgba(105,199,237,.1),0 0 18px rgba(105,199,237,.8);
}
.eaw-ticket-port--left{left:-3px}
.eaw-ticket-port--right{right:-3px}

.eaw-ticket-mail-device{
  position:relative;
  width:min(100%,322px);
  padding:8px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:33px;
  background:linear-gradient(155deg,#17243a,#050a12);
  box-shadow:0 32px 70px rgba(0,0,0,.47),0 0 0 5px rgba(55,130,196,.06);
}
.eaw-ticket-mail-device:before{
  content:"";
  position:absolute;
  top:10px;
  left:50%;
  z-index:5;
  width:75px;
  height:18px;
  border-radius:999px;
  background:#050a12;
  transform:translateX(-50%);
}
.eaw-ticket-mail-device__status{
  display:flex;
  align-items:center;
  gap:5px;
  height:25px;
  padding:1px 13px 0;
  color:#eef5fb;
  font-size:.48rem;
}
.eaw-ticket-mail-device__status span{margin-right:auto;font-weight:800}
.eaw-ticket-mail-device__status i{width:8px;height:5px;border:1px solid rgba(255,255,255,.82);border-radius:2px}
.eaw-ticket-mail-device__status strong{font-size:.43rem}
.eaw-ticket-mail-device__inbox{
  overflow:hidden;
  border-radius:24px;
  background:#f6f8fb;
  color:#1f2937;
}
.eaw-ticket-mail-device__sender{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:45px;
  padding:7px 10px;
  border-bottom:1px solid #eceff3;
  background:#fff;
}
.eaw-ticket-mail-device__sender>span{
  display:grid;
  place-items:center;
  flex:0 0 27px;
  width:27px;
  height:27px;
  border-radius:50%;
  background:#50bd86;
  color:#fff;
  font-size:.65rem;
  font-weight:800;
}
.eaw-ticket-mail-device__sender p{min-width:0;margin:0}
.eaw-ticket-mail-device__sender strong,
.eaw-ticket-mail-device__sender small{display:block}
.eaw-ticket-mail-device__sender strong{color:#202735;font-size:.62rem;line-height:1.2}
.eaw-ticket-mail-device__sender small{margin-top:2px;color:#8a93a0;font-size:.46rem}
.eaw-ticket-mail-device__sender>b{margin-left:auto;color:#657180;font-size:.58rem;letter-spacing:.12em}

.eaw-email-ticket{
  overflow:hidden;
  margin:10px;
  border:1px solid #e5e7eb;
  border-radius:11px;
  background:#fff;
  box-shadow:0 10px 26px rgba(31,41,55,.07);
}
.eaw-email-ticket__header{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  border-radius:0!important;
}
.eaw-email-ticket__inner{padding:12px}
.eaw-email-ticket h3{
  margin:0 0 9px;
  color:#1f2937;
  font-size:.86rem;
  line-height:1.22;
  letter-spacing:-.02em;
}
.eaw-email-ticket h4{
  margin:7px 0 4px;
  color:#1f2937;
  font-size:.58rem;
  line-height:1.25;
}
.eaw-email-ticket__columns{
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(86px,.82fr);
  gap:7px;
  align-items:start;
}
.eaw-email-ticket__kvs{
  padding:6px;
  border:1px dashed #e5e7eb;
  border-radius:7px;
  background:#fafafa;
}
.eaw-email-ticket__kvs p{
  overflow:hidden;
  margin:2px 0;
  color:#3b4350;
  font-size:.39rem;
  line-height:1.32;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.eaw-email-ticket__kvs b{color:#111827}
.eaw-email-ticket__right{text-align:center}
.eaw-email-ticket__qr-box{
  display:inline-block;
  width:100%;
  padding:4px;
  border:1px solid #e5e7eb;
  border-radius:7px;
  background:#fff;
}
.eaw-email-ticket__qr-box img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  border-radius:5px!important;
}
.eaw-email-ticket__muted{
  margin:4px 0!important;
  color:#6b7280!important;
  font-size:.37rem!important;
  line-height:1.35!important;
}
.eaw-email-ticket__button{
  display:grid;
  place-items:center;
  min-height:20px;
  margin-top:4px;
  padding:3px 4px;
  border-radius:6px;
  background:#e5e7eb;
  color:#111827;
  font-size:.37rem;
  font-weight:650;
  line-height:1.2;
}
.eaw-email-ticket__wallets{
  display:grid;
  justify-items:center;
  gap:5px;
  margin-top:10px;
}
.eaw-email-ticket__wallets img{
  display:block!important;
  width:auto!important;
  max-width:150px!important;
  height:38px!important;
  object-fit:contain;
  border-radius:7px!important;
}
.eaw-ticket-mail-device__footer{
  margin:2px 0 9px!important;
  color:#9ca3af!important;
  font-size:.44rem!important;
  text-align:center;
}

.eaw-presentation-flow__caption{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:17px;
  background:rgba(255,255,255,.055);
  color:#b4c6d8;
}
.eaw-presentation-flow__caption span{
  display:grid;
  place-items:center;
  flex:0 0 31px;
  width:31px;
  height:31px;
  border-radius:10px;
  background:rgba(105,199,237,.13);
  color:#8fe1ff;
  font-size:1rem;
  font-weight:900;
}
.eaw-presentation-flow__caption p{margin:0;color:inherit;font-size:.72rem;line-height:1.5}

@keyframes eawFlowPacket{
  0%{left:0;opacity:0;transform:scale(.72)}
  8%{opacity:1}
  92%{opacity:1}
  100%{left:calc(100% - 8px);opacity:0;transform:scale(1.08)}
}
@keyframes eawFlowNodePulse{
  0%,100%{opacity:.45;transform:scale(.82)}
  50%{opacity:1;transform:scale(1.16)}
}
@keyframes eawFlowStatus{
  0%,100%{opacity:.72;transform:scale(.9)}
  50%{opacity:1;transform:scale(1.14)}
}

@media(max-width:1180px){
  .eaw-presentation__grid{grid-template-columns:.7fr 1.3fr;gap:40px}
  .eaw-presentation-flow{padding:20px}
  .eaw-presentation-flow__stage{grid-template-columns:minmax(115px,.72fr) minmax(260px,1.56fr) minmax(115px,.72fr);gap:15px}
  .eaw-flow-node{padding:10px;gap:8px}
  .eaw-flow-node__wallet-art img{width:min(100%,125px)}
  .eaw-flow-node__copy--wallet{display:none}
}

@media(max-width:980px){
  .eaw-presentation__grid{grid-template-columns:1fr;gap:48px}
  .eaw-presentation__content{max-width:760px}
  .eaw-presentation-flow{max-width:820px;margin:0 auto}
  .eaw-presentation-flow__stage{grid-template-columns:minmax(145px,.82fr) minmax(300px,1.36fr) minmax(145px,.82fr)}
}

@media(max-width:760px){
  .eaw-presentation-flow{padding:17px;border-radius:23px}
  .eaw-presentation-flow__topline{font-size:.56rem}
  .eaw-presentation-flow__stage{
    grid-template-columns:1fr;
    gap:24px;
    min-height:auto;
    padding-top:8px;
  }
  .eaw-presentation-flow__data-lane{display:none}
  .eaw-presentation-flow__sources,
  .eaw-presentation-flow__destinations{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .eaw-presentation-flow__sources:after,
  .eaw-presentation-flow__destinations:before,
  .eaw-flow-node:after,
  .eaw-flow-node__signal,
  .eaw-ticket-port{display:none}
  .eaw-flow-node{min-height:72px}
  .eaw-flow-node__wallet-art img{max-width:136px}
  .eaw-presentation-flow__ticket-wrap{order:2}
  .eaw-presentation-flow__sources{order:1}
  .eaw-presentation-flow__destinations{order:3}
  .eaw-presentation-flow__destinations .eaw-flow-node:last-child{grid-column:1/-1}
  .eaw-ticket-mail-device{width:min(100%,340px)}
  .eaw-presentation-flow__caption{margin-top:18px}
}

@media(max-width:500px){
  .eaw-presentation-flow{padding:14px}
  .eaw-presentation-flow__sources,
  .eaw-presentation-flow__destinations{grid-template-columns:1fr}
  .eaw-presentation-flow__destinations .eaw-flow-node:last-child{grid-column:auto}
  .eaw-flow-node{min-height:68px}
  .eaw-flow-node__wallet-art img{width:150px}
  .eaw-ticket-mail-device{width:100%;max-width:330px;padding:6px;border-radius:27px}
  .eaw-ticket-mail-device__inbox{border-radius:20px}
  .eaw-email-ticket{margin:8px}
  .eaw-email-ticket__inner{padding:10px}
  .eaw-email-ticket__columns{grid-template-columns:1fr 92px;gap:6px}
  .eaw-email-ticket__wallets img{max-width:142px!important;height:36px!important}
  .eaw-presentation-flow__caption{align-items:flex-start;padding:12px}
  .eaw-presentation-flow__caption p{font-size:.68rem}
}

@media(prefers-reduced-motion:reduce){
  .eaw-presentation-flow__topline span,
  .eaw-flow-node__signal,
  .eaw-flow-packet{animation:none!important}
  .eaw-flow-packet{display:none}
}
