:root{--navy:#07111f;--ink:#111827;--muted:#687489;--gold:#d6b25e;--cyan:#7cf3ff;--bg:#f6f8fb;--card:#fff;--line:#e8edf4;--green:#15b77a;--red:#db3b3b;--shadow:0 24px 70px rgba(7,17,31,.12);--radius:28px}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}img{max-width:100%}.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:16px clamp(18px,4vw,64px);background:rgba(246,248,251,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(232,237,244,.8)}.brand{display:flex;align-items:center;gap:12px;font-weight:900;color:var(--navy)}.brand img{width:165px;max-height:64px;object-fit:contain}.footer img{max-width:190px;background:transparent}.brand span{font-size:20px}.nav{display:flex;align-items:center;gap:10px}.nav a{padding:10px 14px;border-radius:999px;font-weight:700;color:#334155}.nav a:hover{background:#fff;box-shadow:0 10px 26px rgba(7,17,31,.08)}.nav-cta,.btn.primary{background:linear-gradient(135deg,var(--gold),#ffe19a)!important;color:#07111f!important;box-shadow:0 13px 30px rgba(214,178,94,.32)}.nav-toggle{display:none;border:0;background:var(--navy);color:white;border-radius:12px;padding:10px 13px;font-size:20px}.hero{position:relative;overflow:hidden;background:radial-gradient(circle at 85% 15%,rgba(124,243,255,.22),transparent 28%),linear-gradient(135deg,#07111f,#0d2440 58%,#07111f);color:white;padding:80px clamp(18px,4vw,70px);border-bottom-left-radius:48px;border-bottom-right-radius:48px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:38px;align-items:center;max-width:1240px;margin:auto}.eyebrow{display:inline-flex;padding:8px 12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#d6fbff;font-weight:800;font-size:13px}.hero h1{font-size:clamp(38px,6vw,76px);line-height:.95;margin:18px 0;font-weight:900;letter-spacing:-2px}.hero p{font-size:18px;color:#dce8f7;line-height:1.7}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:14px 22px;font-weight:900;cursor:pointer}.btn.dark{background:#07111f;color:white}.btn.light{background:rgba(255,255,255,.12);color:white;border:1px solid rgba(255,255,255,.22)}.hero-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.scoreboard{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.score{background:white;color:var(--navy);border-radius:22px;padding:22px}.score strong{font-size:34px}.score span{display:block;color:var(--muted);font-weight:700;margin-top:4px}.section{padding:70px clamp(18px,4vw,70px);max-width:1280px;margin:auto}.section-title{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}.section-title h2{font-size:clamp(28px,4vw,46px);margin:0;color:var(--navy);letter-spacing:-1px}.section-title p{max-width:570px;color:var(--muted);line-height:1.7}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.sport-card,.plan,.panel,.product,.service-card,.form-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 16px 44px rgba(7,17,31,.07)}.sport-card{min-height:190px;position:relative;overflow:hidden}.sport-card .icon{font-size:38px}.sport-card h3{margin:14px 0 8px;color:var(--navy)}.sport-card p,.plan p,.product p,.service-card p{color:var(--muted);line-height:1.6}.sport-card:after{content:"";position:absolute;right:-35px;bottom:-35px;width:110px;height:110px;background:linear-gradient(135deg,rgba(214,178,94,.22),rgba(124,243,255,.2));border-radius:50%}.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;align-items:start}.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.plan.featured{background:linear-gradient(135deg,#07111f,#10294a);color:white;transform:translateY(-10px)}.plan.featured p,.plan.featured li{color:#dce8f7}.price{font-size:36px;font-weight:900;margin:12px 0;color:var(--gold)}ul.clean{padding:0;list-style:none}ul.clean li{padding:9px 0;border-bottom:1px solid rgba(232,237,244,.55);color:#536177}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid .full{grid-column:1/-1}label{display:block;font-weight:800;margin-bottom:7px;color:#26344a}input,select,textarea{width:100%;padding:13px 14px;border:1px solid #dbe3ef;border-radius:16px;font:inherit;outline:none;background:white}input:focus,select:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(214,178,94,.14)}.alert{padding:14px 16px;border-radius:18px;margin:14px 0;font-weight:700}.alert.ok{background:#eafaf3;color:#08784e}.alert.err{background:#fff0f0;color:#a41d1d}.dashboard{display:grid;grid-template-columns:300px 1fr;gap:22px}.wallet{background:linear-gradient(135deg,#07111f,#17365f);color:white;border-radius:var(--radius);padding:28px}.wallet strong{font-size:40px;color:var(--gold)}.table-wrap{overflow:auto;background:white;border-radius:22px;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;min-width:700px}th,td{text-align:left;padding:14px;border-bottom:1px solid var(--line)}th{font-size:13px;text-transform:uppercase;color:#64748b;background:#f8fafc}.products,.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.badge{display:inline-flex;background:#eef8ff;color:#075985;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.footer{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:26px;background:#07111f;color:white;padding:46px clamp(18px,4vw,70px);margin-top:40px}.footer img{width:64px;background:white;border-radius:16px;padding:6px}.footer p{color:#b9c5d6;line-height:1.7}.auth{min-height:calc(100vh - 100px);display:grid;place-items:center;padding:45px 18px}.auth .form-card{width:min(650px,100%)}@media(max-width:980px){.hero-grid,.split,.dashboard{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.plans,.products,.services{grid-template-columns:1fr 1fr}.plan.featured{transform:none}.nav-toggle{display:block}.nav{display:none;position:absolute;left:18px;right:18px;top:76px;background:white;border:1px solid var(--line);border-radius:24px;padding:14px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{display:block}.footer{grid-template-columns:1fr}}@media(max-width:620px){.hero{padding-top:48px;border-bottom-left-radius:30px;border-bottom-right-radius:30px}.scoreboard,.grid,.plans,.products,.services,.form-grid{grid-template-columns:1fr}.brand span{display:none}.section{padding:45px 16px}.hero-actions .btn{width:100%}.section-title{display:block}}

.admin-hero{background:linear-gradient(135deg,#06111f,#0e3a61);color:#fff;border-radius:32px;padding:30px;margin-bottom:22px;display:flex;justify-content:space-between;gap:18px;align-items:center;box-shadow:var(--shadow)}
.admin-hero h1{margin:0;font-size:clamp(28px,4vw,46px)}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.admin-stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;box-shadow:0 12px 30px rgba(7,17,31,.06)}.admin-stat strong{font-size:30px;color:var(--navy)}.admin-actions{display:flex;gap:8px;flex-wrap:wrap}.btn.warn{background:#fff4dd;color:#8a5300}.btn.danger{background:#ffe8e8;color:#ab1d1d}.btn.success{background:#e6fbf0;color:#08784e}.status{display:inline-flex;padding:6px 10px;border-radius:999px;font-weight:900;font-size:12px}.status.active{background:#e6fbf0;color:#08784e}.status.suspended{background:#fff4dd;color:#8a5300}.status.cancelled{background:#ffe8e8;color:#ab1d1d}.mini{font-size:12px;color:var(--muted)}
.brand span{display:none}.site-header{padding-top:10px;padding-bottom:10px}.footer img{width:210px!important;max-height:86px;object-fit:contain}.auth{min-height:68vh;display:grid;place-items:center;padding:50px 18px}.footer{background:#06111f;color:#dce8f7;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px;padding:48px clamp(18px,4vw,70px);margin-top:40px}.footer strong{display:block;font-size:22px;margin:12px 0;color:#fff}.footer p{color:#aebed0;line-height:1.7}.badge{display:inline-block;background:#eef7ff;color:#0b70ab;font-weight:900;border-radius:999px;padding:7px 10px;font-size:12px}.products,.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}th{color:var(--navy);font-size:13px;text-transform:uppercase;letter-spacing:.04em}
@media(max-width:900px){.admin-stats{grid-template-columns:repeat(2,1fr)}.footer{grid-template-columns:1fr}.brand img{width:135px}.products,.services{grid-template-columns:1fr}.admin-hero{display:block}.dashboard{grid-template-columns:1fr}.split{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.plans{grid-template-columns:1fr}.hero-grid{grid-template-columns:1fr}.nav{display:none;position:absolute;top:86px;left:18px;right:18px;background:white;border-radius:22px;box-shadow:var(--shadow);padding:14px;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav-toggle{display:block}.nav a{color:#07111f}}
@media(max-width:560px){.admin-stats,.grid,.form-grid{grid-template-columns:1fr}.hero{padding:50px 18px;border-radius:0 0 30px 30px}.hero h1{letter-spacing:-1px}.scoreboard{grid-template-columns:1fr}.brand img{width:110px}.section{padding:44px 16px}.site-header{padding-left:12px;padding-right:12px}}


/* Enhanced graphical member dashboard */
.member-dashboard{max-width:1320px}.dash-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 92% 20%,rgba(124,243,255,.28),transparent 30%),linear-gradient(135deg,#06111f,#0d3158 60%,#08121f);color:white;border-radius:34px;padding:34px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow);margin-bottom:22px}.dash-hero:after{content:"";position:absolute;right:-70px;bottom:-80px;width:220px;height:220px;border:34px solid rgba(214,178,94,.18);border-radius:50%}.dash-hero h1{margin:12px 0 8px;font-size:clamp(30px,4.5vw,56px);letter-spacing:-1.6px}.dash-hero p{max-width:650px;color:#d6e5f7;line-height:1.7}.dash-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin:22px 0}.dash-card{position:relative;overflow:hidden;background:white;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 16px 44px rgba(7,17,31,.07)}.dash-card:after{content:"";position:absolute;right:-32px;top:-32px;width:96px;height:96px;border-radius:50%;background:linear-gradient(135deg,rgba(214,178,94,.18),rgba(124,243,255,.2))}.dash-card p{font-weight:900;color:#526176;margin:14px 0 8px}.dash-card strong{display:block;color:var(--navy);font-size:clamp(20px,2.2vw,34px);line-height:1.1;word-break:break-word}.dash-card span{display:block;color:var(--muted);margin-top:8px;font-size:13px;font-weight:700}.dash-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:linear-gradient(135deg,#eef8ff,#fff4dd);font-size:23px}.wallet-card{background:linear-gradient(135deg,#07111f,#17365f);color:white}.wallet-card p,.wallet-card span{color:#d9e8f8}.wallet-card strong{color:var(--gold)}.email-text{font-size:15px!important}.message-center-card{background:linear-gradient(135deg,#fff,#f3fbff)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.quick-tile{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;box-shadow:0 12px 30px rgba(7,17,31,.05)}.quick-tile span{grid-row:1/3;display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f3f8ff;font-size:25px}.quick-tile strong{color:var(--navy)}.quick-tile small{color:var(--muted);font-weight:700}.dashboard-workspace{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:22px}.action-panel{min-height:100%}.panel-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.panel-head h2{margin:0;color:var(--navy)}.panel-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:15px;background:linear-gradient(135deg,#07111f,#0e3a61);color:white;font-weight:900}.transactions-panel{margin-top:0}
@media(max-width:1050px){.dash-stats{grid-template-columns:repeat(2,1fr)}.quick-grid{grid-template-columns:repeat(2,1fr)}.dashboard-workspace{grid-template-columns:1fr}.dash-hero{display:block}.dash-hero .btn{margin-top:16px}}
@media(max-width:600px){.dash-stats,.quick-grid{grid-template-columns:1fr}.dash-hero{border-radius:24px;padding:24px}.quick-tile{grid-template-columns:auto 1fr}.dash-card{padding:20px}}


/* Playing image layouts */
.hero.image-hero{background:radial-gradient(circle at 82% 18%,rgba(214,178,94,.24),transparent 28%),linear-gradient(135deg,#07111f,#0d2440 62%,#06111f)}
.hero-photo{border-radius:34px;overflow:hidden;box-shadow:0 28px 70px rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08)}
.hero-photo img{display:block;width:100%;height:auto}.image-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.sport-photo-card{overflow:hidden;background:white;border:1px solid var(--line);border-radius:28px;box-shadow:0 16px 44px rgba(7,17,31,.07)}.sport-photo-card img{width:100%;height:170px;object-fit:cover;display:block}.sport-photo-card div{padding:20px}.sport-photo-card h3{margin:0 0 8px;color:var(--navy);font-size:22px}.sport-photo-card p{margin:0;color:var(--muted);line-height:1.6}.with-img{overflow:hidden;padding:0}.with-img img{width:100%;height:180px;object-fit:cover;display:block}.with-img .badge,.with-img h3,.with-img p,.with-img h2,.with-img .btn{margin-left:22px;margin-right:22px}.with-img .badge{margin-top:22px}.with-img .btn{margin-bottom:22px}.image-panel{overflow:hidden}.image-panel>img{width:100%;height:260px;object-fit:cover;border-radius:22px;margin-bottom:18px}.panel-banner{width:100%;height:180px;object-fit:cover;border-radius:22px;margin-bottom:18px}.db-note{background:#eef8ff;border:1px solid #cdefff;color:#075985;border-radius:18px;padding:14px 16px;font-weight:800;margin:14px 0}
@media(max-width:1050px){.image-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.image-grid{grid-template-columns:1fr}.sport-photo-card img,.with-img img,.panel-banner{height:210px}}

/* Payment + privilege management update */
.pay-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.pay-actions.small{margin-top:16px}.privilege-panel{margin:22px 0}.priv-grid{display:flex;gap:10px;flex-wrap:wrap}.priv{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 12px;font-weight:900;font-size:13px}.priv.on{background:#e6fbf0;color:#08784e}.priv.off{background:#ffe8e8;color:#ab1d1d}.priv-form{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;min-width:300px}.priv-form label{font-size:12px;margin:0;background:#f8fafc;border:1px solid var(--line);border-radius:12px;padding:8px;color:#344256}.priv-form .btn{grid-column:1/-1}.form-grid.compact{align-items:end}.form-grid.compact label{font-size:13px}.form-grid.compact .full{grid-column:1/-1}.site-header+.db-note{margin:0}@media(max-width:700px){.priv-form{grid-template-columns:1fr}.pay-actions .btn{width:100%}}

/* Admin wallet adjustment update */
.wallet-admin-form{min-width:320px;display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.wallet-admin-form input[name="wallet_note"],.wallet-admin-form .btn{grid-column:1/-1}.admin-stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.earning-stat{background:linear-gradient(135deg,#ffffff,#fffaf0)}.earning-stat strong{color:#8a5b00}
@media(max-width:1100px){.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.wallet-admin-form{min-width:240px;grid-template-columns:1fr}.admin-stats{grid-template-columns:1fr}}
.invite-panel{margin:22px 0;background:linear-gradient(135deg,#ffffff,#f5fbff);border:1px solid #dfeaf7}.invite-copy{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}.invite-copy h2{margin:0 0 6px;color:var(--navy)}.invite-copy p{margin:0;color:var(--muted);line-height:1.6}.invite-row{display:grid;grid-template-columns:70% auto;gap:12px;align-items:center}.invite-row input{width:100%;min-width:0}.invite-row .btn{white-space:nowrap;align-self:stretch}.mini-invites{margin-top:18px}.mini-invites strong{display:block;margin-bottom:10px;color:var(--navy)}.mini-invites table{min-width:640px}.mini-invites a{font-weight:900;color:#075985}.auth input[readonly]{background:#f1f5f9;color:#475569;font-weight:800}@media(max-width:650px){.invite-copy{display:block}.invite-copy .panel-icon{margin-bottom:12px}.invite-row{grid-template-columns:1fr}.invite-row .btn{width:100%}}
/* Admin dashboard compact 5-box layout update */
.admin-stats{grid-template-columns:repeat(5,minmax(118px,1fr));gap:9px}
.admin-stat{padding:12px 10px;border-radius:17px;min-height:112px}
.admin-stat .dash-icon{width:36px;height:36px;font-size:19px;margin-bottom:8px}
.admin-stat strong{font-size:22px;line-height:1.05}
.admin-stat p{font-size:12px;margin:6px 0 0;line-height:1.2}
.admin-stat .mini{display:block;margin-top:4px}
.status.pending{background:#eef2ff;color:#3730a3}
@media(max-width:1200px){.admin-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.admin-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.admin-stats{grid-template-columns:1fr}}

/* Admin member profile popup */
.small-btn{padding:8px 12px;font-size:12px;margin-top:8px}
.member-modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:18px}
.member-modal.open{display:flex}
.member-modal-backdrop{position:absolute;inset:0;background:rgba(7,17,31,.62);backdrop-filter:blur(6px)}
.member-modal-card{position:relative;width:min(560px,94vw);max-height:90vh;overflow:auto;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.35);padding:22px}
.member-modal-close{position:absolute;right:16px;top:14px;width:36px;height:36px;border:0;border-radius:50%;background:#f1f5f9;color:#07111f;font-size:24px;font-weight:900;cursor:pointer}
.profile-top{display:flex;align-items:center;gap:16px;margin-bottom:18px;padding-right:42px}
.profile-top h2{margin:0 0 4px;color:var(--navy);font-size:28px}.profile-top p{margin:0 0 8px;color:var(--muted);font-weight:800}
.profile-avatar{width:96px;height:96px;border-radius:28px;object-fit:cover;border:4px solid #fff;box-shadow:0 14px 35px rgba(7,17,31,.16);background:#f8fafc}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.profile-grid div{background:#f8fafc;border:1px solid var(--line);border-radius:18px;padding:14px}.profile-grid .full{grid-column:1/-1}.profile-grid span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:900;margin-bottom:6px}.profile-grid strong{color:var(--navy);line-height:1.4;word-break:break-word}
.profile-wallet-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:linear-gradient(135deg,#07111f,#0d3158);border-radius:22px;padding:16px;margin-top:16px}.profile-wallet-form input,.profile-wallet-form select{border:0}.profile-wallet-form input[name="wallet_note"],.profile-wallet-form .btn{grid-column:1/-1}
@media(max-width:620px){.profile-top{display:block}.profile-avatar{margin-bottom:12px}.profile-grid,.profile-wallet-form{grid-template-columns:1fr}.member-modal-card{padding:18px;border-radius:22px}}


/* Member dashboard profile update */
.member-profile-update{margin:22px 0;background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #dfeaf7}
.profile-update-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.profile-update-head h2{margin:0 0 6px;color:var(--navy)}.profile-update-head p{margin:0;color:var(--muted);line-height:1.6;font-weight:700}
.profile-update-form{display:grid;grid-template-columns:250px 1fr;gap:22px;align-items:start}.profile-photo-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:24px;padding:18px;text-align:center}.profile-photo-box img{width:100px;height:100px;border-radius:28px;object-fit:cover;border:4px solid #fff;box-shadow:0 14px 32px rgba(7,17,31,.14);background:#fff;margin-bottom:12px}.profile-photo-box label{display:block;color:var(--navy);font-weight:900;line-height:1.4}.profile-photo-box small{display:block;color:var(--muted);font-weight:700;margin-bottom:10px}.profile-photo-box input[type=file]{font-size:13px;background:white;padding:10px;margin-top:8px}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-form-grid .full{grid-column:1/-1}.profile-form-grid label{font-weight:900;color:var(--navy);display:block;margin-bottom:6px}.profile-form-grid input,.profile-form-grid select,.profile-form-grid textarea{width:100%}.profile-form-grid textarea{resize:vertical}.profile-form-grid .btn{width:auto;min-width:220px}
@media(max-width:850px){.profile-update-form{grid-template-columns:1fr}.profile-photo-box{text-align:left;display:flex;gap:16px;align-items:center}.profile-photo-box img{margin:0}.profile-form-grid{grid-template-columns:1fr}}
@media(max-width:520px){.profile-photo-box{display:block;text-align:center}.profile-form-grid .btn{width:100%}}

/* Admin 20/80 member management layout */
.admin-member-layout{display:grid;grid-template-columns:20% 80%;gap:18px;align-items:start;margin:24px 0}
.admin-member-sidebar{background:#fff;border:1px solid var(--line);border-radius:24px;padding:16px;box-shadow:0 12px 30px rgba(7,17,31,.06);position:sticky;top:95px}
.admin-member-sidebar h3{margin:0 0 14px;color:var(--navy);font-size:18px}
.member-filter-btn{width:100%;border:1px solid var(--line);background:#f8fafc;border-radius:18px;padding:14px;margin-bottom:12px;display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;text-align:left;cursor:pointer;font-weight:900;color:var(--navy);transition:.2s ease}
.member-filter-btn:hover,.member-filter-btn.active{background:linear-gradient(135deg,#07111f,#17324f);color:#fff;transform:translateY(-1px);box-shadow:0 12px 26px rgba(7,17,31,.18)}
.member-filter-btn strong{font-size:18px}.filter-icon{font-size:22px}.admin-member-content{min-width:0;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 12px 30px rgba(7,17,31,.06)}
.member-management-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.member-management-head h2{margin:0;color:var(--navy)}.member-management-head p{margin:6px 0 0;color:var(--muted)}.member-count-pill{background:#fff4dd;color:#8a5300;border-radius:999px;padding:8px 12px;font-weight:900;white-space:nowrap}
@media(max-width:1000px){.admin-member-layout{grid-template-columns:1fr}.admin-member-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-member-sidebar h3{grid-column:1/-1}.member-filter-btn{margin-bottom:0}}
@media(max-width:620px){.admin-member-sidebar{grid-template-columns:1fr}.member-management-head{display:block}.member-count-pill{display:inline-flex;margin-top:10px}.admin-member-content{padding:14px}}

/* Updated member profile editor layout */
.upgraded-profile{background:radial-gradient(circle at 92% 12%,rgba(124,243,255,.18),transparent 24%),linear-gradient(135deg,#ffffff,#f7fbff);border:1px solid #dce8f7}
.profile-upgraded-form{grid-template-columns:280px 1fr;gap:26px}
.premium-profile-photo{position:relative;min-height:315px;background:linear-gradient(180deg,#07111f,#10294a);border:0;color:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 18px 44px rgba(7,17,31,.16)}
.premium-profile-photo .profile-photo-title{position:absolute;top:16px;left:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;color:#dffcff}
.premium-profile-photo img{width:100px!important;height:100px!important;border-radius:30px;margin:18px 0 12px;border:4px solid rgba(255,255,255,.9);box-shadow:0 18px 38px rgba(0,0,0,.28)}
.premium-profile-photo strong{font-size:18px;color:var(--gold);margin-bottom:4px}.premium-profile-photo small{color:#d9e7f8;margin-bottom:12px}.premium-profile-photo input[type=file]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}.upload-mini-btn{padding:10px 16px;background:#fff!important;color:#07111f!important}.profile-updated-grid{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 10px 26px rgba(7,17,31,.05)}.profile-section-title{margin:2px 0 -2px}.profile-section-title span{display:inline-flex;background:#eef8ff;color:#075985;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.profile-save-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px;margin-top:4px}.profile-save-row span{color:var(--muted);font-weight:800;font-size:13px}.profile-save-row .btn{min-width:220px}
@media(max-width:880px){.profile-upgraded-form{grid-template-columns:1fr}.premium-profile-photo{min-height:auto;padding:28px}.profile-updated-grid{grid-template-columns:1fr}}
@media(max-width:520px){.profile-save-row .btn{width:100%}.premium-profile-photo .profile-photo-title{position:static;margin-bottom:10px}}

/* Member dashboard profile popup update */
.profile-update-card{appearance:none;border:1px solid var(--line);text-align:left;cursor:pointer;font-family:inherit;color:inherit;transition:.2s ease;min-height:100%}
.profile-update-card:hover{transform:translateY(-3px);box-shadow:0 22px 52px rgba(7,17,31,.12)}
.profile-update-card strong{color:var(--gold)}
.profile-update-modal{display:none}
.profile-update-modal.open{display:flex}
.profile-update-modal-card{width:min(760px,94vw);padding:20px;max-height:88vh}
.profile-update-head.compact{margin-bottom:14px}
.profile-update-head.compact h2{font-size:24px}
.modal-profile-form{grid-template-columns:180px 1fr;gap:16px}
.modal-profile-form .profile-photo-box{padding:14px;border-radius:20px}
.modal-profile-form .profile-photo-box img{width:100px;height:100px;border-radius:24px}
.modal-profile-form .profile-updated-grid{padding:14px;border-radius:20px;gap:12px}
.profile-save-row .btn.dark{min-width:110px}
@media(max-width:780px){.profile-update-modal-card{width:min(540px,94vw)}.modal-profile-form{grid-template-columns:1fr}.modal-profile-form .profile-photo-box{text-align:center;display:block}.modal-profile-form .profile-photo-box img{margin:0 auto 12px}.profile-update-head.compact{padding-right:38px}}


/* Final fix: hide member profile update popup by default */
#profileUpdateModal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;}
#profileUpdateModal.open{display:flex!important;visibility:visible;opacity:1;pointer-events:auto;}

/* Force profile update popup to stay hidden by default */
#profileUpdateModal:not(.open),
.profile-update-modal:not(.open){
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
#profileUpdateModal.open,
.profile-update-modal.open{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}

/* Wallet Balance popup from dashboard card */
.wallet-popup-card{appearance:none;border:1px solid transparent;text-align:left;cursor:pointer;font-family:inherit;transition:.2s ease;min-height:100%;width:100%}
.wallet-popup-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(7,17,31,.2)}
#walletBalanceModal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;}
#walletBalanceModal.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.wallet-balance-modal-card{width:min(880px,94vw);padding:22px;max-height:88vh}
.wallet-popup-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:16px;margin-top:14px}.wallet-popup-box{border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);padding:18px;box-shadow:0 12px 28px rgba(7,17,31,.05)}.wallet-popup-box h3{margin:0 0 8px;color:var(--navy)}.wallet-popup-box p{color:var(--muted);font-weight:700;line-height:1.6}.wallet-pay-actions{display:grid;gap:10px;margin-top:14px}.wallet-pay-actions .btn{width:100%;justify-content:center}.wallet-transfer-form{display:grid;gap:10px}.wallet-transfer-form label{font-weight:900;color:var(--navy)}.wallet-transfer-form input{width:100%}.wallet-transfer-form .btn{margin-top:6px}
@media(max-width:760px){.wallet-popup-grid{grid-template-columns:1fr}.wallet-balance-modal-card{padding:18px;border-radius:22px}.wallet-popup-box{padding:16px}}

.message-popup-card{appearance:none;border:1px solid var(--line);text-align:left;cursor:pointer;font-family:inherit;transition:.2s ease;min-height:100%;width:100%}
.message-popup-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(7,17,31,.16)}
.message-center-modal-card{width:min(920px,96vw)}
.message-center-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px;margin-top:14px}.message-list-box,.write-message-box{border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,#fff,#f8fbff);padding:18px;box-shadow:0 12px 28px rgba(7,17,31,.05)}.message-list-box h3,.write-message-box h3{margin:0 0 12px;color:var(--navy)}.message-item{border:1px solid #e5ecf6;border-radius:18px;padding:14px;margin-bottom:12px;background:#fff}.message-item.unread{background:linear-gradient(135deg,#fff8e8,#f7fcff);border-color:#f2d99e}.message-item.read{background:#f8fafc}.message-item strong{display:block;color:var(--navy);margin-bottom:7px}.message-item p{margin:0 0 8px;color:#526176;line-height:1.55}.message-item small{display:block;color:var(--muted);font-weight:700;margin-bottom:8px}.read-message-form{margin-top:8px}.read-message-form .btn{padding:9px 14px;font-size:13px}.read-title{margin-top:18px!important}.empty-message{border:1px dashed #cbd5e1;border-radius:16px;padding:14px;color:#64748b;font-weight:800;background:#f8fafc;margin-bottom:12px}.admin-message-form{display:grid;gap:10px}.admin-message-form label{font-weight:900;color:var(--navy)}.admin-message-form input,.admin-message-form textarea{width:100%}.admin-message-form .btn{margin-top:6px;justify-content:center}
@media(max-width:820px){.message-center-grid{grid-template-columns:1fr}.message-center-modal-card{padding:18px;border-radius:22px}}

/* Message Center 2-side popup update */
.wide-message-card{width:min(980px,96vw);max-height:90vh;}
.message-two-side-layout{display:grid;grid-template-columns:28% 72%;gap:16px;margin-top:16px;align-items:stretch;}
.message-left-menu{background:linear-gradient(180deg,#07111f,#10294a);border-radius:22px;padding:14px;display:grid;gap:10px;align-content:start;box-shadow:0 18px 42px rgba(7,17,31,.18);}
.message-menu-btn{width:100%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;border-radius:16px;padding:12px;display:grid;grid-template-columns:32px 1fr;gap:8px;align-items:center;text-align:left;cursor:pointer;font-family:inherit;transition:.2s ease;}
.message-menu-btn span{font-size:22px;grid-row:1/3;}
.message-menu-btn strong{font-size:13px;line-height:1.25;}
.message-menu-btn small{grid-column:2;color:#c8d9ee;font-weight:800;font-size:11px;}
.message-menu-btn:hover,.message-menu-btn.active{background:linear-gradient(135deg,#d6b25e,#f8df9c);color:#07111f;transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,0,0,.18);}
.message-menu-btn:hover small,.message-menu-btn.active small{color:#473300;}
.message-right-content{background:#fff;border:1px solid var(--line);border-radius:22px;padding:16px;min-height:430px;box-shadow:0 12px 30px rgba(7,17,31,.06);overflow:auto;}
.msg-panel{display:none;}
.msg-panel.active{display:block;}
.message-content-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px;border-bottom:1px solid var(--line);padding-bottom:12px;}
.message-content-head h3{margin:0;color:var(--navy);font-size:22px;}
.message-content-head p{margin:4px 0 0;color:var(--muted);font-weight:700;line-height:1.45;}
.message-row{width:100%;border:1px solid #e5ecf6;border-radius:16px;background:#fff;padding:13px;margin-bottom:10px;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left;cursor:pointer;font-family:inherit;transition:.2s ease;}
.message-row:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(7,17,31,.08);border-color:#d6b25e;}
.message-row.unread{background:linear-gradient(135deg,#fff8e8,#f7fcff);border-color:#f2d99e;}
.message-row.read{background:#f8fafc;}
.message-row strong{display:block;color:var(--navy);margin-bottom:5px;}
.message-row small{display:block;color:#64748b;font-weight:800;}
.message-row em{font-style:normal;background:#eef8ff;color:#075985;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px;white-space:nowrap;}
.selected-message-card{border:1px solid #e5ecf6;border-radius:20px;background:linear-gradient(135deg,#ffffff,#f8fbff);padding:18px;}
.selected-message-card h3{margin:10px 0 6px;color:var(--navy);font-size:24px;}
.selected-message-card small{color:#64748b;font-weight:800;}
.selected-message-card p{margin:16px 0;color:#334155;line-height:1.7;white-space:pre-wrap;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;}
.message-status-pill{display:inline-flex;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;}
.message-status-pill.unread{background:#fff2c6;color:#8a5b00;}
.message-status-pill.read{background:#e6fbf0;color:#08784e;}
.message-action-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.btn.danger{background:#b91c1c;color:#fff;border-color:#b91c1c;}
.btn.danger:hover{background:#991b1b;}
.write-message-panel .admin-message-form{max-width:100%;}
@media(max-width:850px){.message-two-side-layout{grid-template-columns:1fr}.message-left-menu{grid-template-columns:1fr 1fr}.wide-message-card{padding:18px}.message-right-content{min-height:360px}}
@media(max-width:560px){.message-left-menu{grid-template-columns:1fr}.message-content-head{display:block}.message-row{display:block}.message-row em{display:inline-flex;margin-top:8px}.message-action-row .btn{width:100%}}

/* Membership upgrade popup from dashboard card */
.membership-popup-card{appearance:none;border:1px solid var(--line);text-align:left;cursor:pointer;font-family:inherit;transition:.2s ease;min-height:100%;width:100%;background:linear-gradient(135deg,#fffdf6,#f4fbff)}
.membership-popup-card:hover{transform:translateY(-3px);box-shadow:0 24px 58px rgba(7,17,31,.16)}
#membershipUpgradeModal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;}
#membershipUpgradeModal.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.membership-upgrade-modal-card{width:min(980px,96vw);max-height:90vh;padding:22px;}
.membership-upgrade-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;}
.membership-upgrade-summary div{border:1px solid var(--line);background:linear-gradient(135deg,#fff,#f8fbff);border-radius:18px;padding:14px;box-shadow:0 8px 20px rgba(7,17,31,.05)}
.membership-upgrade-summary span{display:block;color:#64748b;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px;}
.membership-upgrade-summary strong{color:var(--navy);font-size:18px;}
.membership-upgrade-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:12px;}
.membership-upgrade-card{border:1px solid var(--line);background:linear-gradient(135deg,#ffffff,#f7fbff);border-radius:24px;padding:17px;box-shadow:0 14px 30px rgba(7,17,31,.07);display:flex;flex-direction:column;gap:12px;}
.membership-plan-top{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.membership-plan-top strong{font-size:22px;color:var(--navy);}
.plan-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 12px;background:linear-gradient(135deg,#07111f,#0e3a61);color:white;font-weight:900;font-size:12px;letter-spacing:.04em;text-transform:uppercase;}
.membership-upgrade-card p{color:#526176;font-weight:800;line-height:1.45;margin:0;}
.membership-upgrade-card ul{margin:0;padding-left:18px;color:#475569;font-weight:750;line-height:1.7;}
.upgrade-cost-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff7e3;border:1px solid #f0d48c;border-radius:16px;padding:11px 12px;margin-top:auto;}
.upgrade-cost-row span{color:#7a4d00;font-weight:900;font-size:12px;text-transform:uppercase;}
.upgrade-cost-row strong{color:#07111f;font-size:18px;}
.membership-upgrade-card .btn{width:100%;justify-content:center;}
.membership-add-fund-actions{display:grid;gap:8px;margin-top:0;}
.membership-add-fund-actions .btn{font-size:13px;padding:10px 12px;}
@media(max-width:900px){.membership-upgrade-list{grid-template-columns:1fr}.membership-upgrade-summary{grid-template-columns:1fr}.membership-upgrade-modal-card{padding:18px;border-radius:22px}}

/* Active member popup from admin Active card */
.admin-stat-click{appearance:none;border:1px solid var(--line);text-align:left;font:inherit;color:inherit;cursor:pointer;transition:.2s ease}
.admin-stat-click:hover{transform:translateY(-3px);box-shadow:0 22px 52px rgba(7,17,31,.14);border-color:#d6b25e}
.active-members-card{width:min(1320px,98vw);max-height:92vh;padding:26px}
.active-popup-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px;padding-right:44px}
.active-popup-head h2{margin:10px 0 6px;color:var(--navy);font-size:30px}
.active-popup-head p{margin:0;color:var(--muted);font-weight:700;line-height:1.6}
.active-search-box{background:#f8fafc;border:1px solid var(--line);border-radius:20px;padding:14px;margin-bottom:16px}
.active-search-box label{font-weight:900;color:var(--navy);display:block;margin-bottom:8px}
.active-members-table-wrap{border-radius:20px;max-height:62vh;overflow:auto}
.active-members-table{min-width:1080px}
.active-popup-actions{gap:8px}.active-popup-actions .small-btn{margin-top:0;white-space:nowrap}
.active-plan-row[hidden]{display:none!important}
.plan-action-box{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#fffaf0,#f8fafc);border:1px solid #f1dfaa;border-radius:18px;padding:14px}
.plan-action-box strong{color:var(--navy)}.plan-action-box p{margin:6px 0 0}.plan-action-form{align-items:center;justify-content:flex-end}.plan-action-form select{min-width:210px}
@media(max-width:760px){.active-popup-head{display:block}.active-popup-head .member-count-pill{display:inline-flex;margin-top:12px}.plan-action-box{display:block}.plan-action-form{margin-top:12px;display:grid;grid-template-columns:1fr}.plan-action-form .btn{width:100%}}

/* Wider Active Members popup for full table view */
.active-members-modal .member-modal-card.active-members-card{width:min(1320px,98vw);}
.active-members-modal .active-members-table-wrap{max-height:62vh;}
@media(max-width:900px){.active-members-modal .member-modal-card.active-members-card{width:96vw;padding:18px}.active-members-table{min-width:980px}}
.status.pending{background:#eef2ff;color:#3949ab}
.pending-members-modal .member-modal-card.pending-members-card{width:min(1320px,98vw);max-height:92vh;padding:26px}
.pending-members-modal .pending-members-table-wrap{max-height:62vh;overflow:auto}
@media(max-width:900px){.pending-members-modal .member-modal-card.pending-members-card{width:96vw;padding:18px}.pending-members-table{min-width:980px}}

/* Suspended Member popup */
.suspended-members-modal .member-modal-card.suspended-members-card{width:min(1320px,98vw);max-height:92vh;padding:26px}
.suspended-members-modal .suspended-members-table-wrap{max-height:62vh;overflow:auto}
@media(max-width:900px){.suspended-members-modal .member-modal-card.suspended-members-card{width:96vw;padding:18px}.suspended-members-table{min-width:980px}}

/* Cancelled members popup */
.cancelled-members-modal .member-modal-card.cancelled-members-card{width:min(1320px,98vw);max-height:92vh;padding:26px}
.cancelled-members-modal .cancelled-members-table-wrap{max-height:62vh;overflow:auto}
@media(max-width:900px){.cancelled-members-modal .member-modal-card.cancelled-members-card{width:96vw;padding:18px}.cancelled-members-table{min-width:980px}}

/* Admin-only controls inside Admin Profile View */
.admin-profile-modal .member-modal-card{width:min(760px,96vw);max-height:92vh}
.admin-profile-actions{display:block;background:linear-gradient(135deg,#f8fafc,#eef6ff);border:1px solid var(--line);border-radius:22px;padding:16px;margin-top:16px}
.admin-action-title{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.admin-action-title span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#0d3158;color:#fff;font-size:19px}
.admin-action-title h3{margin:0;color:var(--navy);font-size:18px}.admin-action-title p{margin:3px 0 0;color:#64748b;font-weight:700;font-size:12px}
.admin-profile-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.admin-mini-form{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;gap:10px}
.admin-mini-form label{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:900}
.admin-mini-form select{width:100%;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--navy);font-weight:800}
.member-dashboard .admin-profile-actions,[data-user-role="member"] .admin-profile-actions{display:none!important}
@media(max-width:720px){.admin-profile-action-grid{grid-template-columns:1fr}.admin-profile-modal .member-modal-card{width:95vw}}

/* Admin Message Center popup - member messages + replies */
.admin-message-center-card{width:min(1320px,98vw);max-height:92vh;padding:26px;overflow:auto}
.admin-message-layout{display:grid;grid-template-columns:34% 66%;gap:16px;align-items:stretch;margin-top:16px}
.admin-message-left{background:linear-gradient(180deg,#07111f,#10294a);border-radius:24px;padding:14px;display:grid;gap:14px;align-content:start;max-height:68vh;overflow:auto;box-shadow:0 18px 42px rgba(7,17,31,.18)}
.admin-message-block{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:12px}
.admin-message-block h3{margin:0 0 10px;color:#fff;font-size:15px;letter-spacing:.01em}
.admin-message-list-item{width:100%;border:1px solid rgba(255,255,255,.13);border-radius:15px;background:rgba(255,255,255,.08);color:#fff;text-align:left;padding:11px 12px;margin-bottom:8px;cursor:pointer;font-family:inherit;transition:.2s ease}
.admin-message-list-item:hover,.admin-message-list-item.selected{transform:translateY(-1px);background:linear-gradient(135deg,#d6b25e,#f8df9c);color:#07111f;box-shadow:0 12px 24px rgba(0,0,0,.18)}
.admin-message-list-item strong{display:block;font-size:13px;line-height:1.25;margin-bottom:4px}.admin-message-list-item span{display:block;font-size:11px;font-weight:800;color:#cfe1f7;line-height:1.35}.admin-message-list-item:hover span,.admin-message-list-item.selected span{color:#473300}.admin-message-list-item.read{opacity:.82}.admin-message-list-item.unread{border-color:#f2d99e;background:rgba(214,178,94,.16)}
.admin-empty-message{border:1px dashed rgba(255,255,255,.26);border-radius:14px;padding:11px;color:#d7e6f6;font-weight:800;font-size:12px;background:rgba(255,255,255,.06)}
.admin-message-action-block .admin-message-actions-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.admin-message-action-block form{margin:0}.admin-message-action-block .btn{width:100%;justify-content:center;padding:10px 12px;font-size:13px}
.admin-compose-block .admin-message-form{display:grid;gap:8px}.admin-compose-block .admin-message-form label{color:#d7e6f6;font-weight:900;font-size:12px}.admin-compose-block select,.admin-compose-block input,.admin-compose-block textarea{width:100%;border-radius:13px;border:1px solid rgba(255,255,255,.16);background:#fff;color:#07111f;padding:11px;font-weight:800}.admin-compose-block textarea{resize:vertical}.admin-compose-block .btn{justify-content:center;margin-top:4px}
.admin-message-right{background:linear-gradient(180deg,#ffffff,#f8fbff);border:1px solid var(--line);border-radius:24px;padding:22px;min-height:520px;box-shadow:0 12px 30px rgba(7,17,31,.06);overflow:auto}.admin-selected-message-card{min-height:100%;display:flex;flex-direction:column}.admin-selected-message-card h3{font-size:28px;margin-top:14px}.admin-selected-message-card p{min-height:240px;border:1px solid #e5ecf6;border-radius:18px;background:#fff;padding:18px;line-height:1.75;color:#334155;white-space:pre-wrap}.admin-selected-extra{border:1px solid var(--line);border-radius:16px;background:#f8fafc;padding:13px;color:#334155}.admin-selected-extra strong{display:block;color:var(--navy);margin-bottom:5px}.admin-selected-extra span{font-weight:800;color:#526176;line-height:1.5}.admin-message-center-modal .member-modal-backdrop{cursor:pointer}
@media(max-width:900px){.admin-message-center-card{width:96vw;padding:18px}.admin-message-layout{grid-template-columns:1fr}.admin-message-left{max-height:none}.admin-message-right{min-height:380px}.admin-selected-message-card p{min-height:160px}}
@media(max-width:560px){.admin-message-action-block .admin-message-actions-row{grid-template-columns:1fr}.admin-message-center-card{padding:16px}.admin-message-right{padding:14px}.admin-selected-message-card h3{font-size:22px}}

.outline-danger{background:#fff!important;color:#b91c1c!important;border:1px solid #fecaca!important}.outline-danger:hover{background:#fee2e2!important;color:#7f1d1d!important}
.admin-delete-all-form{grid-column:auto}
@media(max-width:700px){.admin-message-action-block .admin-message-actions-row{grid-template-columns:1fr}}

/* Improved Admin Message Center layout */
.admin-message-center-card-improved{width:min(1380px,98vw);max-height:94vh;padding:28px;overflow:auto}
.admin-message-popup-head{align-items:flex-start;gap:18px}.admin-message-popup-head p{max-width:850px}
.admin-message-summary-pills{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.read-pill{background:#eaf3ff;color:#173b68;border-color:#c7def8}
.admin-message-layout-improved{display:grid;grid-template-columns:30% 70%;gap:18px;align-items:stretch;margin-top:18px}
.admin-message-left-improved{background:linear-gradient(180deg,#07111f,#10294a);border-radius:24px;padding:16px;display:flex;flex-direction:column;gap:14px;max-height:72vh;overflow:auto;box-shadow:0 18px 42px rgba(7,17,31,.20)}
.admin-message-tab-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:sticky;top:0;z-index:3;background:linear-gradient(180deg,#07111f,#10294a);padding-bottom:4px}
.admin-message-tab{border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(255,255,255,.08);color:#dcecff;padding:12px;cursor:pointer;text-align:left;font-weight:900;font-family:inherit;display:flex;align-items:center;justify-content:space-between;gap:10px;transition:.2s ease}.admin-message-tab strong{background:rgba(255,255,255,.12);border-radius:999px;padding:4px 8px}.admin-message-tab.active,.admin-message-tab:hover{background:linear-gradient(135deg,#d6b25e,#f8df9c);color:#07111f;transform:translateY(-1px)}.admin-message-tab.active strong,.admin-message-tab:hover strong{background:rgba(7,17,31,.12)}
.admin-message-list-panel{display:none}.admin-message-list-panel.active{display:block}.admin-message-list-panel[hidden]{display:none!important}
.admin-message-row-card{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.admin-message-row-card em{font-style:normal;font-size:10px;font-weight:1000;border-radius:999px;padding:4px 7px;background:rgba(255,255,255,.16);white-space:nowrap}.admin-message-row-card.unread em{background:#f8df9c;color:#07111f}.admin-message-row-card.read em{background:#dcecff;color:#173b68}
.admin-message-right-improved{background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px;display:grid;grid-template-columns:1fr;gap:16px;min-height:640px;max-height:72vh;overflow:auto;box-shadow:0 12px 30px rgba(7,17,31,.06)}
.admin-message-view-card,.admin-message-reply-card{border:1px solid #e5ecf6;border-radius:22px;background:linear-gradient(180deg,#ffffff,#f8fbff);padding:18px}.admin-message-view-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:10px;flex-wrap:wrap}.admin-message-right-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.admin-message-right-actions form{margin:0}.admin-message-right-actions .btn{padding:9px 13px;font-size:12px;min-height:36px}.admin-message-view-card h3{font-size:28px;margin:10px 0 6px;color:var(--navy)}.admin-message-view-card small{display:block;color:var(--muted);font-weight:800;margin-bottom:12px}.admin-message-view-card p#adminSelectedBody{min-height:180px;border:1px solid #e5ecf6;border-radius:18px;background:#fff;padding:18px;line-height:1.75;color:#334155;white-space:pre-wrap;margin:0 0 12px}.admin-message-reply-card{background:linear-gradient(135deg,#f8fbff,#fff)}.admin-compose-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}.admin-compose-title span{width:42px;height:42px;border-radius:15px;background:#07111f;color:#fff;display:grid;place-items:center}.admin-compose-title h3{margin:0;color:var(--navy)}.admin-compose-title p{margin:4px 0 0;color:var(--muted);font-weight:700}.admin-message-form-improved{display:grid;gap:10px}.admin-message-form-improved label{font-weight:900;color:var(--navy)}.admin-message-form-improved input,.admin-message-form-improved select,.admin-message-form-improved textarea{width:100%;border-radius:14px}.reply-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-message-form-improved .btn{justify-content:center;width:max-content;min-width:180px}.outline-danger{background:#fff!important;color:#b91c1c!important;border:1px solid #fecaca!important}.outline-danger:hover{background:#fee2e2!important;color:#7f1d1d!important}
@media(max-width:980px){.admin-message-layout-improved{grid-template-columns:1fr}.admin-message-left-improved,.admin-message-right-improved{max-height:none}.reply-grid{grid-template-columns:1fr}.admin-message-center-card-improved{padding:18px}.admin-message-view-card h3{font-size:22px}}
@media(max-width:620px){.admin-message-tab-row{grid-template-columns:1fr}.admin-message-right-actions{justify-content:stretch}.admin-message-right-actions form,.admin-message-right-actions .btn{width:100%}.admin-message-form-improved .btn{width:100%}.admin-message-view-card p#adminSelectedBody{min-height:130px}.admin-message-summary-pills{justify-content:flex-start}}

/* Golden Message Center action buttons */
.btn.gold-btn,.admin-message-tab{background:linear-gradient(135deg,#d6b25e,#f8df9c)!important;color:#07111f!important;border:1px solid rgba(214,178,94,.55)!important;box-shadow:0 10px 24px rgba(214,178,94,.22);}
.btn.gold-btn:hover,.admin-message-tab:hover,.admin-message-tab.active{background:linear-gradient(135deg,#f8df9c,#d6b25e)!important;color:#07111f!important;transform:translateY(-1px);}
.admin-message-tab strong{background:rgba(7,17,31,.12)!important;color:#07111f!important;}
.admin-message-tab-row{background:linear-gradient(180deg,#07111f,#10294a);}
.admin-compose-title span{background:linear-gradient(135deg,#d6b25e,#f8df9c)!important;color:#07111f!important;}


/* Member dashboard compact card content update */
.member-dashboard .dash-stats{gap:11px;}
.member-dashboard .member-compact-card{padding:13px 14px;border-radius:19px;min-height:132px;}
.member-dashboard .member-compact-card .dash-icon{width:38px;height:38px;border-radius:13px;font-size:19px;}
.member-dashboard .member-compact-card p{font-size:12px;line-height:1.15;margin:10px 0 6px;letter-spacing:.01em;}
.member-dashboard .member-compact-card strong{font-size:clamp(17px,1.55vw,24px);line-height:1.05;letter-spacing:-.25px;}
.member-dashboard .member-compact-card span{font-size:11.5px;line-height:1.3;margin-top:6px;}
.member-dashboard .member-compact-card:after{width:72px;height:72px;right:-24px;top:-24px;}
.member-dashboard .compact-wallet-box strong{font-size:clamp(18px,1.65vw,25px);}
.member-dashboard .compact-profile-box strong{color:var(--gold);}
@media(max-width:1050px){.member-dashboard .member-compact-card{min-height:118px;}}
@media(max-width:600px){.member-dashboard .member-compact-card{padding:14px;min-height:auto}.member-dashboard .member-compact-card strong{font-size:22px}}

/* Arranged Membership Section popup */
.membership-upgrade-arranged-card{width:min(1160px,97vw);max-height:92vh;padding:24px;}
.membership-arranged-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-right:46px;margin-bottom:14px;}
.membership-title-wrap{display:flex;gap:14px;align-items:flex-start;}
.membership-title-wrap h2{margin:0 0 6px;color:var(--navy);font-size:28px;letter-spacing:-.5px;}
.membership-title-wrap p{margin:0;color:#64748b;font-weight:750;line-height:1.5;max-width:660px;}
.membership-current-pill{min-width:210px;border:1px solid #edd490;background:linear-gradient(135deg,#fff8dd,#ffffff);border-radius:18px;padding:13px 16px;box-shadow:0 10px 24px rgba(7,17,31,.06);}
.membership-current-pill span{display:block;color:#8a5b00;text-transform:uppercase;font-size:11px;font-weight:950;letter-spacing:.05em;margin-bottom:4px;}
.membership-current-pill strong{display:block;color:#07111f;font-size:18px;line-height:1.15;}
.arranged-summary{grid-template-columns:repeat(3,1fr);margin:12px 0 14px;}
.arranged-summary div{padding:13px 14px;border-radius:16px;}
.upgrade-flow-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 14px;}
.upgrade-flow-strip div{display:flex;align-items:center;gap:10px;border:1px solid #e8edf6;background:#f8fbff;border-radius:16px;padding:10px 12px;color:#334155;font-weight:900;}
.upgrade-flow-strip b{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#d6b25e,#f7dfa1);color:#07111f;box-shadow:0 6px 14px rgba(214,178,94,.28);}
.arranged-upgrade-list{display:grid;grid-template-columns:1fr;gap:12px;margin-top:0;}
.arranged-plan-row{display:grid;grid-template-columns:1.15fr 1fr .78fr;gap:14px;align-items:stretch;padding:14px;border-radius:22px;}
.arranged-plan-row.can-upgrade{border-color:#bdebd3;background:linear-gradient(135deg,#ffffff,#f3fff8);}
.arranged-plan-row.need-fund{border-color:#f1d3a5;background:linear-gradient(135deg,#ffffff,#fffaf2);}
.arranged-plan-info{display:flex;flex-direction:column;gap:10px;min-width:0;}
.arranged-plan-title strong{font-size:20px;white-space:nowrap;}
.feature-chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;}
.feature-chip-row span{border:1px solid #dce6f3;background:#fff;border-radius:999px;padding:7px 10px;color:#475569;font-size:12px;font-weight:900;line-height:1;}
.upgrade-breakdown-panel{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.upgrade-breakdown-panel div{background:#fff;border:1px solid #e6edf7;border-radius:14px;padding:10px 11px;}
.upgrade-breakdown-panel span{display:block;color:#64748b;text-transform:uppercase;font-size:10.5px;letter-spacing:.04em;font-weight:950;margin-bottom:4px;}
.upgrade-breakdown-panel strong{display:block;color:#07111f;font-size:15px;line-height:1.2;}
.upgrade-breakdown-panel .highlight{border-color:#e7c469;background:#fff7dd;grid-column:1 / -1;}
.upgrade-breakdown-panel .highlight strong{font-size:20px;color:#7a4d00;}
.upgrade-action-panel{background:rgba(255,255,255,.72);border:1px solid #e6edf7;border-radius:18px;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:10px;}
.upgrade-action-panel p{margin:0;color:#64748b;font-weight:750;font-size:12.5px;line-height:1.45;}
.ready-pill,.shortfall-pill{display:inline-flex;width:max-content;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.04em;}
.ready-pill{background:#defbe8;color:#08784e;}
.shortfall-pill{background:#fff0c2;color:#8a5b00;}
.arranged-fund-actions{display:grid;grid-template-columns:1fr;gap:8px;}
.arranged-fund-actions .btn,.upgrade-action-panel form .btn{width:100%;justify-content:center;padding:10px 12px;font-size:13px;}
.arranged-empty{margin-top:10px;}
@media(max-width:980px){.membership-arranged-head{display:block;padding-right:42px}.membership-current-pill{margin-top:12px}.arranged-summary,.upgrade-flow-strip{grid-template-columns:1fr}.arranged-plan-row{grid-template-columns:1fr}.upgrade-breakdown-panel{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.membership-upgrade-arranged-card{padding:18px;border-radius:22px}.membership-title-wrap{display:block}.membership-title-wrap .panel-icon{margin-bottom:10px}.upgrade-breakdown-panel{grid-template-columns:1fr}.feature-chip-row span{font-size:11px}.membership-current-pill{min-width:0}.membership-title-wrap h2{font-size:24px}}

/* Premium Payment Section popup added from approved preview */
.payment-section-modal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;}
.payment-section-modal.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;}
.payment-section-card{width:min(1040px,96vw);max-height:92vh;overflow:auto;padding:26px;border-radius:28px;background:radial-gradient(circle at 82% 12%,rgba(214,178,94,.12),transparent 28%),linear-gradient(180deg,#ffffff,#fbfdff);box-shadow:0 34px 100px rgba(7,17,31,.38);}
.payment-section-head{display:flex;align-items:center;gap:18px;padding-right:46px;margin-bottom:18px;position:relative;}
.payment-section-head:after{content:"";position:absolute;right:32px;top:0;width:170px;height:120px;background:url('../img/logo.png') center/contain no-repeat;opacity:.06;pointer-events:none;}
.payment-section-head img{width:86px;height:86px;object-fit:contain;border-radius:22px;background:#f8fafc;border:1px solid var(--line);padding:8px;box-shadow:0 10px 26px rgba(7,17,31,.08);}
.payment-section-head h2{margin:0 0 6px;color:var(--navy);font-size:32px;letter-spacing:-.6px;}
.payment-section-head p{margin:0;color:#475569;font-weight:750;line-height:1.55;max-width:680px;}
.payment-hidden-wallet-form{display:none;}
.payment-section-grid{display:grid;grid-template-columns:.92fr 1.25fr;gap:16px;align-items:stretch;}
.payment-left-panel,.payment-right-panel{border:1px solid #e4ebf5;border-radius:24px;background:linear-gradient(180deg,#ffffff,#f8fbff);padding:18px;box-shadow:0 12px 32px rgba(7,17,31,.06);}
.current-wallet-card{display:flex;align-items:center;gap:13px;border:1px solid #dfe9f7;border-radius:20px;background:linear-gradient(135deg,#edf6ff,#ffffff);padding:16px;margin-bottom:16px;}
.current-wallet-card .payment-mini-icon{width:46px;height:46px;border-radius:16px;background:#e7f1ff;color:#0b63b6;display:grid;place-items:center;font-size:22px;}
.current-wallet-card small{display:block;color:#64748b;font-weight:900;font-size:12px;margin-bottom:4px;}
.current-wallet-card strong{display:block;color:var(--navy);font-size:24px;letter-spacing:-.3px;}
.current-wallet-card em{margin-left:auto;font-style:normal;border-radius:999px;background:#e5f9ec;color:#08784e;font-size:11px;font-weight:950;padding:7px 10px;}
.add-wallet-panel h3{margin:4px 0 15px;color:var(--navy);font-size:20px;}
.amount-input-wrap{display:flex;align-items:center;gap:8px;border:1px solid #dbe3ef;border-radius:16px;background:#fff;padding:0 12px;margin-bottom:14px;transition:.2s ease;}
.amount-input-wrap:focus-within{border-color:var(--gold);box-shadow:0 0 0 4px rgba(214,178,94,.14);}
.amount-input-wrap span{font-weight:950;color:var(--navy);}
.amount-input-wrap input{border:0!important;box-shadow:none!important;padding-left:4px;margin:0;}
.quick-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:9px 0 18px;}
.quick-amounts button{border:1px solid #d9e3ef;background:#fff;border-radius:14px;padding:11px 8px;font-weight:950;color:#334155;cursor:pointer;}
.quick-amounts button:hover{border-color:var(--gold);background:#fff9e8;color:#07111f;}
.payment-note{display:flex;gap:10px;align-items:flex-start;background:#eef6ff;border:1px solid #d6e9ff;border-radius:16px;padding:12px;}
.payment-note span{font-size:20px;}
.payment-note p{margin:0;color:#35608d;font-weight:750;line-height:1.45;font-size:13px;}
.payment-right-panel label{font-size:13px;font-weight:950;color:var(--navy);margin-bottom:8px;}
.payment-purpose-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:12px 0 18px;}
.purpose-card{border:1px solid #e1e8f2;background:#fff;border-radius:18px;padding:14px 10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:98px;transition:.18s ease;font-family:inherit;}
.purpose-card span{font-size:28px;line-height:1;}
.purpose-card strong{color:var(--navy);font-size:13px;line-height:1.1;}
.purpose-card small{font-weight:800;color:#64748b;line-height:1.1;}
.purpose-card.selected,.purpose-card:hover{border-color:var(--gold);background:linear-gradient(135deg,#fffaf0,#ffffff);box-shadow:0 12px 24px rgba(214,178,94,.16);transform:translateY(-1px);}
.payment-method-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px;}
.method-card{position:relative;border:1px solid #e1e8f2;background:#fff;border-radius:18px;padding:13px 10px 14px;cursor:pointer;text-align:center;min-height:116px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;transition:.18s ease;}
.method-card input{position:absolute;left:12px;top:12px;width:auto;accent-color:#0b70d6;}
.method-card span{font-size:24px;color:#0b70d6;font-weight:950;line-height:1;}
.method-card strong{font-size:14px;color:var(--navy);line-height:1.1;}
.method-card small{font-size:11.5px;color:#64748b;font-weight:800;line-height:1.25;}
.method-card.selected{border-color:#0b70d6;background:#f3f8ff;box-shadow:0 14px 28px rgba(11,112,214,.13);}
.secure-payment-line{font-size:12.5px;color:#64748b;font-weight:800;margin:12px 0 0;}
.payment-section-footer{margin-top:18px;text-align:center;}
.payment-pay-button{width:100%;font-size:17px;padding:15px 20px;border-radius:14px;}
.payment-section-footer p{margin:12px 0 0;color:#48617f;font-weight:750;font-size:13px;}
@media(max-width:860px){.payment-section-grid{grid-template-columns:1fr}.payment-section-card{padding:20px;border-radius:24px}.payment-section-head{display:block}.payment-section-head img{margin-bottom:10px}.payment-purpose-cards,.payment-method-grid{grid-template-columns:1fr}.quick-amounts{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:520px){.quick-amounts{grid-template-columns:1fr}.payment-section-head h2{font-size:26px}.current-wallet-card{align-items:flex-start;flex-wrap:wrap}.current-wallet-card em{margin-left:0}.payment-pay-button{border-radius:999px}}
.payment-item-note{margin:8px 0 12px;padding:10px 12px;border-radius:14px;background:#f8fbff;border:1px solid #e1e8f2;color:#48617f;font-weight:800;font-size:13px;}
.plan .pay-actions.integrated-pay-actions,.service-card .pay-actions.integrated-pay-actions,.product .pay-actions.integrated-pay-actions{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.payment-page-alert{max-width:1180px;margin:18px auto 0;}
.btn.payment-section-trigger{background:linear-gradient(135deg,var(--gold),#ffcf72);color:#172033;border:0;box-shadow:0 12px 26px rgba(214,178,94,.24);}
.btn.payment-section-trigger:hover{transform:translateY(-1px);box-shadow:0 18px 34px rgba(214,178,94,.28);}

/* Pro Shop cart update */
.shop-cart-panel{background:linear-gradient(135deg,#07111f,#10294a);color:white;border-radius:28px;padding:22px;margin:0 0 24px;box-shadow:0 24px 70px rgba(7,17,31,.18);border:1px solid rgba(255,255,255,.08)}
.cart-summary-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.cart-summary-head h3{margin:9px 0 5px;font-size:28px}.cart-summary-head p{margin:0;color:#c8d6e8}.cart-total-card{background:white;color:#07111f;border-radius:22px;padding:16px 20px;min-width:210px;text-align:right}.cart-total-card small{display:block;color:#64748b;font-weight:800}.cart-total-card strong{font-size:28px;color:#d6a83f}.cart-empty{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.08);border:1px dashed rgba(255,255,255,.25);border-radius:22px;padding:18px;color:#dce8f7}.cart-empty span{font-size:34px}.cart-empty p{margin:2px 0 0;color:#b9c5d6}.cart-list{display:grid;gap:10px}.cart-item-row{display:grid;grid-template-columns:70px 1fr auto auto;gap:12px;align-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:12px}.cart-item-row img{width:70px;height:58px;object-fit:contain;background:white;border-radius:16px;padding:6px}.cart-item-info strong{display:block;font-size:15px}.cart-item-info span{display:block;margin-top:4px;color:#d6e4f5;font-weight:700}.cart-qty-form{display:flex;align-items:center;gap:8px}.cart-qty-form input,.add-cart-form input{width:76px;padding:10px 11px;border-radius:14px}.btn.mini{padding:10px 14px;border-radius:14px;font-size:12px}.btn.danger{background:#fff0f0;color:#a41d1d}.cart-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px}.cart-actions form{display:inline-flex}.cart-product-actions{align-items:center}.add-cart-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pro-shop-products .product{display:flex;flex-direction:column}.pro-shop-products .product .pay-actions{margin-top:auto}.product.with-img>img{height:145px;object-fit:contain;background:linear-gradient(180deg,#f8fbff,#eef4fb);border-radius:22px;padding:12px;margin-bottom:14px}
@media(max-width:820px){.cart-summary-head{display:block}.cart-total-card{text-align:left;margin-top:14px}.cart-item-row{grid-template-columns:58px 1fr}.cart-item-row form{grid-column:1/-1}.cart-actions{justify-content:stretch}.cart-actions .btn,.cart-actions form{width:100%}.cart-actions form .btn{width:100%}.cart-qty-form input{flex:1}.add-cart-form{width:100%}.add-cart-form input{flex:1}.cart-product-actions .btn{width:100%}}

/* Cart popup and menu cart badge */
.nav-cart-link{position:relative;display:inline-flex!important;align-items:center;gap:7px;background:linear-gradient(135deg,var(--gold),#ffe19a)!important;color:#07111f!important;box-shadow:0 13px 30px rgba(214,178,94,.26)}
.nav-cart-link em{min-width:22px;height:22px;border-radius:999px;background:#07111f;color:#fff;font-style:normal;font-size:12px;display:inline-flex;align-items:center;justify-content:center;padding:0 7px}
.shop-cart-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px;padding:18px 20px;border:1px solid rgba(214,178,94,.35);border-radius:24px;background:linear-gradient(135deg,#fffaf0,#ffffff);box-shadow:0 16px 44px rgba(7,17,31,.07)}
.shop-cart-entry strong{display:block;margin:8px 0 3px;color:var(--navy);font-size:20px}.shop-cart-entry small{display:block;color:#64748b;font-weight:850}
.shop-cart-modal{z-index:230}.shop-cart-card{width:min(980px,96vw);padding:24px;background:linear-gradient(135deg,#07111f,#10294a);color:#fff;border:1px solid rgba(255,255,255,.1)}
.cart-popup-head{padding-right:42px}.cart-popup-list{max-height:48vh;overflow:auto;padding-right:4px}.cart-popup-row{grid-template-columns:70px 1fr auto auto}.cart-stepper{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:6px}.cart-stepper form{display:inline-flex}.cart-step-btn{width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#07111f;font-size:20px;font-weight:950;cursor:pointer;line-height:1}.cart-step-btn:hover{background:#fff2c9}.cart-qty-badge{min-width:34px;text-align:center;font-weight:950;color:#fff}.cart-delete-form{display:inline-flex}.cart-popup-actions{align-items:center}.cart-pay-golden{min-width:190px;font-size:17px}.shop-cart-panel{display:none!important}
@media(max-width:820px){.shop-cart-entry{display:block}.shop-cart-entry .btn{width:100%;margin-top:14px}.cart-popup-row{grid-template-columns:58px 1fr}.cart-stepper,.cart-delete-form{grid-column:1/-1}.cart-stepper{justify-content:center}.cart-popup-actions{justify-content:stretch}.cart-popup-actions .btn,.cart-popup-actions form{width:100%}.cart-popup-actions form .btn{width:100%}.nav-cart-link{justify-content:space-between}}

/* Final cart popup refinements */
.shop-cart-entry{display:none!important;}
.nav-cart-link{padding:9px 12px!important;}
.nav-cart-icon{font-size:19px;line-height:1;display:inline-flex;align-items:center;justify-content:center;}
.nav-cart-text{font-weight:900;}
.add-cart-icon-btn{gap:8px;}
.add-cart-form input[type="hidden"]{display:none!important;}
.cart-popup-row{grid-template-columns:70px minmax(160px,1fr) 120px auto 130px auto;}
.cart-price-block,.cart-line-total{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 12px;min-width:112px;}
.cart-price-block small,.cart-line-total small{display:block;color:#c9d8eb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px;}
.cart-price-block strong,.cart-line-total strong{display:block;color:#fff;font-size:14px;white-space:nowrap;}
.cart-line-total strong{color:#ffe19a;}
.payment-item-note-clean{margin:0 0 16px;padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,#fffaf0,#ffffff);border:1px solid rgba(214,178,94,.35);font-weight:850;color:#334155;}
@media(max-width:920px){.cart-popup-row{grid-template-columns:58px 1fr;}.cart-price-block,.cart-stepper,.cart-line-total,.cart-delete-form{grid-column:1/-1;}.cart-price-block,.cart-line-total{display:flex;align-items:center;justify-content:space-between;}.cart-stepper{justify-content:center;}.cart-delete-form .btn{width:100%;}}
@media(max-width:620px){.nav-cart-text{display:none;}.nav-cart-link{justify-content:center!important;}.cart-popup-row{grid-template-columns:52px 1fr;}.cart-item-row img{width:52px;height:52px;}}

/* Sold Product popup in Admin Dashboard */
.sold-products-card{width:min(1240px,98vw);max-height:92vh;padding:26px;overflow:auto}
.sold-products-head{align-items:flex-start;gap:18px}.sold-products-head p{max-width:760px}.sold-products-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sold-amount-pill{background:linear-gradient(135deg,#fff4d3,#f8df9c)!important;color:#07111f!important;border-color:#d6b25e!important}
.sold-products-table-wrap{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(7,17,31,.06);overflow:auto}.sold-products-table{min-width:920px}.sold-products-table th{background:#07111f;color:#fff}.sold-products-table td{vertical-align:middle}.sold-product-info{display:flex;align-items:center;gap:12px;min-width:260px}.sold-product-info img{width:52px;height:52px;border-radius:16px;object-fit:contain;background:#f8fafc;border:1px solid #e5ecf6;padding:7px}.sold-product-info strong,.sold-products-table td>strong{display:block;color:#07111f}.sold-product-info span,.sold-buyer-email,.sold-unit-price{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.sold-txn-pill{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:linear-gradient(135deg,#fff4d3,#f8df9c);color:#07111f;font-size:12px;font-weight:1000;border:1px solid #e8ca78;letter-spacing:.02em}.sold-product-empty{text-align:center;color:#64748b;font-weight:900;padding:28px!important;background:#f8fafc}


.membership-earning-card{width:min(1240px,98vw);max-height:92vh;padding:26px;overflow:auto}
.membership-earning-head{align-items:flex-start;gap:18px}.membership-earning-head p{max-width:780px}.membership-earning-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.membership-amount-pill{background:linear-gradient(135deg,#fff4d3,#f8df9c)!important;color:#07111f!important;border-color:#d6b25e!important}
.membership-earning-table-wrap{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(7,17,31,.06);overflow:auto}.membership-earning-table{min-width:980px}.membership-earning-table th{background:#07111f;color:#fff}.membership-earning-table td{vertical-align:middle}.membership-member-info{display:flex;align-items:center;gap:12px;min-width:280px}.membership-member-avatar{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#07111f,#17365f);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:1000;border:1px solid #d6b25e;box-shadow:0 10px 22px rgba(7,17,31,.14)}.membership-member-info strong,.membership-earning-table td>strong{display:block;color:#07111f}.membership-member-info span,.membership-member-info small,.membership-wallet-line,.membership-payment-count{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.membership-earning-empty{text-align:center;color:#64748b;font-weight:900;padding:28px!important;background:#f8fafc}

.cash-collection-card{width:min(1240px,98vw);max-height:92vh;padding:26px;overflow:auto}
.cash-collection-head{align-items:flex-start;gap:18px}.cash-collection-head p{max-width:780px}.cash-collection-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.cash-amount-pill{background:linear-gradient(135deg,#fff4d3,#f8df9c)!important;color:#07111f!important;border-color:#d6b25e!important}
.cash-collection-table-wrap{border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 16px 38px rgba(7,17,31,.06);overflow:auto}.cash-collection-table{min-width:980px}.cash-collection-table th{background:#07111f;color:#fff}.cash-collection-table td{vertical-align:middle}.cash-member-info{display:flex;align-items:center;gap:12px;min-width:280px}.cash-member-avatar{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#07111f,#17365f);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:1000;border:1px solid #d6b25e;box-shadow:0 10px 22px rgba(7,17,31,.14)}.cash-member-info strong,.cash-collection-table td>strong{display:block;color:#07111f}.cash-member-info span,.cash-member-info small,.cash-wallet-line,.cash-collection-count{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.cash-collection-empty{text-align:center;color:#64748b;font-weight:900;padding:28px!important;background:#f8fafc}

.footer-admin-link{display:inline-block;margin-top:8px;color:#f0c85a;font-weight:800;text-decoration:none}.footer-admin-link:hover{text-decoration:underline}


/* Total Wallet Balance popup in Admin Dashboard */
.total-wallet-card{width:min(1460px,99vw);max-height:95vh;padding:30px;overflow:auto}.total-wallet-head{align-items:flex-start;gap:18px}.total-wallet-head p{max-width:820px}.total-wallet-summary{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.wallet-total-pill{background:linear-gradient(135deg,#fff4d3,#f8df9c)!important;color:#07111f!important;border-color:#d6b25e!important}.wallet-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:14px;margin:18px 0 20px}.wallet-overview-card{border:1px solid rgba(214,178,94,.38);background:linear-gradient(135deg,#fffaf0,#ffffff);border-radius:22px;padding:18px;box-shadow:0 14px 30px rgba(7,17,31,.06)}.wallet-overview-card span{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:#07111f;color:#fff;font-size:21px;margin-bottom:10px}.wallet-overview-card small{display:block;color:#64748b;text-transform:uppercase;font-size:11px;font-weight:1000;letter-spacing:.04em}.wallet-overview-card strong{display:block;color:#07111f;font-size:22px;margin-top:5px}.wallet-section-block{border:1px solid var(--line);border-radius:24px;background:#fff;padding:16px;margin-top:16px;box-shadow:0 16px 38px rgba(7,17,31,.055)}.wallet-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.wallet-section-title h3{margin:0;color:#07111f;font-size:18px}.wallet-section-title span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#f8fafc;border:1px solid #e5ecf6;color:#334155;font-size:12px;font-weight:1000}.total-wallet-table-wrap{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:auto}.total-wallet-table{min-width:1180px}.total-wallet-table th{background:#07111f;color:#fff}.total-wallet-table td{vertical-align:middle}.wallet-member-info{display:flex;align-items:center;gap:12px;min-width:270px}.wallet-member-avatar{width:50px;height:50px;border-radius:16px;background:linear-gradient(135deg,#07111f,#17365f);color:#fff;display:grid;place-items:center;font-size:21px;font-weight:1000;border:1px solid #d6b25e;box-shadow:0 10px 22px rgba(7,17,31,.14)}.wallet-member-info strong,.total-wallet-table td>strong,.compact-wallet-table strong,.small-wallet-table strong{display:block;color:#07111f}.wallet-member-info span,.wallet-member-info small,.total-wallet-table td>span,.compact-wallet-table td>span,.small-wallet-table td>span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.wallet-status-line{display:inline-flex!important;width:max-content;margin-top:7px!important}.wallet-credit-amount{color:#078b4b!important}.wallet-source-pill{display:inline-flex!important;align-items:center;width:max-content;border-radius:999px;padding:7px 10px;background:linear-gradient(135deg,#fff4d3,#f8df9c);color:#07111f!important;font-size:12px;font-weight:1000;border:1px solid #e8ca78}.total-wallet-empty{text-align:center;color:#64748b;font-weight:900;padding:28px!important;background:#f8fafc}.compact-wallet-table{min-width:1040px}.wallet-two-column-sections{display:grid;grid-template-columns:1fr 1.25fr;gap:18px}.small-wallet-table{min-width:760px}.wallet-product-info{display:flex;align-items:center;gap:10px;min-width:220px}.wallet-product-info img{width:46px;height:46px;border-radius:14px;object-fit:contain;background:#f8fafc;border:1px solid #e5ecf6;padding:6px}@media(max-width:1100px){.wallet-overview-grid,.wallet-two-column-sections{grid-template-columns:1fr 1fr}}@media(max-width:720px){.wallet-overview-grid,.wallet-two-column-sections{grid-template-columns:1fr}.total-wallet-card{width:98vw;padding:20px}.wallet-section-title{align-items:flex-start;flex-direction:column}}

/* Wider Earning by Membership popup */
.membership-earning-modal .member-modal-card.membership-earning-card{
    width:min(1460px,99vw);
    max-height:94vh;
    padding:30px;
}
.membership-earning-modal .membership-earning-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    padding-right:46px;
}
.membership-earning-modal .membership-earning-head p{
    max-width:920px;
}
.membership-earning-modal .membership-earning-table-wrap{
    max-height:68vh;
    overflow:auto;
}
.membership-earning-modal .membership-earning-table{
    min-width:1180px;
}
.membership-earning-modal .membership-member-info{
    min-width:340px;
}
@media(max-width:900px){
    .membership-earning-modal .member-modal-card.membership-earning-card{width:97vw;padding:20px;}
    .membership-earning-modal .membership-earning-head{display:block;padding-right:40px;}
    .membership-earning-modal .membership-earning-summary{justify-content:flex-start;margin-top:12px;}
    .membership-earning-modal .membership-earning-table{min-width:1080px;}
}


/* Wider Cash Collection popup */
.cash-collection-modal .member-modal-card.cash-collection-card{
    width:min(1460px,99vw);
    max-height:94vh;
    padding:30px;
}
.cash-collection-modal .cash-collection-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    padding-right:46px;
}
.cash-collection-modal .cash-collection-head p{
    max-width:920px;
}
.cash-collection-modal .cash-collection-table-wrap{
    max-height:68vh;
    overflow:auto;
}
.cash-collection-modal .cash-collection-table{
    min-width:1180px;
}
.cash-collection-modal .cash-member-info{
    min-width:340px;
}
@media(max-width:900px){
    .cash-collection-modal .member-modal-card.cash-collection-card{width:97vw;padding:20px;}
    .cash-collection-modal .cash-collection-head{display:block;padding-right:40px;}
    .cash-collection-modal .cash-collection-summary{justify-content:flex-start;margin-top:12px;}
    .cash-collection-modal .cash-collection-table{min-width:1080px;}
}


/* Wider Sold Product popup - image removed from list */
.sold-products-modal .member-modal-card.sold-products-card{
    width:min(1460px,99vw);
    max-height:94vh;
    padding:30px;
}
.sold-products-modal .sold-products-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:22px;
    padding-right:46px;
}
.sold-products-modal .sold-products-head p{
    max-width:920px;
}
.sold-products-modal .sold-products-table-wrap{
    max-height:68vh;
    overflow:auto;
}
.sold-products-modal .sold-products-table{
    min-width:1120px;
}
.sold-products-modal .sold-product-info{
    min-width:320px;
}
.sold-product-info-no-image{
    padding:8px 0;
    gap:0;
}
@media(max-width:900px){
    .sold-products-modal .member-modal-card.sold-products-card{width:97vw;padding:20px;}
    .sold-products-modal .sold-products-head{display:block;padding-right:40px;}
    .sold-products-modal .sold-products-summary{justify-content:flex-start;margin-top:12px;}
    .sold-products-modal .sold-products-table{min-width:1040px;}
}

/* Menu centered update */
@media(min-width:981px){
  .site-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:22px;}
  .site-header .brand{grid-column:1;justify-self:start;}
  .site-header .nav{grid-column:2;justify-self:center;justify-content:center;flex-wrap:wrap;}
  .site-header .nav-toggle{grid-column:3;justify-self:end;}
}

/* Membership upgrade payable difference */
.membership-upgrade-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:linear-gradient(135deg,#07111f,#17365f);color:#fff;border-radius:24px;padding:18px 22px;margin:0 0 22px;box-shadow:0 18px 48px rgba(7,17,31,.14)}
.membership-upgrade-summary span{color:#ffe19a;font-weight:900}.membership-upgrade-summary small{color:#dce8f7;font-weight:700}.upgrade-deduction-box{display:grid;gap:7px;background:rgba(214,178,94,.12);border:1px solid rgba(214,178,94,.32);border-radius:18px;padding:12px 14px;margin:12px 0;color:inherit}.plan.featured .upgrade-deduction-box{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22)}.upgrade-deduction-box span{display:flex;justify-content:space-between;gap:12px;color:inherit;font-weight:800}.upgrade-deduction-box strong{color:var(--gold)}.btn.disabled,.btn:disabled{opacity:.58;cursor:not-allowed;box-shadow:none!important;filter:grayscale(.18)}
@media(max-width:620px){.membership-upgrade-summary{align-items:flex-start;flex-direction:column}.upgrade-deduction-box span{display:block}}

/* Member dashboard renamed history tiles and wide popups */
.member-action-grid .member-history-tile{
  cursor:pointer;
  border:1px solid var(--line);
  text-align:left;
  font-family:inherit;
  transition:.22s ease;
}
.member-action-grid .member-history-tile:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 44px rgba(7,17,31,.11);
  border-color:rgba(214,178,94,.55);
}
.member-action-grid .member-history-tile span{
  background:linear-gradient(135deg,#07111f,#17365f);
  color:#fff;
  border:1px solid #d6b25e;
}
.member-history-card{
  width:min(1260px,98vw);
  max-height:92vh;
  padding:28px;
  overflow:auto;
}
.member-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-right:46px;
}
.member-history-head p{
  margin:5px 0 0;
  color:#64748b;
  font-weight:700;
}
.member-history-summary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(214,178,94,.5);
  background:linear-gradient(135deg,#fff4d3,#fff);
  color:#07111f;
  border-radius:999px;
  padding:9px 14px;
  margin:8px 0 14px;
  font-weight:900;
}
.member-history-summary strong{font-size:18px}.member-history-summary span{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-weight:1000}
.member-history-table-wrap{
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 16px 38px rgba(7,17,31,.06);
  overflow:auto;
  max-height:66vh;
}
.member-history-table{
  width:100%;
  min-width:880px;
  border-collapse:collapse;
}
.member-history-table th{
  background:#07111f;
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.member-history-table td,.member-history-table th{padding:14px 16px;border-bottom:1px solid #e5ecf6;text-align:left;vertical-align:middle}
.member-history-table td strong{display:block;color:#07111f}.member-history-table td span{display:block;color:#64748b;font-size:12px;font-weight:800;margin-top:3px}.member-history-empty{text-align:center;color:#64748b;font-weight:900;padding:32px!important;background:#f8fafc}.bonus-credit-amount{color:#078b4b!important}.transferred-history-table{min-width:1040px}.bonus-history-table{min-width:980px}
@media(max-width:900px){.member-history-card{width:97vw;padding:20px}.member-history-head{display:block;padding-right:40px}.member-history-table{min-width:860px}.transferred-history-table{min-width:980px}}

/* Member dashboard symbolic icon update */
.quick-tile .symbolic-icon{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(135deg,#07111f,#0e3a61);border:1px solid rgba(214,178,94,.75);box-shadow:0 10px 24px rgba(7,17,31,.12);color:#fff;font-size:0}
.quick-tile .symbolic-icon svg{width:29px;height:29px;fill:currentColor;display:block}
.member-history-head .symbolic-icon-panel svg{width:25px;height:25px;fill:currentColor;display:block}
.member-action-grid .member-history-tile:hover .symbolic-icon{transform:translateY(-2px);box-shadow:0 14px 28px rgba(7,17,31,.16)}

/* Sports page clickable cards and wide sport detail popups */
.sports-grid-clickable .sport-open-card{
    display:block;
    width:100%;
    text-align:left;
    cursor:pointer;
    font:inherit;
    color:inherit;
}
.sports-grid-clickable .sport-open-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 64px rgba(7,17,31,.14);
    border-color:rgba(214,178,94,.55);
}
.sport-open-card .sport-view-link{
    display:inline-flex;
    margin-top:14px;
    color:#07111f;
    font-weight:900;
    border-bottom:2px solid var(--gold);
}
.sport-detail-modal .sport-detail-card{
    width:min(1460px,99vw);
    max-height:92vh;
    padding:28px;
}
.sport-detail-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    padding-right:48px;
    margin-bottom:20px;
}
.sport-detail-head h2{
    margin:10px 0 6px;
    color:var(--navy);
    font-size:clamp(28px,3vw,42px);
    letter-spacing:-.8px;
}
.sport-detail-head p{margin:0;color:var(--muted);line-height:1.6;}
.sport-detail-body{
    display:grid;
    grid-template-columns:390px 1fr;
    gap:24px;
    align-items:stretch;
}
.sport-detail-image-wrap{
    margin:0;
    background:#f8fafc;
    border:1px solid var(--line);
    border-radius:24px;
    padding:14px;
    box-shadow:0 14px 34px rgba(7,17,31,.06);
}
.sport-detail-image{
    width:100%;
    height:235px;
    object-fit:cover;
    border-radius:18px;
    display:block;
}
.sport-detail-image-wrap figcaption{
    margin-top:10px;
    color:#687489;
    font-size:13px;
    font-weight:700;
}
.sport-detail-copy{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.sport-detail-box{
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:24px;
    min-height:235px;
    box-shadow:0 14px 36px rgba(7,17,31,.06);
}
.sport-detail-box h3{
    margin:0 0 12px;
    color:var(--navy);
    font-size:22px;
}
.sport-detail-box p{
    margin:0;
    color:#536177;
    line-height:1.75;
    font-size:16px;
}
@media(max-width:980px){
    .sport-detail-body{grid-template-columns:1fr;}
    .sport-detail-copy{grid-template-columns:1fr;}
    .sport-detail-image{height:250px;}
}
@media(max-width:620px){
    .sport-detail-modal .sport-detail-card{width:97vw;padding:20px;}
    .sport-detail-head{display:block;padding-right:42px;}
    .sport-detail-image{height:210px;}
}

/* Login and Register wider popup update */
.auth-action-modal{display:none!important;visibility:hidden;opacity:0;pointer-events:none;}
.auth-action-modal.open{display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto;}
.auth-popup-card{width:min(980px,96vw);max-height:91vh;overflow:auto;padding:26px;border-radius:28px;}
.login-popup-card{width:min(860px,96vw);}
.register-popup-card{width:min(1120px,98vw);}
.auth-popup-head{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px;padding-right:42px;}
.auth-popup-head span{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#07111f,#132f54);color:#fff;font-size:27px;box-shadow:0 14px 32px rgba(7,17,31,.18);}
.auth-popup-head h2{margin:0;color:var(--navy);font-size:clamp(24px,3vw,34px);letter-spacing:-.6px;}
.auth-popup-head p{margin:6px 0 0;color:var(--muted);font-weight:700;line-height:1.55;}
.auth-popup-form{margin-top:8px;}
.auth-wide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.auth-wide-grid .full{grid-column:1/-1;}
.register-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.login-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.field-note{display:block;margin-top:7px;color:#64748b;font-size:12px;font-weight:800;line-height:1.45;}
.auth-page-card.login-page-card{width:min(860px,100%)!important;}
.auth-page-card.register-page-card{width:min(1120px,100%)!important;}
.auth-page-card .field-note{font-size:12px;}
body.modal-active{overflow:hidden;}
@media(max-width:760px){.auth-popup-card,.login-popup-card,.register-popup-card{width:96vw;padding:20px;border-radius:24px;}.auth-popup-head{display:block;padding-right:40px;}.auth-popup-head span{margin-bottom:12px;}.auth-wide-grid,.register-grid,.login-grid{grid-template-columns:1fr;}}
