/* WanTopup v84.99g — public header polish, hero CTA readability, and Admin button consistency. */

/* ---------------------------
   PUBLIC HEADER / SHARE UI
   --------------------------- */
.site-header.wantopup-header{position:relative!important;isolation:isolate}
.site-header.wantopup-header .wtp-header-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:8px!important;min-width:0!important;position:relative!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-language-switcher{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:4px!important;gap:4px!important;border:1px solid #c9ddda!important;
  background:#f4fbfa!important;border-radius:999px!important;box-shadow:none!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-language-switcher button{
  min-width:34px!important;min-height:32px!important;padding:6px 8px!important;
}
.site-header.wantopup-header .wtp-header-actions .wtp-share-header-trigger{
  position:static!important;inset:auto!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  width:36px!important;min-width:36px!important;height:36px!important;
  padding:0!important;border-radius:999px!important;border:1px solid #c9ddda!important;
  background:#f4fbfa!important;color:#0a6268!important;box-shadow:none!important;
}
.site-header.wantopup-header .wtp-share-header-trigger-text{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
.site-header.wantopup-header .wtp-share-header-feedback{
  position:absolute!important;right:0!important;top:calc(100% + 8px)!important;
  display:block!important;max-width:210px!important;padding:0!important;min-height:0!important;
  font:600 12px/1.35 Arial,sans-serif!important;color:#0a6268!important;background:transparent!important;
}
.site-header.wantopup-header .wtp-share-header-feedback:empty{display:none!important}
.site-header.wantopup-header .wtp-share-header-menu[hidden]{display:none!important}
.site-header.wantopup-header .wtp-share-header-menu:not([hidden]){
  position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;
  z-index:15!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;width:min(320px,calc(100vw - 28px))!important;min-width:260px!important;
  padding:10px!important;border-radius:16px!important;border:1px solid #d8e8e6!important;
  background:#ffffff!important;box-shadow:0 10px 28px rgba(12,53,62,.12)!important;
}
.site-header.wantopup-header .wtp-share-header-menu :is(a,button){
  min-height:42px!important;padding:8px 10px!important;border-radius:12px!important;
  border:1px solid #d3e5e2!important;background:#f9fcfc!important;color:#134750!important;
  font:700 13px/1.2 Inter,Arial,sans-serif!important;text-decoration:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  white-space:normal!important;overflow-wrap:anywhere!important;box-shadow:none!important;
}
.site-header.wantopup-header .wtp-share-header-menu :is(a,button):hover{
  background:#eff8f7!important;border-color:#a7cfca!important;
}
.site-header.wantopup-header .wtp-header-actions button:focus-visible,
.site-header.wantopup-header .wtp-share-header-menu :is(a,button):focus-visible{
  outline:3px solid #df9f28!important;outline-offset:3px!important;
}

/* tablet / mobile header layout */
@media(max-width:920px){
  .site-header.wantopup-header{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px 12px!important;align-items:center!important;justify-content:stretch!important;
    width:calc(100% - 20px)!important;max-width:1180px!important;margin:10px auto 0!important;
    padding:14px!important;border:1px solid #dce8e7!important;border-radius:24px!important;
    background:rgba(255,255,255,.97)!important;box-shadow:0 8px 22px rgba(10,50,55,.05)!important;
  }
  .site-header.wantopup-header .brand{
    grid-column:1!important;grid-row:1!important;justify-self:start!important;
    min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;
  }
  .site-header.wantopup-header .brand span{
    font-size:1.2rem!important;line-height:1.15!important;overflow-wrap:anywhere!important;
  }
  .site-header.wantopup-header .wtp-header-actions{
    grid-column:2!important;grid-row:1!important;justify-self:end!important;
    background:#f4fbfa!important;border:1px solid #d8e7e5!important;border-radius:18px!important;
    padding:5px 6px!important;box-shadow:0 2px 8px rgba(10,50,55,.04)!important;
  }
  .site-header.wantopup-header .main-nav{
    grid-column:1 / -1!important;grid-row:2!important;display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;
    width:100%!important;margin:0!important;
  }
  .site-header.wantopup-header .main-nav .header-icon-link{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    gap:8px!important;min-width:0!important;min-height:48px!important;padding:11px 12px!important;
    border:1px solid #e1edeb!important;border-radius:16px!important;background:#ffffff!important;
    color:#163741!important;font-size:.92rem!important;line-height:1.25!important;
    box-shadow:0 2px 10px rgba(8,56,61,.03)!important;
  }
  .site-header.wantopup-header .main-nav .header-icon{flex:0 0 auto;font-size:1rem!important;line-height:1}
}
@media(max-width:560px){
  .site-header.wantopup-header .wtp-header-actions .wtp-language-switcher button{
    min-width:31px!important;min-height:31px!important;padding:5px 7px!important;font-size:11px!important;
  }
  .site-header.wantopup-header .wtp-header-actions .wtp-share-header-trigger{
    width:33px!important;min-width:33px!important;height:33px!important;font-size:17px!important;
  }
  .site-header.wantopup-header .main-nav .header-icon-link{
    justify-content:center!important;min-height:46px!important;padding:10px 8px!important;
    font-size:.88rem!important;gap:6px!important;
  }
  .site-header.wantopup-header .wtp-share-header-menu:not([hidden]){
    width:min(300px,calc(100vw - 24px))!important;right:0!important;
  }
}
@media(max-width:380px){
  .site-header.wantopup-header .main-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ---------------------------
   HERO CTA READABILITY
   --------------------------- */
body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions{
  max-width:min(100%,760px)!important;gap:12px!important;
}
body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan{
  grid-template-columns:minmax(0,1fr) auto auto!important;column-gap:8px!important;
  row-gap:4px!important;min-height:66px!important;padding:12px 14px!important;
}
body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan span:first-child{
  white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
  line-height:1.18!important;font-size:.9rem!important;text-wrap:balance!important;
}
body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan strong{
  font-size:1rem!important;line-height:1!important;
}
body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan-arrow{
  align-self:center!important;justify-self:end!important;
}
@media(min-width:1180px){
  body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan span:first-child{
    white-space:nowrap!important;
  }
}
@media(max-width:1040px){
  body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions{
    max-width:min(100%,720px)!important;
  }
  body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan{
    min-height:62px!important;padding:11px 13px!important;
  }
}
@media(max-width:620px){
  body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan{
    min-height:58px!important;border-radius:13px!important;
  }
  body.wantopup-landing .hero.wantopup-hero .wtp-hero-plan-actions .wtp-hero-plan span:first-child{
    font-size:.88rem!important;
  }
}

/* ---------------------------
   ADMIN LABEL / BUTTON POLISH
   --------------------------- */
body.dash-page main.wtp-admin-ui > .dash-head{gap:14px 24px!important}
body.dash-page main.wtp-admin-ui > .dash-head > div:first-child{max-width:700px!important}
body.dash-page main.wtp-admin-ui > .dash-head .cta-row{
  max-width:760px!important;gap:9px!important;align-items:center!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row{
  display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin:0!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn,button.btn){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:38px!important;padding:9px 14px!important;border-radius:999px!important;
  border:1px solid #cfe1df!important;background:#ffffff!important;color:#0d5861!important;
  -webkit-text-fill-color:#0d5861!important;text-decoration:none!important;text-underline-offset:0!important;
  box-shadow:none!important;transform:none!important;font-size:13px!important;line-height:1.3!important;
  white-space:normal!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn,button.btn):hover{
  border-color:#8cc4be!important;background:#f1f9f8!important;color:#084d55!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn,button.btn):focus-visible{
  outline:3px solid #0c8475!important;outline-offset:3px!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn.primary,button.btn.primary){
  background:linear-gradient(135deg,#1f9e95,#0f7b8d)!important;color:#fff!important;
  -webkit-text-fill-color:#fff!important;border-color:transparent!important;
  box-shadow:0 10px 24px rgba(15,123,141,.18)!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn.primary,button.btn.primary):hover{
  background:linear-gradient(135deg,#19897f,#0d6b7a)!important;color:#fff!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row > :is(a.btn.danger,button.btn.danger){
  background:#fff7f5!important;border-color:#efb4b4!important;color:#9b2c2c!important;
  -webkit-text-fill-color:#9b2c2c!important;
}
body.dash-page main.wtp-admin-ui :is(.dash-head,.panel) .cta-row form{margin:0!important}
@media(max-width:860px){
  body.dash-page main.wtp-admin-ui > .dash-head .cta-row{max-width:100%!important}
}
