/* ============================================================
   WIFICOR — Módulo Mi Servicio
============================================================ */

/* Banner */
.wfm-hero,
.wfm-hero *{box-sizing:border-box}

.wfm-hero{
  --wfm-blue:#0033A5;
  --wfm-blue2:#006DFF;
  --wfm-cyan:#12B7FF;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(135deg,#061231 0%,#0033A5 48%,#006DFF 100%);
  color:#fff;
  padding:84px 0 76px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.wfm-hero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.38;
  background:
    radial-gradient(circle at 78% 25%,rgba(18,183,255,.50),transparent 26%),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(180deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:auto,46px 46px,46px 46px;
}

.wfm-hero::after{
  content:"";
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-55px;
  height:110px;
  background:#F7FAFF;
  border-radius:50% 50% 0 0 / 64% 64% 0 0;
}

.wfm-hero__container{
  width:min(1120px,calc(100% - 30px));
  margin-inline:auto;
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  align-items:center;
  gap:30px;
}

.wfm-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:30px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.wfm-hero__kicker::before{
  content:"";
  width:8px;
  height:8px;
  background:var(--wfm-cyan);
}

.wfm-hero h1{
  max-width:800px;
  margin:14px 0 0;
  color:#fff;
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:.96;
  letter-spacing:-.075em;
  font-weight:950;
}

.wfm-hero h1 span{color:#84D8FF}

.wfm-hero p{
  max-width:650px;
  margin:16px 0 0;
  color:rgba(255,255,255,.84);
  font-size:15px;
  line-height:1.58;
  font-weight:650;
}

.wfm-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

.wfm-btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 20px;
  border-radius:0;
  text-decoration:none;
  font-size:12px;
  font-weight:950;
}

.wfm-btn--primary{
  background:#fff;
  color:var(--wfm-blue);
  border:1px solid #fff;
}

.wfm-btn--ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
  border:1px solid rgba(255,255,255,.28);
}

