/* EzyTransfers affiliate portal: organised, keyboard-accessible menus. */
.eam-portal .eam-tabs.ezyan-tabs {
  display:flex; flex-wrap:wrap; gap:5px; align-items:stretch;
  overflow:visible; position:relative; z-index:20;
}
.eam-portal .ezyan-tabs > a,
.eam-portal .ezyan-tabs > .ezyan-group > summary {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:10px 14px; border-radius:8px;
  white-space:nowrap; font-size:14px; font-weight:700;
  line-height:1.2; color:#475569; cursor:pointer;
  text-decoration:none;
}
.eam-portal .ezyan-tabs > a:focus-visible,
.eam-portal .ezyan-tabs > .ezyan-group > summary:focus-visible,
.eam-portal .ezyan-tabs .ezyan-dropdown a:focus-visible {
  outline:3px solid #16a34a; outline-offset:2px;
}
.eam-portal .ezyan-tabs > a:hover,
.eam-portal .ezyan-tabs > .ezyan-group > summary:hover,
.eam-portal .ezyan-tabs > a.is-active,
.eam-portal .ezyan-tabs > .ezyan-group.is-active > summary,
.eam-portal .ezyan-tabs > .ezyan-group[open] > summary {
  background:#ecfdf3; color:#15803d;
}
.eam-portal .ezyan-tabs > .ezyan-group {position:relative; min-width:0;}
.eam-portal .ezyan-tabs > .ezyan-group > summary {list-style:none; gap:10px;}
.eam-portal .ezyan-tabs > .ezyan-group > summary::-webkit-details-marker {display:none;}
.eam-portal .ezyan-tabs > .ezyan-group > summary::marker {content:"";}
.eam-portal .ezyan-chevron {width:7px; height:7px; display:inline-block; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .15s ease;}
.eam-portal .ezyan-group[open] .ezyan-chevron {transform:translateY(2px) rotate(225deg);}
.eam-portal .ezyan-dropdown {
  position:absolute; left:0; top:calc(100% + 6px);
  min-width:224px; padding:7px; background:#fff;
  border:1px solid #dbe6ef; border-radius:11px;
  box-shadow:0 12px 28px rgba(15,23,42,.13); z-index:30;
}
.eam-portal .ezyan-dropdown a {
  display:block; padding:12px 14px; border-radius:7px;
  color:#475569; font-size:14px; font-weight:700;
  white-space:nowrap; line-height:1.3;
}
.eam-portal .ezyan-dropdown a:hover,
.eam-portal .ezyan-dropdown a.is-active {background:#ecfdf3; color:#15803d;}
@media (max-width:650px) {
  .eam-portal .eam-tabs.ezyan-tabs {display:flex; flex-direction:column; align-items:stretch;}
  .eam-portal .ezyan-tabs > a,
  .eam-portal .ezyan-tabs > .ezyan-group > summary {justify-content:space-between; width:100%;}
  .eam-portal .ezyan-tabs .ezyan-dropdown {
    position:static; box-shadow:none; min-width:0; width:100%;
    margin-top:3px; padding:4px 4px 4px 14px;
    border:0; border-left:2px solid #ccebd6; border-radius:0;
  }
  .eam-portal .ezyan-tabs .ezyan-dropdown a {white-space:normal; min-height:42px;}
}
@media (prefers-reduced-motion: reduce) {
  .eam-portal .ezyan-chevron {transition:none;}
}
