/* MiCursoX · Cabeceras minimalistas Pagos/Informes desktop v8
   Solo presentación >=1024px. No modifica móvil, datos ni reglas de negocio. */
@media (min-width:1024px){
  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero{
    position:relative!important;
    overflow:hidden!important;
    min-height:220px!important;
    padding:34px 310px 32px 40px!important;
    border:1px solid rgba(148,163,184,.24)!important;
    border-radius:24px!important;
    background:
      radial-gradient(circle at 88% 24%,rgba(99,102,241,.09) 0 42px,transparent 43px),
      radial-gradient(circle at 94% 78%,rgba(14,165,233,.07) 0 58px,transparent 59px),
      linear-gradient(120deg,#ffffff 0%,#fbfdff 58%,#f4f8ff 100%)!important;
    box-shadow:0 14px 38px rgba(30,64,175,.07),inset 0 1px 0 rgba(255,255,255,.95)!important;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader:before,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero:before{
    content:""!important;
    position:absolute!important;
    inset:26px auto 26px 0!important;
    width:3px!important;
    border-radius:999px!important;
    background:#4f46e5!important;
    opacity:.72!important;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader>div:first-child,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero>*:not(.apoReportActions){
    position:relative!important;
    z-index:2!important;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader h1,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero h1{
    margin:0 0 10px!important;
    color:#17213a!important;
    font-size:30px!important;
    line-height:1.15!important;
    font-weight:560!important;
    letter-spacing:-.025em!important;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader p,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero p{
    max-width:600px!important;
    margin:0!important;
    color:#64748b!important;
    font-size:15px!important;
    line-height:1.65!important;
    font-weight:400!important;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader>div:first-child:after{
    content:"Pago seguro   ·   Comprobantes disponibles   ·   Seguimiento claro";
    display:inline-flex;
    margin-top:18px;
    padding:9px 13px;
    border:1px solid rgba(148,163,184,.22);
    border-radius:999px;
    background:rgba(255,255,255,.76);
    color:#53627a;
    font-size:12px;
    line-height:1.2;
    font-weight:450;
    box-shadow:none;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader:after{
    content:"";
    position:absolute;
    right:42px;
    top:50%;
    width:205px;
    height:132px;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 150'%3E%3Crect x='26' y='35' width='126' height='78' rx='16' fill='%23eef4ff' stroke='%23cbdaf7' stroke-width='2'/%3E%3Crect x='42' y='50' width='26' height='18' rx='4' fill='%23fbbf24' opacity='.85'/%3E%3Cpath d='M43 89h63M43 101h42' stroke='%2394a3b8' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M177 45c-24 0-42 10-42 10v34c0 27 18 42 42 53 24-11 42-26 42-53V55s-18-10-42-10Z' fill='%23ffffff' stroke='%2399b7ef' stroke-width='4'/%3E%3Crect x='164' y='82' width='27' height='24' rx='6' fill='%234f46e5'/%3E%3Cpath d='M170 82v-8a8 8 0 0 1 16 0v8' fill='none' stroke='%234f46e5' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
    filter:none;
    opacity:.94;
    z-index:1;
  }

  body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader .apoPayTrustBadge{
    display:none!important;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportBrand{
    margin-bottom:12px!important;
    color:#64748b!important;
    font-size:11px!important;
    font-weight:550!important;
    letter-spacing:.11em!important;
    text-transform:uppercase!important;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero p{
    margin-bottom:16px!important;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportPeriod{
    position:relative!important;
    z-index:2!important;
    min-width:238px!important;
    height:44px!important;
    margin-top:14px!important;
    padding:0 15px!important;
    border:1px solid rgba(148,163,184,.24)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.84)!important;
    box-shadow:none!important;
    color:#334155!important;
    font-size:13px!important;
    font-weight:450!important;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero:after{
    content:"";
    position:absolute;
    right:42px;
    top:50%;
    width:220px;
    height:142px;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 150'%3E%3Crect x='24' y='28' width='170' height='94' rx='16' fill='%23ffffff' stroke='%23dbe7fb' stroke-width='2'/%3E%3Cpath d='M44 98 76 72l32 20 35-44 36 26' fill='none' stroke='%234f46e5' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='76' cy='72' r='5' fill='%2399b7ef'/%3E%3Ccircle cx='108' cy='92' r='5' fill='%2399b7ef'/%3E%3Ccircle cx='143' cy='48' r='5' fill='%2399b7ef'/%3E%3Ccircle cx='179' cy='74' r='5' fill='%2399b7ef'/%3E%3Cpath d='M45 50h45M45 60h28' stroke='%23cbd5e1' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    filter:none;
    opacity:.96;
    z-index:1;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportActions{
    top:24px!important;
    right:28px!important;
    z-index:3!important;
    gap:8px!important;
  }

  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportActions .btn,
  body.apoderado-ui-v24[data-apo-module="informes"] .apoReportActions button{
    min-height:38px!important;
    padding:8px 12px!important;
    border-radius:10px!important;
    box-shadow:none!important;
    font-size:12px!important;
    font-weight:500!important;
  }

  @media (max-width:1180px){
    body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader,
    body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero{
      padding-right:265px!important;
      padding-left:32px!important;
      min-height:210px!important;
    }
    body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader:after,
    body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero:after{
      width:178px!important;
      right:28px!important;
    }
    body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader h1,
    body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero h1{
      font-size:27px!important;
    }
    body.apoderado-ui-v24[data-apo-module="payments"] .apoPayHeader p,
    body.apoderado-ui-v24[data-apo-module="informes"] .apoReportHero p{
      font-size:14px!important;
    }
  }
}