@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#101214;--panel:#171a1d;--panel-2:#1d2125;--line:#2b3035;--text:#f4f4f1;--muted:#9aa0a6;--accent:#b8bec6;--accent-2:#d6dbe0;--danger:#ff7979;--success:#8fe0ae;--radius:18px;--shadow:0 24px 70px rgba(0,0,0,.25);font-family:'DM Sans',sans-serif;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Space Grotesk',sans-serif;letter-spacing:-.04em}h1{font-size:clamp(2.1rem,4vw,3.6rem);line-height:1.03;margin-bottom:14px}h2{font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.1;margin-bottom:12px}p{line-height:1.6}.muted{color:var(--muted)}.tiny{font-size:.76rem;line-height:1.55}.eyebrow{font-size:.68rem;letter-spacing:.18em;font-weight:700;color:var(--accent);margin-bottom:13px;text-transform:uppercase}.brand{display:flex;align-items:center;gap:11px;font-family:'Space Grotesk',sans-serif;font-weight:700;font-size:1.12rem;letter-spacing:-.045em}.brand-mark{display:inline-grid;place-items:center;width:40px;height:40px;background:var(--accent);color:#121411;font-size:.83rem;letter-spacing:-.05em;font-weight:700;clip-path:polygon(0 0,100% 0,100% 73%,73% 100%,0 100%)}.brand-accent{color:var(--accent)}.brand-link{flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:10px;padding:12px 17px;font-size:.88rem;font-weight:700;transition:transform .16s,background .16s,border-color .16s;color:var(--text);background:var(--panel-2)}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--accent);color:#141612;border-color:var(--accent)}.btn-primary:hover{background:var(--accent-2)}.btn-outline{background:transparent;border-color:#43494f}.btn-outline:hover,.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}.btn-ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn-small{padding:9px 12px;font-size:.78rem}.btn-full{width:100%;padding:14px}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.notice{padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:#1d2227;color:#dce0e4;font-size:.86rem;margin:0 0 16px;line-height:1.5}.notice[hidden]{display:none}.notice.error{border-color:#6b3838;background:#2b1919;color:#ffc1c1}.notice.success{border-color:#365e43;background:#14231a;color:#b3f0c6}.notice.info{border-color:#394349;background:#192025;color:#d5e3ed}
/* Auth pages */
.auth-page{display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 4% 8%,rgba(184,190,198,.08),transparent 28%),#101214}.auth-shell{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(410px,1.05fr);width:min(1120px,100%);min-height:min(760px,calc(100vh - 56px));background:#16191c;border:1px solid #272c31;border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.auth-shell-compact{min-height:670px;max-width:980px}.auth-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:40px;background:linear-gradient(150deg,rgba(0,0,0,.08),rgba(0,0,0,.78)),linear-gradient(145deg,#3a4048 0%,#202329 38%,#111416 90%);overflow:hidden}.auth-visual:after{content:"";position:absolute;inset:0;opacity:.15;background-image:linear-gradient(135deg,transparent 0 49.6%,rgba(184,190,198,.35) 50%,transparent 50.4%),linear-gradient(45deg,transparent 0 49.7%,rgba(255,255,255,.16) 50%,transparent 50.3%);background-size:180px 180px,240px 240px;pointer-events:none}.auth-visual>*{position:relative;z-index:1}.visual-copy{max-width:440px;margin:56px 0}.visual-copy h1{font-size:clamp(2.6rem,4.8vw,4.7rem);margin-bottom:22px}.visual-copy h1 em{font-style:normal;color:var(--accent)}.visual-copy>p:last-child{max-width:365px;color:#c0c6ce;line-height:1.8}.visual-stat{display:flex;align-items:center;gap:12px;color:#afb7c0;font-size:.65rem;letter-spacing:.18em;font-weight:700}.stat-line{display:inline-block;width:36px;height:2px;background:var(--accent)}.auth-content{padding:45px clamp(24px,5vw,64px) 24px;display:flex;flex-direction:column;justify-content:center}.auth-card{width:100%;max-width:405px;margin:auto}.auth-card h2{font-size:2rem;margin-bottom:8px}.auth-card>.muted{font-size:.9rem;margin-bottom:26px}.auth-switch{display:grid;grid-template-columns:1fr 1fr;background:#101214;border:1px solid #2d3237;padding:4px;border-radius:11px;margin-bottom:22px}.switch-btn{background:transparent;border:0;color:var(--muted);border-radius:8px;padding:10px;font-size:.84rem;font-weight:600}.switch-btn.active{background:#2b3035;color:var(--text)}.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack label,.filter-label{display:flex;flex-direction:column;gap:8px;color:#dce0e2;font-size:.82rem;font-weight:600}.form-stack input,.form-stack select,.form-stack textarea,.filter-label input,.filter-label select{width:100%;background:#101214;border:1px solid #33393f;color:var(--text);border-radius:9px;padding:12px 13px;outline:none;transition:border .16s;font-size:.86rem}.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus,.filter-label input:focus,.filter-label select:focus{border-color:var(--accent)}input::placeholder,textarea::placeholder{color:#696f75}input[type=file]{padding:9px}.form-stack textarea{resize:vertical;min-height:100px}.auth-foot{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;padding-top:21px;margin-top:23px;border-top:1px solid #2d3237;font-size:.78rem;color:var(--muted)}.auth-foot a{color:var(--accent);font-weight:600}.copyright{max-width:405px;width:100%;margin:28px auto 0;color:#6f777d;font-size:.66rem;letter-spacing:.1em}.mobile-brand{display:none}.auth-card .tiny{margin:0}
/* App shell */
.app-page{background:#101214}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(18px,4vw,54px);border-bottom:1px solid #282d31;background:rgba(18,20,22,.97);position:sticky;top:0;z-index:50}.topbar-right{display:flex;align-items:center;gap:14px}.online-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(184,190,198,.1)}.topbar-name{font-size:.82rem;color:#d7dad7}.app-layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 76px)}.sidebar{border-right:1px solid #282d31;padding:30px 17px 22px;display:flex;flex-direction:column;gap:8px;position:sticky;top:76px;height:calc(100vh - 76px)}.side-caption{padding:0 14px;margin-bottom:11px;color:#737b80;font-size:.62rem}.nav-item{display:flex;align-items:center;gap:13px;border:1px solid transparent;border-radius:10px;padding:13px 14px;background:transparent;color:#a4aaae;text-align:left;font-size:.86rem}.nav-item span{width:18px;font-size:1.1rem;text-align:center}.nav-item:hover{background:#191d20;color:var(--text)}.nav-item.active{background:rgba(184,190,198,.09);border-color:rgba(184,190,198,.17);color:var(--accent)}.sidebar-bottom{margin-top:auto;border-top:1px solid #282d31;padding:20px 14px 0;display:flex;flex-direction:column;gap:7px}.sidebar-tag{font-size:.62rem;letter-spacing:.16em;color:#697177;font-weight:700}.main-content{padding:clamp(24px,4vw,50px);width:100%;max-width:1500px;margin:0 auto}.view{display:none;animation:fadeUp .25s ease}.view.active{display:block}@keyframes fadeUp{from{opacity:.45;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}.page-heading h1{margin-bottom:12px}.page-heading p:not(.eyebrow){margin-bottom:0;font-size:.9rem}.date-chip,.week-chip{border:1px solid #343a3f;background:#171b1e;border-radius:10px;padding:11px 14px;color:#c0c5c8;font-size:.75rem;text-transform:capitalize;white-space:nowrap}.feature-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);min-height:300px;background:linear-gradient(110deg,#202329,#171b1d);border:1px solid #2c3233;border-radius:18px;overflow:hidden;margin-bottom:49px}.feature-image{position:relative;min-height:300px;background:#212725 center/cover no-repeat;display:flex;align-items:flex-end;padding:25px}.placeholder-image{background:radial-gradient(ellipse at 45% 30%,#525860 0%,#292e34 42%,#171a1e 90%)}.placeholder-image:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.45),transparent 65%),linear-gradient(140deg,transparent 40%,rgba(184,190,198,.09) 40.2%,transparent 40.6%)}.placeholder-image span{z-index:1;font-size:.65rem;letter-spacing:.2em;color:#e3e7eb}.feature-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(25px,4vw,52px)}.feature-copy h2{font-size:clamp(1.7rem,3vw,2.5rem);max-width:420px}.content-description{white-space:pre-line;color:#b3b9b8;line-height:1.85;font-size:.9rem;margin-bottom:0}.section-block{margin-top:46px}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:19px}.section-heading h2{margin-bottom:0}.section-index{font-size:.66rem;color:#6e777d;letter-spacing:.15em}.gym-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.gym-gallery img{display:block;width:100%;height:180px;object-fit:cover;border-radius:12px;border:1px solid #33393c}.gallery-placeholder{min-height:180px;border:1px solid #303639;border-radius:12px;background:linear-gradient(135deg,#222927,#171b1c);display:grid;place-items:center;color:#69726c;font-size:.65rem;letter-spacing:.18em}.gym-description{max-width:900px}.booking-summary{border-top:1px solid #2b3034;padding-top:32px}.empty-state{background:#171b1e;border:1px dashed #3a4146;border-radius:13px;padding:28px;color:#929a9f;text-align:center;font-size:.86rem}.compact-empty{padding:22px}.booking-summary .section-heading{align-items:center}.booking-rules{display:flex;gap:13px;align-items:flex-start;padding:14px 16px;border:1px solid #303638;background:#171c1e;border-radius:12px;margin-bottom:24px}.booking-rules p{color:#b0b8b9;font-size:.82rem;line-height:1.6;margin:0}.rule-icon{flex:0 0 22px;height:22px;border-radius:50%;display:grid;place-items:center;background:rgba(184,190,198,.11);color:var(--accent);font-weight:700;font-size:.8rem}.active-booking-banner{border:1px solid rgba(184,190,198,.25);background:rgba(184,190,198,.06);border-radius:12px;padding:15px 17px;margin-bottom:22px;font-size:.85rem;color:#d5dbe0}.active-booking-banner[hidden]{display:none}.schedule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.day-card{border:1px solid #2d3337;border-radius:14px;background:#171a1d;overflow:hidden}.day-card-head{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;background:#1d2124;border-bottom:1px solid #2d3337}.day-card-head strong{font-size:.91rem;text-transform:capitalize}.day-card-head span{font-size:.68rem;color:#858f94}.slot-row{padding:15px 17px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;border-bottom:1px solid #262c30}.slot-row:last-child{border-bottom:0}.slot-time{font-family:'Space Grotesk';font-size:.96rem;font-weight:600;letter-spacing:-.025em}.slot-meta{font-size:.73rem;color:#8d969b;margin-top:5px}.slot-people{font-size:.72rem;color:#c0c7c8;margin-top:7px;line-height:1.5}.slot-people strong{color:#929b9f;font-weight:500}.slot-actions{display:flex;align-items:center;gap:8px;flex-direction:column}.seat-indicator{font-size:.67rem;color:var(--muted);white-space:nowrap}.seat-indicator.full{color:var(--danger)}.slot-btn{font-size:.7rem;padding:8px 11px;white-space:nowrap;border-radius:8px}.slot-btn.book{background:var(--accent);color:#10120d}.slot-btn.booked{background:#272d30;color:#9ba2a5;cursor:default}.slot-btn.unavailable{background:#25292c;color:#777f84;cursor:not-allowed}.slot-status{font-size:.67rem;color:var(--muted);text-align:right;max-width:105px}.loading-state{color:var(--muted);padding:24px}.profile-avatar{display:grid;place-items:center;width:58px;height:58px;background:var(--accent);color:#141612;border-radius:50%;font-family:'Space Grotesk';font-size:1.1rem;font-weight:700}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel-card{border:1px solid #2d3337;background:#171a1d;border-radius:15px;padding:24px;min-width:0}.panel-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:22px}.panel-card-heading h2{font-size:1.35rem;margin-bottom:0}.panel-card-heading .eyebrow{margin-bottom:9px}.badge-neutral{font-size:.65rem;background:#252b2f;padding:7px 9px;border-radius:6px;color:#b0b7bb;white-space:nowrap}.profile-details{margin:0}.profile-details>div{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);gap:16px;border-bottom:1px solid #2b3034;padding:13px 0}.profile-details>div:last-child{border-bottom:0}.profile-details dt{color:#90999e;font-size:.76rem}.profile-details dd{margin:0;color:#e5e8e6;overflow-wrap:anywhere;font-size:.82rem}.sheet-icon{display:grid;place-items:center;min-width:43px;height:43px;background:#3a2220;color:#ffaaa1;font-size:.74rem;font-weight:700;border-radius:9px}.sheet-download{display:flex;align-items:center;gap:12px;border:1px solid #30373b;border-radius:10px;padding:14px;margin-top:20px;font-size:.8rem;color:#c6ccce}.sheet-download.has-sheet{background:#1d2820;border-color:#34533b;color:#d6dbe0}.file-symbol{display:grid;place-items:center;width:34px;height:34px;background:#292f32;border-radius:8px;font-size:1.2rem}.empty-sheet{color:#737d82}.sheet-link{color:var(--accent);font-weight:700}.history-card{margin-top:18px}.table-wrap{overflow-x:auto;width:100%}table{border-collapse:collapse;width:100%;font-size:.79rem;min-width:560px}th{text-align:left;color:#859096;font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;padding:12px 13px;border-bottom:1px solid #33393d}td{padding:14px 13px;border-bottom:1px solid #292e32;color:#d8dcdd;vertical-align:middle}tr:last-child td{border-bottom:0}.table-user strong{display:block;font-size:.79rem;color:#f0f2f0}.table-user span{display:block;font-size:.7rem;color:#8e989d;margin-top:4px}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:5px;padding:5px 7px;font-size:.66rem;font-weight:700;background:#222a25;color:var(--success);white-space:nowrap}.status-pill.cancelled{background:#2a2020;color:#ef9b9b}.status-pill.inactive{background:#2a2020;color:#ef9b9b}.status-pill.past{background:#252a2d;color:#a6afb4}.status-pill.active{background:#222a25;color:var(--success)}
/* Admin panel */
.admin-header-tag{font-size:.58rem;letter-spacing:.16em;color:#111;border-radius:4px;background:var(--accent);padding:5px 6px;margin-left:4px}.admin-badge{color:var(--accent);font-size:.65rem;letter-spacing:.12em;font-weight:700}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.stat-card{border:1px solid #2e3438;background:#171b1e;border-radius:13px;padding:19px 21px;display:flex;flex-direction:column;gap:14px}.stat-card span{font-size:.74rem;color:#9ba3a7}.stat-card strong{font-family:'Space Grotesk';font-size:2.05rem;letter-spacing:-.06em}.admin-schedule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-schedule-day{border:1px solid #2d3337;border-radius:10px;overflow:hidden}.admin-schedule-day h3{margin:0;background:#202428;border-bottom:1px solid #2d3337;padding:12px 13px;font-size:.83rem;text-transform:capitalize}.admin-schedule-item{display:flex;justify-content:space-between;gap:8px;padding:11px 13px;border-bottom:1px solid #2a3034;font-size:.75rem}.admin-schedule-item:last-child{border-bottom:0}.admin-schedule-item span:last-child{color:#aeb6b8;text-align:right}.admin-schedule-item .free{color:var(--success)!important}.admin-schedule-item .blocked{color:var(--danger)!important}.filter-row{display:flex;align-items:flex-end;gap:14px;max-width:720px;margin-bottom:18px}.filter-label{flex:1}.filter-label input,.filter-label select{margin-top:2px}.two-column{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:16px}.list-stack{display:flex;flex-direction:column;gap:10px}.list-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;border:1px solid #30363a;border-radius:10px}.list-item-copy strong{display:block;font-size:.82rem}.list-item-copy span{display:block;font-size:.72rem;color:#929a9f;margin-top:5px;line-height:1.45}.list-item-actions{display:flex;gap:6px;flex-shrink:0}.mini-btn{border:1px solid #3c444a;background:transparent;color:#dce0e1;padding:7px 9px;border-radius:7px;font-size:.68rem;font-weight:700}.mini-btn:hover{border-color:var(--accent);color:var(--accent)}.mini-btn.danger{color:#f2a1a1;border-color:#593434}.mini-btn.danger:hover{background:#321f1f}.content-editor{display:grid;grid-template-columns:1fr 1fr;gap:16px}.image-preview{display:flex;gap:10px;flex-wrap:wrap}.image-preview img{width:100px;height:100px;object-fit:cover;border-radius:9px;border:1px solid #3b4246}.image-preview:empty{display:none}.image-preview .muted{font-size:.75rem}.editor-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 2px}.editor-actions p{margin:0}.modal-backdrop{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px;backdrop-filter:blur(4px)}.modal-backdrop[hidden]{display:none}.modal-card{width:min(470px,100%);background:#1b1f22;border:1px solid #41494e;border-radius:18px;padding:29px;position:relative;box-shadow:var(--shadow)}.modal-card h2{font-size:1.6rem}.modal-close{position:absolute;right:17px;top:14px;width:33px;height:33px;border:0;background:#2a3034;color:#d5dadd;border-radius:8px;font-size:1.4rem}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.modal-card .muted{font-size:.87rem}.modal-card .form-stack{margin-top:14px}
@media(max-width:1050px){.app-layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:12px;padding-right:12px}.main-content{padding:28px}.schedule-grid,.admin-schedule{grid-template-columns:1fr}.feature-copy{padding:30px}.topbar{padding:0 22px}.admin-badge{display:none}.content-editor{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:1fr}.gym-gallery img,.gallery-placeholder{height:150px;min-height:150px}}
@media(max-width:760px){.auth-page{padding:0;background:#141719;display:block}.auth-shell,.auth-shell-compact{display:flex;flex-direction:column;min-height:100vh;width:100%;border-radius:0;border:0;box-shadow:none}.auth-visual{display:none}.auth-content{padding:27px 22px 24px;min-height:100vh;justify-content:flex-start}.mobile-brand{display:flex;margin-bottom:48px}.auth-card{max-width:500px;margin:0 auto}.auth-card h2{font-size:1.9rem}.copyright{margin-top:auto;padding-top:42px}.auth-foot{flex-direction:column;gap:10px}.topbar{height:66px;padding:0 16px}.topbar .brand{font-size:.93rem;gap:7px}.brand-mark{width:34px;height:34px}.topbar-right{gap:8px}.topbar-name{display:none}.app-layout{display:block;min-height:calc(100vh - 66px);padding-bottom:71px}.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;height:68px;z-index:60;border-right:0;border-top:1px solid #32373b;background:rgba(18,20,22,.97);backdrop-filter:blur(14px);display:flex;flex-direction:row;align-items:center;justify-content:space-around;padding:5px 8px;gap:4px}.side-caption,.sidebar-bottom{display:none}.nav-item{display:flex;flex:1;flex-direction:column;gap:4px;justify-content:center;align-items:center;padding:7px 4px;font-size:.65rem;border-radius:8px;min-width:0}.nav-item span{font-size:1.02rem;width:auto}.main-content{padding:25px 16px 32px}.page-heading{align-items:flex-start;margin-bottom:27px;gap:12px}.page-heading h1{font-size:2.35rem}.date-chip,.week-chip{font-size:.64rem;padding:9px 10px;white-space:normal;text-align:center;max-width:112px}.page-heading>.profile-avatar{width:47px;height:47px;flex-shrink:0}.feature-hero{grid-template-columns:1fr;margin-bottom:35px}.feature-image{min-height:180px;height:180px}.feature-copy{padding:25px 22px}.feature-copy h2{font-size:1.8rem}.section-block{margin-top:35px}.section-heading{align-items:flex-start}.section-index{display:none}.gym-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gym-gallery img,.gallery-placeholder{height:130px;min-height:130px}.gym-gallery img:nth-child(n+3){display:none}.booking-summary .section-heading{align-items:flex-start;flex-direction:column}.booking-summary .section-heading .btn{width:100%}.schedule-grid{grid-template-columns:1fr;gap:12px}.slot-row{grid-template-columns:minmax(0,1fr) auto;padding:13px 12px}.slot-time{font-size:.9rem}.slot-people{font-size:.69rem}.slot-btn{padding:8px;font-size:.65rem}.profile-grid{grid-template-columns:1fr}.panel-card{padding:19px 16px}.profile-details>div{grid-template-columns:100px minmax(0,1fr);gap:10px}.history-card{margin-top:14px}.table-wrap table{min-width:580px}.admin-header-tag{display:none}.admin-badge{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{padding:15px}.stat-card:last-child{grid-column:1/-1}.stat-card strong{font-size:1.8rem}.two-column,.content-editor{grid-template-columns:1fr;gap:13px}.editor-actions{grid-column:1;align-items:stretch;flex-direction:column}.editor-actions .btn{width:100%}.filter-row{align-items:stretch;flex-direction:column}.filter-label{width:100%}.admin-schedule{grid-template-columns:1fr}.list-item{align-items:flex-start}.list-item-actions{flex-direction:column}.modal-card{padding:25px 20px}.modal-actions .btn{flex:1}.admin-app-page .main-content{padding-bottom:28px}}
@media(max-width:390px){.main-content{padding-left:12px;padding-right:12px}.page-heading h1{font-size:2rem}.date-chip,.week-chip{max-width:90px;font-size:.59rem}.slot-row{grid-template-columns:minmax(0,1fr)}.slot-actions{flex-direction:row;justify-content:space-between;flex-wrap:wrap}.slot-status{text-align:left;max-width:none}.topbar .btn-small{padding:8px;font-size:.7rem}}

/* GGGYM visual refresh */
.auth-page{background:#080a0d url("gym-scene.svg") center/cover fixed no-repeat;position:relative}
.auth-page:before{content:"";position:fixed;inset:0;background:linear-gradient(110deg,rgba(5,7,10,.46),rgba(5,7,10,.82));pointer-events:none}
.auth-shell{position:relative;z-index:1;background:rgba(12,15,19,.94);border-color:rgba(184,190,198,.24);box-shadow:0 28px 90px rgba(0,0,0,.58)}
.auth-visual{background:linear-gradient(180deg,rgba(4,6,8,.18),rgba(4,6,8,.82)),url("gym-scene.svg") center/cover no-repeat;isolation:isolate}
.auth-visual:after{opacity:.24;background-image:linear-gradient(90deg,transparent 0 49%,rgba(184,190,198,.22) 50%,transparent 51%),linear-gradient(0deg,transparent 0 49%,rgba(255,255,255,.08) 50%,transparent 51%);background-size:72px 72px,72px 72px}
.auth-content{background:linear-gradient(145deg,rgba(16,19,23,.97),rgba(9,11,14,.98))}
.auth-card{padding:clamp(0px,1vw,8px)}
.auth-card h2{letter-spacing:-.045em}
.auth-switch{background:#0b0d10;border-color:#292d32}
.switch-btn.active{background:#292d32;color:#d5dbe0;box-shadow:inset 0 0 0 1px rgba(184,190,198,.18)}
.form-stack input,.form-stack select,.form-stack textarea{background:#0b0e12;border-color:#34383e;min-height:46px}
.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{border-color:#b8bec6;box-shadow:0 0 0 3px rgba(184,190,198,.09)}
.btn-primary{box-shadow:0 8px 24px rgba(184,190,198,.12);font-weight:800}
.panel-card,.day-card,.feature-hero,.modal-card{box-shadow:0 14px 40px rgba(0,0,0,.16)}
.feature-hero{background:linear-gradient(115deg,#202328,#151719);border-color:rgba(184,190,198,.18)}
.placeholder-image{background:radial-gradient(ellipse at 50% 35%,#59462b 0%,#29231b 40%,#111315 90%)}
@media(max-width:760px){.auth-page{background:#080a0d url("gym-scene.svg") center/cover fixed no-repeat}.auth-page:before{background:rgba(5,7,10,.68)}.auth-content{background:rgba(10,13,17,.82);backdrop-filter:blur(12px);min-height:100dvh}.mobile-brand{margin-bottom:38px}.auth-card{background:rgba(13,16,20,.86);border:1px solid rgba(184,190,198,.2);border-radius:18px;padding:24px 20px;box-shadow:0 18px 50px rgba(0,0,0,.28)}.copyright{padding-bottom:10px}}

/* GGGYM visual refresh — charcoal, graphite and steel */
:root{--bg:#0a0b0d;--panel:#111316;--panel-2:#191c20;--line:#30343a;--text:#f5f4f0;--muted:#a1a5aa;--accent:#b8bec6;--accent-2:#d6dbe0;--danger:#ff8585;--success:#91dfad;--radius:16px;--shadow:0 28px 90px rgba(0,0,0,.48)}
body{background:radial-gradient(ellipse at 50% -15%,rgba(184,190,198,.11),transparent 36%),#0a0b0d}
.auth-page{min-height:100vh;background:#090a0c url('./gym-background.svg') center/cover fixed no-repeat;position:relative;isolation:isolate}
.auth-page:before{content:"";position:fixed;inset:0;background:linear-gradient(90deg,rgba(4,5,6,.42),rgba(4,5,6,.78) 52%,rgba(4,5,6,.46)),linear-gradient(0deg,rgba(4,5,6,.55),transparent 55%);z-index:-1;pointer-events:none}
.auth-shell{background:rgba(13,15,17,.91);border:1px solid rgba(184,190,198,.25);border-radius:22px;box-shadow:0 30px 100px rgba(0,0,0,.6);backdrop-filter:blur(12px)}
.auth-visual{background:linear-gradient(150deg,rgba(8,9,10,.18),rgba(7,8,9,.76)),url('./gym-background.svg') center/cover no-repeat;border-right:1px solid rgba(184,190,198,.15)}
.auth-visual:after{opacity:.2;background-image:linear-gradient(135deg,transparent 0 49.6%,rgba(184,190,198,.25) 50%,transparent 50.4%);background-size:190px 190px}
.brand-mark{background:var(--accent);color:#12100b;clip-path:polygon(0 0,100% 0,100% 75%,75% 100%,0 100%);box-shadow:0 0 28px rgba(184,190,198,.18)}
.brand-accent,.auth-foot a{color:var(--accent)}
.eyebrow{color:var(--accent)}
.btn-primary{background:linear-gradient(135deg,#d5dbe0,#9ea5ad);border-color:#b8bec6;color:#111315;box-shadow:0 7px 24px rgba(184,190,198,.13)}
.btn-primary:hover{background:linear-gradient(135deg,#e5e9ed,#b8bec6)}
.btn-outline:hover,.btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
.auth-switch{background:#0a0b0d;border-color:#34383d}.switch-btn.active{background:#2a2f35;color:#f0f2f4;box-shadow:inset 0 0 0 1px rgba(184,190,198,.2)}
.form-stack input,.form-stack select,.form-stack textarea,.filter-label input,.filter-label select{background:rgba(7,8,10,.8);border-color:#3a3e43;border-radius:10px}
.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus,.filter-label input:focus,.filter-label select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(184,190,198,.1)}
.auth-foot{border-color:#303338}.copyright{color:#898b8e}
.app-page{background:radial-gradient(ellipse at 70% -10%,rgba(184,190,198,.07),transparent 35%),#0a0b0d}
.topbar{background:rgba(10,11,13,.94);border-bottom-color:#2c2e31;backdrop-filter:blur(16px)}
.sidebar{background:rgba(12,13,15,.6);border-color:#292c30}.nav-item.active{background:rgba(184,190,198,.1);border-color:rgba(184,190,198,.24);color:var(--accent)}
.feature-hero,.panel-card,.slot-card,.stat-card,.modal-card{background:linear-gradient(145deg,rgba(26,28,31,.97),rgba(15,16,18,.98));border-color:#34363a;box-shadow:0 16px 45px rgba(0,0,0,.16)}
.feature-hero{border-color:rgba(184,190,198,.2)}
.placeholder-image{background:linear-gradient(0deg,rgba(5,6,7,.65),rgba(5,6,7,.05)),url('./gym-background.svg') center/cover no-repeat}
.gallery-placeholder{background:linear-gradient(0deg,rgba(5,6,7,.65),rgba(5,6,7,.08)),url('./gym-background.svg') center/cover no-repeat;border:1px solid #393a3b}
.date-chip,.week-chip{background:#151619;border-color:#393a3d}.online-dot{background:var(--accent);box-shadow:0 0 0 4px rgba(184,190,198,.1)}
.nav-item,.btn,.panel-card,.slot-card,.stat-card,.modal-card{transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.panel-card:hover,.stat-card:hover{border-color:rgba(184,190,198,.24)}
.table-wrap th{color:#b8bec6}
@media(max-width:760px){.auth-page{background-position:center;background-attachment:scroll}.auth-page:before{position:absolute}.auth-content{background:linear-gradient(180deg,rgba(8,9,10,.82),rgba(8,9,10,.96));}.mobile-brand{margin-bottom:38px}.auth-card{padding:26px 21px;background:rgba(15,17,19,.88);border:1px solid rgba(184,190,198,.2);border-radius:18px;box-shadow:0 20px 55px rgba(0,0,0,.3)}.auth-foot{padding-top:18px}.copyright{padding-left:4px}}


/* GGGYM v4 — acciaio, grafite e notifiche */
:root{--bg:#0b0d10;--panel:#121519;--panel-2:#1a1e23;--line:#333940;--text:#f2f4f6;--muted:#a4abb3;--accent:#b8bec6;--accent-2:#d6dbe0;--radius:16px;--shadow:0 28px 90px rgba(0,0,0,.48)}
.brand-mark{background:linear-gradient(135deg,#d9dde2,#858d97);color:#111317;box-shadow:0 0 26px rgba(184,190,198,.12)}
.btn-primary,.slot-btn.book{background:linear-gradient(135deg,#d8dde2,#9ea6af);border-color:#b8bec6;color:#111418;box-shadow:0 7px 24px rgba(184,190,198,.08)}
.btn-primary:hover,.slot-btn.book:hover{background:linear-gradient(135deg,#edf0f3,#b8bec6)}
.auth-page,.app-page{background:radial-gradient(ellipse at 50% -15%,rgba(184,190,198,.08),transparent 38%),#0b0d10}
.auth-visual{filter:none;border-color:rgba(184,190,198,.15)}
.auth-shell,.feature-hero{border-color:rgba(184,190,198,.18)}
.eyebrow,.brand-accent,.table-wrap th,.sheet-link{color:#c4cad1}
.auth-visual:after{background-image:linear-gradient(135deg,transparent 0 49.6%,rgba(184,190,198,.18) 50%,transparent 50.4%),linear-gradient(45deg,transparent 0 49.7%,rgba(255,255,255,.1) 50%,transparent 50.3%)}
.nav-item.active{background:rgba(184,190,198,.09);border-color:rgba(184,190,198,.2);color:#d7dce1}
.nav-item .notification-count{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-width:22px;width:auto;padding:2px 6px;border-radius:99px;background:#b8bec6;color:#121519;font-size:.66rem;line-height:1.4;font-weight:800;text-align:center}
.notification-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.notification-list{display:grid;gap:11px}
.notification-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:start;gap:14px;padding:17px 19px;border:1px solid #30363d;background:#14181d;border-radius:13px}
.notification-item.is-unread{border-left:3px solid #b8bec6;background:linear-gradient(90deg,rgba(184,190,198,.07),#14181d 42%)}
.notification-item.is-read{opacity:.8}
.notification-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#272d34;border:1px solid #3b424a;color:#d6dbe0;font-size:1.2rem;font-weight:700}
.notification-copy{min-width:0}.notification-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;justify-content:space-between}.notification-title-row strong{font-size:.88rem;color:#eef0f2}.notification-title-row time{font-size:.68rem;color:#858e97}.notification-copy p{margin:8px 0 0;color:#b9c0c7;font-size:.81rem;line-height:1.6}.notification-actions{display:flex;align-items:center;justify-content:flex-end}.notification-read-label{color:#818a93;font-size:.7rem;white-space:nowrap}
.certification-admin-card{margin-top:20px}.certification-upload-form{max-width:620px;margin-bottom:22px}.certification-list{display:grid;gap:10px;margin-top:14px}.certification-item{display:flex;align-items:center;gap:12px;padding:13px 15px;border:1px solid #30373e;border-radius:11px;background:#171b20;min-width:0}.certification-file-icon{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:8px;background:#2a3037;color:#d8dde3;font-size:.68rem;font-weight:800}.certification-info{flex:1;min-width:0;display:grid;gap:5px}.certification-info strong{font-size:.82rem;overflow-wrap:anywhere}.certification-info span{font-size:.68rem;color:#89929c}.certification-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.certification-link{font-size:.76rem;font-weight:700;color:#d0d5db;text-decoration:underline;text-underline-offset:3px}.trainer-certifications-card{margin-top:42px;background:linear-gradient(145deg,#15191e,#111418)}.trainer-certifications-card .section-heading{margin-bottom:12px}
.attendance-select{min-width:125px;background:#191e23;border:1px solid #3a4149;border-radius:8px;color:#dfe3e7;padding:8px 9px;font-size:.72rem}.attendance-select:disabled{opacity:.56}.presence-count{font-weight:800;color:#d6dbe0;white-space:nowrap}
@media(max-width:760px){.notification-toolbar{align-items:stretch;flex-direction:column}.notification-toolbar .btn{width:100%}.notification-item{grid-template-columns:34px minmax(0,1fr);padding:14px;gap:10px}.notification-icon{width:32px;height:32px}.notification-actions{grid-column:2;justify-content:flex-start}.certification-item{align-items:flex-start;flex-wrap:wrap}.certification-info{min-width:calc(100% - 55px)}.certification-actions{width:100%;padding-left:48px}.certification-admin-card{margin-top:14px}}


/* GGGYM dumbbell logo */
.brand-dumbbell{display:block;width:76px;height:38px;object-fit:contain;flex:0 0 auto;}
.topbar .brand-dumbbell{width:58px;height:30px;}
.mobile-brand .brand-dumbbell{width:76px;height:38px;}
@media(max-width:760px){.topbar .brand-dumbbell{width:43px;height:24px;}.mobile-brand .brand-dumbbell{width:76px;height:38px;}}
