/* Combat Airsoft Member Dashboard v1.0: Elementor / WooCommerce-safe selectors */
.ca-dashboard{--ca-green:#069d51;--ca-yellow:#fbeb19;--ca-ink:#0e1311;--ca-panel:#15231c;--ca-soft:#d4e1d8;--ca-card:#17251d;font-family:inherit;color:#f9fcfa;max-width:1260px;margin:0 auto;padding:0 2px 24px;box-sizing:border-box}
.ca-dashboard *{box-sizing:border-box}
.ca-dashboard a{text-decoration:none}
.ca-hero{position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(113deg,#101712 0%,#183221 68%,#09532c 100%);padding:30px 34px 34px;box-shadow:0 11px 26px rgba(0,0,0,.11);border:1px solid #31553b;color:#fff}
.ca-hero:after{content:'';position:absolute;z-index:0;width:330px;height:330px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-90px;top:-120px;pointer-events:none;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.015)}
.ca-hero__top,.ca-hero__body{position:relative;z-index:1}
.ca-hero__top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:21px;margin-bottom:22px;gap:16px}
.ca-hero__logo{width:244px;max-width:54%;height:auto;object-fit:contain;display:block;mix-blend-mode:screen}
.ca-hero__eyebrow{font-weight:800;font-size:11px;letter-spacing:.16em;color:#f8e91a}
.ca-hero__body{display:flex;justify-content:space-between;gap:20px;align-items:center}
.ca-hero__copy{flex:1;min-width:0}
.ca-hero h2{font-size:clamp(25px,3.3vw,41px);line-height:1.18;letter-spacing:-.03em;font-weight:800;color:#fff;margin:0 0 11px}
.ca-hero h2 span{color:var(--ca-yellow)}
.ca-hero__copy p{font-size:15px;color:#dce9dd;line-height:1.6;max-width:480px;margin:0}
.ca-hero__meta{flex:0 0 auto;min-width:185px;text-align:right}
.ca-membership-pill{padding:9px 12px;display:inline-flex;align-items:center;gap:9px;background:#36433a;border-radius:100px;font-size:12px;font-weight:800;color:#fff;white-space:nowrap}
.ca-membership-pill--active{background:#155936;color:#e8ffe9}
.ca-membership-pill__dot{display:inline-block;width:8px;height:8px;background:#efdb28;border-radius:50%}
.ca-membership-pill--active .ca-membership-pill__dot{background:#76e69d}
.ca-hero__plan{font-size:13px;font-weight:650;color:#fff;margin-top:12px}
.ca-hero__renewal{font-size:12px;color:#d6dfd8;margin-top:4px}
.ca-sectionhead{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:33px 0 17px;color:#151b17}
.ca-sectionhead h3{font-size:24px;line-height:1.2;color:#152219;margin:0 0 4px;font-weight:800}
.ca-sectionhead p{font-size:14px;color:#65736a;margin:0}
.ca-sectionhead>span{font-size:10px;letter-spacing:.17em;color:#65806b;font-weight:800;white-space:nowrap}
.ca-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ca-dashboard .ca-tile{aspect-ratio:1/1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;position:relative;border-radius:14px;border:1px solid #326344;background:linear-gradient(145deg,#182e22,#0f2118);color:#fff;padding:18px 12px;text-align:center;transition:transform .18s,box-shadow .18s,border-color .18s;min-width:0}
.ca-dashboard .ca-tile--yellow{background:linear-gradient(145deg,#202c23,#171d18);border-color:#53684a}
.ca-dashboard a.ca-tile:hover{transform:translateY(-4px);box-shadow:0 13px 24px rgba(0,0,0,.19);border-color:#24c66b;color:#fff}
.ca-dashboard a.ca-tile:focus-visible{outline:3px solid #ebd914;outline-offset:3px}
.ca-tile__icon{display:flex;justify-content:center;align-items:center;height:52px;width:52px;border-radius:13px;background:rgba(6,157,81,.17);color:#56d48f}
.ca-tile--yellow .ca-tile__icon{background:rgba(251,235,25,.10);color:#fbeb19}
.ca-tile__icon svg{width:30px;height:30px}
.ca-tile__heading{font-size:13px;line-height:1.35;letter-spacing:.045em;font-weight:850;color:#fff!important;overflow-wrap:anywhere}
.ca-tile__sub{font-size:12px;line-height:1.4;color:#b5c9bb;max-width:95%;overflow-wrap:break-word}
.ca-tile__tag{position:absolute;top:10px;right:10px;font-size:9px;color:#ffe985;border:1px solid rgba(255,233,133,.35);border-radius:100px;padding:3px 7px;font-weight:750}
.ca-tile__arrow{position:absolute;bottom:11px;right:13px;color:#738f79;font-size:14px}
.ca-tile--disabled{opacity:.63;cursor:not-allowed}
.ca-tile--disabled .ca-tile__arrow{display:none}
.ca-ukara{scroll-margin-top:40px;margin-top:24px;background:#f5f8f5;border:1px solid #dce8dd;border-radius:14px;padding:24px;color:#1d2e21}
.ca-ukara__head{display:flex;align-items:center;gap:13px;margin-bottom:15px}
.ca-ukara__icon{width:43px;height:43px;border-radius:10px;background:#e2f2e6;color:#0a9b4e;display:flex;align-items:center;justify-content:center;flex:none}
.ca-ukara__icon svg{width:24px;height:24px}
.ca-ukara h3{margin:0 0 3px;color:#15251b;font-size:20px;line-height:1.3;font-weight:800}
.ca-ukara__head p{font-size:13px;color:#64766a;margin:0}
.ca-ukara__empty{margin:8px 0 0;color:#56695b;font-size:14px;line-height:1.7}
.ca-ukara__fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}
.ca-ukara__fields>div{background:#fff;border:1px solid #e0e9e1;border-radius:9px;padding:15px}
.ca-ukara__fields small{display:block;color:#6e8274;font-size:11px;margin-bottom:7px;text-transform:uppercase;letter-spacing:.07em}
.ca-ukara__fields strong{display:block;color:#1d3525;font-weight:750;font-size:16px;overflow-wrap:anywhere}
.ca-dashboard__footer{font-size:13px;text-align:center;color:#576e60;margin:21px 0 0}
.ca-dashboard__footer a{color:#087640;text-decoration:underline}
/* Dashboard ONLY: don't hide navigation on orders, subscription or account settings endpoints. */
body.ca-member-dashboard-home:has(.ca-dashboard) .woocommerce-MyAccount-navigation,body.ca-member-dashboard-home:has(.ca-dashboard) .elementor-widget-woocommerce-my-account .e-my-account-tab__nav{display:none!important}
body.ca-member-dashboard-home:has(.ca-dashboard) .woocommerce-MyAccount-content,body.ca-member-dashboard-home:has(.ca-dashboard) .elementor-widget-woocommerce-my-account .e-my-account-tab__content{float:none!important;width:100%!important;max-width:100%!important;margin:0!important}
body.ca-member-dashboard-home:has(.ca-dashboard) .elementor-widget-woocommerce-my-account .e-my-account-tab,body.ca-member-dashboard-home:has(.ca-dashboard) .elementor-widget-woocommerce-my-account .woocommerce{display:block!important;width:100%!important}
@media(max-width:990px){.ca-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ca-hero{padding:24px}}
@media(max-width:690px){.ca-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ca-hero__body{flex-direction:column;align-items:flex-start}.ca-hero__meta{text-align:left}.ca-sectionhead>span{display:none}.ca-ukara__fields{grid-template-columns:1fr}}
@media(max-width:410px){.ca-hero{padding:19px}.ca-hero__logo{width:210px}.ca-hero__eyebrow{font-size:9px}.ca-dashboard .ca-tile{padding:12px 7px;gap:7px}.ca-tile__icon{width:43px;height:43px}.ca-tile__icon svg{width:25px;height:25px}.ca-tile__heading{font-size:11px}.ca-tile__sub{font-size:11px}.ca-tile__tag{top:5px;right:5px;font-size:8px;padding:2px 5px}}
@media(prefers-reduced-motion:reduce){.ca-dashboard .ca-tile{transition:none}}

/* Suppress the legacy separate WhatsApp panel ONLY while the new dashboard is visible. */
body.ca-member-dashboard-home:has(.ca-dashboard) section[aria-labelledby="ca-community-heading"]{display:none!important}