.wfm-hero__panel{
  background:#fff;
  color:#061231;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 22px 48px rgba(0,0,0,.20);
  padding:24px;
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.wfm-hero__panel span{
  color:#64748B;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.09em;
}

.wfm-hero__panel strong{
  margin-top:7px;
  color:var(--wfm-blue);
  font-size:46px;
  line-height:.92;
  letter-spacing:-.07em;
  font-weight:950;
}

.wfm-hero__panel small{
  margin-top:9px;
  color:#52637E;
  font-size:12px;
  line-height:1.35;
  font-weight:800;
}

/* Mi Servicio */
#wfcms2,#wfcms2 *,#wfcms2_modal,#wfcms2_modal *,#wfcms2_toast,#wfcms2_toast *{box-sizing:border-box!important}

#wfcms2{
  --b:#0033A5;--b2:#0B63F6;--b3:#001B5C;--ink:#08122F;--txt:#26364F;--mut:#718198;
  --line:#D8E4F5;--soft:#F4F8FF;--white:#fff;--ok:#16A34A;--red:#DC2626;--or:#F97316;
  width:100%!important;
  margin:0!important;
  padding:38px 14px 44px!important;
  isolation:isolate!important;
  overflow:hidden!important;
  color:var(--txt)!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  line-height:1.35!important;
  background:
    linear-gradient(90deg,rgba(0,51,165,.024) 1px,transparent 1px),
    linear-gradient(180deg,rgba(0,51,165,.024) 1px,transparent 1px),
    linear-gradient(180deg,#F9FBFF 0%,#FFFFFF 54%,#F3F7FF 100%)!important;
  background-size:42px 42px,42px 42px,100% 100%!important;
}

#wfcms2 button,#wfcms2 input,#wfcms2_modal button{font-family:inherit!important}
#wfcms2_wrap{width:min(980px,100%)!important;margin:0 auto!important}
#wfcms2_head{text-align:left!important;margin:0 0 14px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:14px!important;align-items:end!important}
#wfcms2_head .k{width:max-content!important;display:inline-flex!important;align-items:center!important;gap:7px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--b)!important;padding:5px 10px!important;border-radius:999px!important;font-size:10px!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important;box-shadow:0 8px 18px rgba(0,51,165,.06)!important}
#wfcms2_head h2{margin:8px 0 0!important;max-width:680px!important;color:var(--ink)!important;font-size:clamp(1.55rem,2.8vw,2.45rem)!important;line-height:1.02!important;font-weight:950!important;letter-spacing:-.055em!important}
#wfcms2_head p{margin:7px 0 0!important;max-width:650px!important;color:var(--mut)!important;font-size:12.5px!important;line-height:1.5!important;font-weight:650!important}

#wfcms2_steps{display:grid!important;grid-template-columns:1.15fr repeat(3,.9fr)!important;gap:8px!important;align-items:stretch!important;background:linear-gradient(135deg,var(--b3),var(--b),var(--b2))!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px!important;padding:9px!important;box-shadow:0 18px 42px rgba(0,51,165,.16)!important;position:relative!important;overflow:hidden!important}
#wfcms2_steps:after{content:""!important;position:absolute!important;right:-50px!important;top:-80px!important;width:190px!important;height:190px!important;border-radius:50%!important;background:rgba(255,255,255,.10)!important;pointer-events:none!important}
.wfcms2_brand,.wfcms2_step{position:relative!important;z-index:1!important;min-width:0!important;display:flex!important;align-items:center!important;gap:9px!important;color:#fff!important;border-radius:13px!important;padding:9px 10px!important}
.wfcms2_brand{background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.13)!important}
.wfcms2_brand i,.wfcms2_step i{width:31px!important;height:31px!important;min-width:31px!important;display:grid!important;place-items:center!important;font-style:normal!important;border-radius:11px!important;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.15)!important;font-size:15px!important;font-weight:950!important;color:#fff!important}
.wfcms2_brand b,.wfcms2_step b{display:block!important;font-size:12px!important;font-weight:950!important;line-height:1.1!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wfcms2_brand span,.wfcms2_step span{display:block!important;margin-top:2px!important;font-size:10px!important;color:rgba(255,255,255,.68)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wfcms2_step{background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.11)!important}
.wfcms2_step.on{background:rgba(255,255,255,.18)!important}.wfcms2_step.on i{background:#fff!important;color:var(--b)!important}.wfcms2_step.done i{background:var(--ok)!important;color:#fff!important}

#wfcms2_panel{padding:12px 0 0!important;background:transparent!important}
.wfcms2_pane{display:none!important;animation:wfcms2Fade .18s ease both!important}
.wfcms2_pane.on{display:block!important}
@keyframes wfcms2Fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}

.wfcms2_form{width:min(390px,100%)!important;margin:12px auto 0!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:18px!important;padding:18px!important;box-shadow:0 16px 38px rgba(15,23,42,.08)!important}
.wfcms2_t{margin:0 0 5px!important;color:var(--ink)!important;font-size:18px!important;font-weight:950!important;letter-spacing:-.035em!important}
.wfcms2_s{margin:0 0 13px!important;color:var(--mut)!important;font-size:12px!important;line-height:1.5!important;font-weight:650!important}
.wfcms2_lab{display:block!important;margin:0 0 6px!important;color:#334155!important;font-size:10.5px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.055em!important}
.wfcms2_input{width:100%!important;height:43px!important;border-radius:13px!important;border:1px solid var(--line)!important;background:#F9FBFF!important;color:var(--ink)!important;outline:none!important;padding:0 13px!important;font-size:14px!important;font-weight:850!important;box-shadow:none!important}
.wfcms2_input:focus{border-color:var(--b2)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(11,99,246,.08)!important}
.wfcms2_otp{text-align:center!important;letter-spacing:7px!important;font-size:19px!important;padding:0 8px!important}
.wfcms2_btn{width:100%!important;min-height:43px!important;margin-top:12px!important;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,var(--b),var(--b2))!important;color:#fff!important;font-size:12.5px!important;font-weight:950!important;cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 16px!important;box-shadow:0 12px 26px rgba(0,51,165,.20)!important}
.wfcms2_btn:disabled{opacity:.72!important;cursor:not-allowed!important}
.wfcms2_btn2{min-height:36px!important;border-radius:12px!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--b)!important;font-size:11.5px!important;font-weight:950!important;cursor:pointer!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;text-decoration:none!important;box-shadow:0 8px 18px rgba(0,51,165,.05)!important}
.wfcms2_btn2:hover{background:#F3F7FF!important}
.wfcms2_links{display:flex!important;gap:9px!important;justify-content:center!important;flex-wrap:wrap!important;margin-top:11px!important;font-size:11.5px!important}
.wfcms2_links a{color:var(--b)!important;text-decoration:none!important;font-weight:850!important}
.wfcms2_alert{display:none!important;margin-top:10px!important;border-radius:12px!important;padding:9px 11px!important;font-size:11.5px!important;font-weight:750!important;line-height:1.4!important}
.wfcms2_alert.on{display:block!important}
.wfcms2_alert.err{background:#FFF1F2!important;color:#991B1B!important;border:1px solid #FECACA!important}
.wfcms2_alert.inf{background:#EFF6FF!important;color:#1E40AF!important;border:1px solid #BFDBFE!important}
.wfcms2_spin{width:15px!important;height:15px!important;min-width:15px!important;border-radius:50%!important;border:2px solid rgba(255,255,255,.45)!important;border-top-color:#fff!important;animation:wfcms2Spin .7s linear infinite!important}
@keyframes wfcms2Spin{to{transform:rotate(360deg)}}

#wfcms2_result{display:grid!important;gap:10px!important}
.wfcms2_toprow{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)!important;gap:10px!important}
.wfcms2_box{background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:11px 12px!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important}
.wfcms2_profile,.wfcms2_status{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.wfcms2_user{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.wfcms2_user i{width:34px!important;height:34px!important;min-width:34px!important;border-radius:12px!important;background:#ECF4FF!important;color:var(--b)!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:16px!important}
.wfcms2_user b{display:block!important;max-width:100%!important;color:var(--ink)!important;font-size:12.5px!important;font-weight:950!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wfcms2_user span{display:block!important;color:var(--mut)!important;font-size:10.5px!important;margin-top:1px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.wfcms2_status b{display:block!important;color:var(--ink)!important;font-size:12.5px!important;font-weight:950!important}
.wfcms2_status small{display:block!important;color:var(--mut)!important;font-size:10.5px!important;margin-top:1px!important}
.wfcms2_badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:6px 9px!important;background:#F1F5F9!important;color:#475569!important;font-size:10px!important;font-weight:950!important;white-space:nowrap!important;text-transform:capitalize!important}
.wfcms2_badge.green{background:#DCFCE7!important;color:#166534!important}.wfcms2_badge.red{background:#FEE2E2!important;color:#991B1B!important}.wfcms2_badge.orange{background:#FFEDD5!important;color:#9A3412!important}

#wfcms2_tabs{display:flex!important;gap:6px!important;background:#EDF4FF!important;border:1px solid #D3E1F6!important;border-radius:15px!important;padding:5px!important;overflow:auto!important}
.wfcms2_tab{flex:1 0 150px!important;min-height:35px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:#64748B!important;font-size:11.5px!important;font-weight:950!important;cursor:pointer!important}
.wfcms2_tab.on{background:#fff!important;color:var(--b)!important;box-shadow:0 8px 16px rgba(15,23,42,.06)!important}
.wfcms2_tabpane{display:none!important}.wfcms2_tabpane.on{display:block!important}
.wfcms2_cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.wfcms2_card{background:#fff!important;border:1px solid var(--line)!important;border-radius:16px!important;padding:12px!important;box-shadow:0 10px 24px rgba(15,23,42,.055)!important;min-width:0!important}
.wfcms2_ch{display:flex!important;align-items:center!important;gap:7px!important;color:var(--b)!important;font-size:10px!important;font-weight:950!important;letter-spacing:.05em!important;text-transform:uppercase!important;margin-bottom:9px!important}
.wfcms2_ch i{width:24px!important;height:24px!important;border-radius:9px!important;background:#EDF4FF!important;display:grid!important;place-items:center!important;font-style:normal!important}
.wfcms2_data{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
.wfcms2_d span{display:block!important;color:#94A3B8!important;font-size:9px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.055em!important}
.wfcms2_d b{display:block!important;color:#111827!important;font-size:11.5px!important;font-weight:950!important;overflow-wrap:anywhere!important;margin-top:1px!important;line-height:1.25!important}

.wfcms2_list{display:grid!important;gap:7px!important;max-height:276px!important;overflow:auto!important;padding-right:2px!important}
.wfcms2_inv{display:grid!important;grid-template-columns:1.2fr .7fr .9fr auto auto!important;align-items:center!important;gap:8px!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:14px!important;padding:9px 10px!important}
.wfcms2_inv.pend{background:#FFF8F0!important;border-color:#FED7AA!important}
.wfcms2_inv b{font-size:11.5px!important;font-weight:950!important;color:#111827!important}
.wfcms2_inv small{display:block!important;color:var(--mut)!important;font-size:10px!important;margin-top:1px!important}
.wfcms2_money{font-size:11.5px!important;font-weight:950!important;color:var(--b)!important}
.wfcms2_pdf{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:28px!important;border-radius:9px!important;background:var(--b)!important;color:#fff!important;padding:0 8px!important;font-size:10px!important;font-weight:950!important;text-decoration:none!important;white-space:nowrap!important}
.wfcms2_empty{text-align:center!important;background:#F8FAFC!important;border:1px dashed #CBD5E1!important;border-radius:15px!important;padding:22px 12px!important;color:#64748B!important;font-size:12px!important;font-weight:650!important}
.wfcms2_actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important;margin-top:2px!important}

#wfcms2_modal{position:fixed!important;inset:0!important;background:rgba(8,13,35,.42)!important;z-index:2147483000!important;display:none!important;align-items:center!important;justify-content:center!important;padding:18px!important;backdrop-filter:blur(5px)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
#wfcms2_modal.on{display:flex!important;animation:wfcms2Bg .14s ease both!important}
@keyframes wfcms2Bg{from{opacity:0}to{opacity:1}}
.wfcms2_mbox{width:min(340px,100%)!important;background:#fff!important;border:1px solid var(--line)!important;border-radius:20px!important;padding:22px!important;text-align:center!important;box-shadow:0 26px 80px rgba(15,23,42,.24)!important;position:relative!important;animation:wfcms2Pop .16s ease both!important}
@keyframes wfcms2Pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.wfcms2_mx{position:absolute!important;right:10px!important;top:10px!important;width:32px!important;height:32px!important;border:0!important;border-radius:11px!important;background:#F1F5F9!important;color:#64748B!important;font-size:19px!important;line-height:1!important;cursor:pointer!important}
.wfcms2_mico{width:52px!important;height:52px!important;margin:0 auto 12px!important;border-radius:18px!important;display:grid!important;place-items:center!important;background:#FEE2E2!important;font-size:24px!important}
.wfcms2_mbox h3{margin:0 0 7px!important;color:var(--ink)!important;font-size:17px!important;font-weight:950!important;letter-spacing:-.03em!important}
.wfcms2_mbox p{margin:0 0 16px!important;color:var(--mut)!important;font-size:12.5px!important;line-height:1.5!important}
.wfcms2_mbox .wfcms2_mok{width:100%!important;min-height:42px!important;border:0!important;border-radius:13px!important;background:linear-gradient(135deg,var(--b),var(--b2))!important;color:#fff!important;font-size:13px!important;font-weight:950!important;cursor:pointer!important}
.wfcms2_toast{position:fixed!important;right:18px!important;top:76px!important;z-index:2147482999!important;display:none!important;align-items:center!important;gap:10px!important;min-width:260px!important;max-width:min(360px,calc(100vw - 28px))!important;background:#fff!important;border:1px solid #BBF7D0!important;border-left:4px solid #22C55E!important;border-radius:15px!important;padding:11px 13px!important;box-shadow:0 18px 55px rgba(15,23,42,.16)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:#0F172A!important}
.wfcms2_toast.on{display:flex!important;animation:wfcms2Toast .18s ease both!important}
@keyframes wfcms2Toast{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.wfcms2_toast i{width:31px!important;height:31px!important;min-width:31px!important;border-radius:11px!important;background:#DCFCE7!important;color:#166534!important;display:grid!important;place-items:center!important;font-style:normal!important;font-size:16px!important}
.wfcms2_toast b{display:block!important;font-size:12.5px!important;font-weight:950!important}
.wfcms2_toast span{display:block!important;margin-top:1px!important;color:#64748B!important;font-size:11px!important;line-height:1.35!important}

@media(max-width:1060px){
  .wfm-hero__container{grid-template-columns:1fr}
  .wfm-hero__panel{max-width:260px}
}

@media(max-width:920px){
  #wfcms2{padding:30px 11px 34px!important}
  #wfcms2_head{grid-template-columns:1fr!important;text-align:center!important;justify-items:center!important}
  #wfcms2_head h2,#wfcms2_head p{margin-left:auto!important;margin-right:auto!important}
  #wfcms2_steps{grid-template-columns:1fr!important}
  .wfcms2_brand,.wfcms2_step{padding:8px 9px!important}
  .wfcms2_toprow{grid-template-columns:1fr!important}
  .wfcms2_cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .wfcms2_inv{grid-template-columns:1fr 1fr!important}
  .wfcms2_pdf{justify-self:start!important}
  .wfcms2_list{max-height:none!important}
}

@media(max-width:760px){
  .wfm-hero{padding:58px 0 62px}
  .wfm-hero__container{width:calc(100% - 22px)}
  .wfm-hero h1{font-size:2rem;letter-spacing:-.064em}
  .wfm-hero p{font-size:13px}
  .wfm-hero__actions{flex-direction:column}
  .wfm-btn{width:100%}
  .wfm-hero__panel{display:none}
}

@media(max-width:560px){
  #wfcms2{padding:26px 10px 30px!important}
  #wfcms2_head h2{font-size:1.55rem!important}
  #wfcms2_head p{font-size:12px!important}
  .wfcms2_form{margin-top:10px!important;padding:15px!important;border-radius:16px!important}
  .wfcms2_cards{grid-template-columns:1fr!important}
  .wfcms2_profile,.wfcms2_status{align-items:flex-start!important;flex-direction:column!important}
  .wfcms2_btn2{width:100%!important}
  .wfcms2_actions{justify-content:stretch!important}
  .wfcms2_tab{flex:0 0 auto!important;padding:0 13px!important}
  .wfcms2_inv{grid-template-columns:1fr!important;align-items:start!important}
  .wfcms2_pdf{width:100%!important}
  .wfcms2_toast{left:14px!important;right:14px!important;top:70px!important;min-width:0!important}
}