/* V11.16: restrained header, drawer and order-details presentation. No gateway changes. */

/* Header is now a single balanced bar; logo and the account button remain in place. */
#jru-chrome-head > .jru-topline {display:none!important}
#jru-chrome-head .jru-header {border-top:0!important}
#jru-chrome-head .jru-header-inner {min-height:68px}
@media(max-width:760px){#jru-chrome-head .jru-header-inner{min-height:66px}}
@media(max-width:380px){#jru-chrome-head .jru-header-inner{min-height:62px}}

/* Drawer: quick 160ms opacity reveal instead of an exaggerated entrance effect. */
body > .jru-menu-backdrop.jru-portal-overlay {
  backdrop-filter: blur(1px)!important;
  -webkit-backdrop-filter:blur(1px)!important;
  background:rgba(3,6,12,.66)!important;
}
body > .jru-menu-drawer.jru-portal-drawer {
  background:#111620!important;
  border-right:1px solid #333b48!important;
  box-shadow:12px 0 34px #0008!important;
}
body.jru-drawer-open > .jru-menu-drawer.jru-portal-drawer {animation:jru116-drawer-in .16s ease-out both!important}
body.jru-drawer-open > .jru-menu-backdrop.jru-portal-overlay {animation:jru116-backdrop-in .16s ease-out both!important}
@keyframes jru116-drawer-in{from{opacity:.84}to{opacity:1}}
@keyframes jru116-backdrop-in{from{opacity:0}to{opacity:1}}
body > .jru-menu-drawer .jru-drawer-welcome{background:#161d2a!important;border-color:#303b49!important;border-radius:12px!important}
body > .jru-menu-drawer .jru-drawer-link-icon{background:#1c2530!important;border-color:#35404b!important}
body > .jru-menu-drawer .jru-drawer-link{transition:background-color .14s ease,color .14s ease!important}

/* Strong, readable license button; previous muted burgundy is no longer used. */
#jru-root .jru-order-actions .jru-order-license,
#jru-root .jru-code-exhibit {
  background:#eb2442!important;
  border:1px solid #fc4860!important;
  color:#fff!important;
  font-weight:830!important;
  box-shadow:none!important;
  border-radius:10px!important;
}
#jru-root .jru-order-actions .jru-order-license:hover,
#jru-root .jru-code-exhibit:hover {
  background:#fa3450!important;
  border-color:#ff677b!important;
}

/* The existing payment modal is opened for unpaid orders: never create a second charge. */
#jru-root .jru-order-actions .jru-order-main[data-open-payment],
#jru-root .jru-detail-pay-cta {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  background:#168960!important;
  border:1px solid #24ad7c!important;
  color:#fff!important;
  font-size:12px!important;
  font-weight:820!important;
  line-height:1.3!important;
  text-decoration:none!important;
  box-shadow:none!important;
  border-radius:10px!important;
  cursor:pointer!important;
  transition:background-color .16s ease,border-color .16s ease!important;
}
#jru-root .jru-order-actions .jru-order-main[data-open-payment]:hover,
#jru-root .jru-detail-pay-cta:hover {
  background:#1ba473!important;
  border-color:#3cc393!important;
}
#jru-root .jru-order-actions .jru-order-main[data-open-payment] .jru-icon,
#jru-root .jru-detail-pay-cta .jru-icon {width:16px;height:16px;flex:none}

/* Order info dialog: flat navy surfaces, clearly aligned data, subtle holiday highlight. */
#jru-root .jru-detail-modal {
  background:rgba(3,7,14,.7)!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
  padding:14px!important;
}
#jru-root .jru-detail-modal .jru-modal-panel {
  position:relative!important;
  overflow-x:hidden!important;
  width:min(94vw,460px)!important;
  max-height:min(85dvh,660px)!important;
  background:#141b27!important;
  border:1px solid #354354!important;
  border-radius:16px!important;
  box-shadow:0 20px 65px #0009!important;
}
#jru-root .jru-detail-modal .jru-modal-panel::before{
  content:"";
  display:block;
  height:2px;
  background:linear-gradient(95deg,#cc2743 0%,#ef3c55 52%,#2a916e 76%,#c52f48 100%);
  background-size:170% 100%;
  animation:jru116-holiday-line 9s linear infinite;
}
@keyframes jru116-holiday-line{from{background-position:0 0}to{background-position:170% 0}}
#jru-root .jru-detail-modal .jru-modal-heading {
  align-items:center!important;
  padding:17px 19px 15px!important;
  background:#171e2b!important;
  border-bottom:1px solid #303b4c!important;
}
#jru-root .jru-detail-modal .jru-modal-heading .jru-kicker-min{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;
  font-size:9px!important;
  letter-spacing:.09em!important;
  color:#e7828d!important;
}
#jru-root .jru-detail-modal .jru-modal-heading h2{
  font-size:19px!important;
  line-height:1.3!important;
  letter-spacing:-.035em!important;
  font-weight:830!important;
  color:#f7f8fa!important;
  margin-top:3px!important;
}
#jru-root .jru-detail-modal .jru-modal-close{
  background:#222c3a!important;
  border:1px solid #414d5d!important;
  color:#e8edf5!important;
  border-radius:10px!important;
  width:36px!important;
  height:36px!important;
}
#jru-root .jru-detail-modal .jru-modal-body {padding:16px 19px 18px!important}
#jru-root .jru-detail-summary{
  padding:0 0 15px!important;
  margin-bottom:12px!important;
  border-bottom:1px solid #333d4d!important;
  font-size:12px!important;
}
#jru-root .jru-detail-summary > span:first-child {color:#d8e1ee!important;font-weight:800!important}
#jru-root .jru-detail-summary .jru-state{font-size:10px!important}
#jru-root .jru-detail-list{gap:0!important}
#jru-root .jru-detail-item{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 0!important;
  border-bottom:1px solid #2d3747!important;
}
#jru-root .jru-detail-item>span {font-size:12px!important;font-weight:620!important;color:#e5eaf3!important}
#jru-root .jru-detail-item>strong{font-size:12px!important;color:#fff!important;font-weight:800!important}
#jru-root .jru-detail-fields{margin-top:13px!important;padding-top:0!important;border-top:0!important;gap:0!important}
#jru-root .jru-detail-fields>div {padding:8px 0!important;align-items:center!important;font-size:12px!important;color:#9caabd!important}
#jru-root .jru-detail-fields strong {font-size:12px!important;color:#e9eef6!important;font-weight:780!important}
#jru-root .jru-detail-fields .jru-detail-grand-total {
  margin-top:8px!important;
  padding:12px 13px!important;
  border:1px solid #344355!important;
  border-radius:10px!important;
  background:#101724!important;
}
#jru-root .jru-detail-grand-total>span{color:#c8d1df!important;font-weight:750!important}
#jru-root .jru-detail-grand-total>strong{font-size:17px!important;color:#fff!important;font-weight:870!important;white-space:nowrap!important}
#jru-root .jru-detail-pay-action{margin-top:14px!important}
#jru-root .jru-detail-pay-action>p{
  margin:0 0 10px!important;
  color:#aebdcc!important;
  font-size:11px!important;
  line-height:1.45!important;
  text-align:center!important;
}
#jru-root .jru-detail-pay-cta {min-height:45px!important;width:100%!important;padding:11px 16px!important}
@media(max-width:420px){
  #jru-root .jru-detail-modal{padding:12px!important}
  #jru-root .jru-detail-modal .jru-modal-body{padding:14px 15px 16px!important}
  #jru-root .jru-detail-modal .jru-modal-heading{padding:15px!important}
  #jru-root .jru-detail-modal .jru-modal-heading h2{font-size:18px!important}
  #jru-root .jru-order-actions .jru-order-main[data-open-payment]{font-size:11px!important;padding:8px 12px!important}
  #jru-root .jru-order-actions .jru-order-license{font-size:11px!important;padding:8px 11px!important}
}
@media(prefers-reduced-motion:reduce){
 body.jru-drawer-open > .jru-menu-drawer.jru-portal-drawer,
 body.jru-drawer-open > .jru-menu-backdrop.jru-portal-overlay,
 #jru-root .jru-detail-modal .jru-modal-panel::before{animation:none!important;transition:none!important}
}
