/* RoadFunk Control Center v0.1.9 — independent of the active WordPress theme */
body.roadfunk-admin-page{margin:0!important;background:#f5f6f8!important;color:#151a23!important;font-family:Poppins,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:14px!important}
.roadfunk-admin-page *{box-sizing:border-box}
.roadfunk-admin-page a{color:inherit;text-decoration:none}
.roadfunk-admin-page input,.roadfunk-admin-page textarea,.roadfunk-admin-page button{font-family:inherit;font-size:inherit}
.roadfunk-admin-page .rf-cp-app{min-height:100vh;display:grid;grid-template-columns:258px minmax(0,1fr);max-width:none;margin:0}
.rf-cp-sidebar{background:#131820;color:#d7dce2;position:sticky;top:0;align-self:start;height:100vh;padding:26px 16px;display:flex;flex-direction:column;z-index:2}
.rf-cp-brand{padding:10px 12px 30px;border-bottom:1px solid #313843;margin-bottom:20px}.rf-cp-brand-logo{font-size:26px;font-style:italic;font-weight:900;letter-spacing:-1.7px;color:#fff}.rf-cp-brand-logo b{color:#eb8827}.rf-cp-brand small{display:block;font-size:9px;color:#8b9aa9;font-weight:700;letter-spacing:2px;margin-top:1px}
.rf-cp-sidebar nav{display:grid;gap:4px}.rf-cp-sidebar nav a{display:flex;gap:12px;align-items:center;color:#bbc5d0;padding:13px 15px;border-radius:9px;font-size:13px;font-weight:600;white-space:nowrap}.rf-cp-sidebar nav a:hover{background:#252d38;color:#fff}.rf-cp-sidebar nav a.is-current{background:#eb8827;color:white}.rf-cp-sidebar nav .dashicons{font-size:18px;width:20px;height:20px}
.rf-cp-side-bottom{margin-top:auto;display:grid;gap:15px;border-top:1px solid #313843;padding:22px 14px 0}.rf-cp-side-bottom a{color:#bdc6d0;font-size:12px}.rf-cp-side-bottom a:hover{color:white}
.rf-cp-main{min-width:0}.rf-cp-top{display:flex;align-items:center;justify-content:space-between;padding:29px clamp(25px,4vw,65px);background:#fff;border-bottom:1px solid #e3e5e9;gap:12px}.rf-cp-top small{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#e98829}.rf-cp-top h1{font-size:28px!important;line-height:1.25!important;letter-spacing:-.6px!important;margin:4px 0 0!important;font-weight:800!important;color:#151a23!important}.rf-cp-user{font-size:13px;font-weight:700;color:#232a34;text-align:right}.rf-cp-user span{display:block;color:#98a2ad;font-weight:400;font-size:11px}
.rf-cp-content{max-width:1360px;margin:0 auto;padding:32px clamp(20px,4vw,65px) 70px}.rf-cp-intro{max-width:900px;font-size:15px;line-height:1.7;color:#667280;margin:0 0 27px}.rf-cp-notice{margin-bottom:25px;border:1px solid #aad8b8;background:#eff9f1;border-radius:10px;padding:14px 18px;color:#1c7a42;font-weight:700}
.rf-cp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.rf-cp-stats>div{padding:25px;background:white;border:1px solid #e7eaf0;box-shadow:0 5px 18px rgba(23,32,45,.025);border-radius:14px}.rf-cp-stats small{display:block;color:#788391;font-size:12px;font-weight:600}.rf-cp-stats strong{display:block;font-size:29px;font-weight:800;color:#141b26;margin:5px 0}.rf-cp-stats span{font-size:11px;color:#9aa3ae}
.rf-cp-tiles{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.rf-cp-panel{background:#fff;border:1px solid #e6e9ee;border-radius:16px;padding:30px;margin-bottom:24px;box-shadow:0 8px 30px rgba(12,24,38,.025)}.rf-cp-panel h2{font-size:21px!important;font-weight:800!important;margin:0 0 9px!important;color:#17202b!important}.rf-cp-panel h3{font-size:15px;font-weight:750;margin:27px 0 12px;color:#1e2734}.rf-cp-panel>p{font-size:13px;line-height:1.65;color:#687585;max-width:900px;margin:0 0 22px}.rf-cp-tiles .rf-cp-panel{margin:0}
.rf-cp-check{border-bottom:1px solid #edf0f3;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#677382;font-size:13px}.rf-cp-check strong{color:#1e2834}.rf-cp-check .rf-ok{color:#21824d}.rf-cp-check .rf-alert{color:#b67825}.rf-cp-link{display:inline-block;margin-top:18px;color:#d77b1d!important;font-weight:700}
.rf-cp-quick{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.rf-cp-primary,.rf-cp-secondary{border-radius:9px!important;padding:12px 18px!important;font-size:13px!important;font-weight:700!important;display:inline-flex!important;align-items:center;justify-content:center;text-decoration:none!important;cursor:pointer;min-height:43px}.rf-cp-primary{background:#e98927!important;border:1px solid #e98927!important;color:white!important}.rf-cp-primary:hover{background:#cf741b!important}.rf-cp-secondary{border:1px solid #dae0e7!important;background:#fff!important;color:#25303e!important}.rf-cp-secondary:hover{border-color:#e98927!important;color:#d77b1d!important}
.rf-cp-product-head{display:flex;align-items:center;gap:17px;border-bottom:1px solid #edf0f3;padding-bottom:22px;margin-bottom:23px;min-width:0}.rf-cp-product-head>img{width:94px;height:94px;object-fit:contain;background:#f5f7f9;border:1px solid #e9edf1;border-radius:11px;flex:none}.rf-cp-product-head>div{min-width:0;flex:1}.rf-cp-product-head h2{margin:4px 0!important}.rf-cp-product-head p{font-size:11px;color:#808a98;overflow-wrap:anywhere;margin:0}.rf-cp-state{font-size:10px;display:inline-flex;border-radius:18px;padding:3px 8px;font-weight:750;letter-spacing:.5px}.rf-cp-live{color:#18764b;background:#ebf9f1}.rf-cp-draft{color:#987024;background:#fff5dd}
.rf-cp-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.rf-cp-field{margin:18px 0}.rf-cp-field>label{display:block;font-size:12px;color:#303d4b;font-weight:700;margin:0 0 8px}.rf-cp-field>small{display:block;font-size:11px;color:#929ca7;margin-top:-3px;margin-bottom:8px}.rf-cp-field input:not([type=checkbox]),.rf-cp-field textarea{width:100%;display:block;border:1px solid #dce1e7!important;border-radius:9px!important;min-height:44px!important;padding:11px 13px!important;color:#25303d!important;background:#fff!important;box-shadow:none!important;line-height:1.5!important}.rf-cp-field input:focus,.rf-cp-field textarea:focus{outline:2px solid #f1b26e!important;outline-offset:1px}.rf-cp-field textarea{min-height:110px!important;resize:vertical}.rf-cp-field .rf-cp-input-row{display:flex;gap:7px}.rf-cp-field .rf-cp-media{min-width:115px;border:1px solid #e7a766!important;border-radius:8px!important;padding:8px 11px!important;background:#fff8ed!important;color:#bb6818!important;cursor:pointer;font-size:11px!important;font-weight:700!important}.rf-cp-checkbox label{display:flex;gap:12px;align-items:flex-start;font-size:13px;font-weight:700;cursor:pointer;padding:10px 0;margin:0}.rf-cp-checkbox input[type=checkbox]{accent-color:#e88927;width:19px;height:19px;margin:0;flex:none}.rf-cp-checkbox label small{display:block;font-size:11px;color:#929ba6;font-weight:400;margin-top:4px}
.rf-cp-form-actions{border-top:1px solid #edf0f3;padding-top:22px;margin-top:25px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.rf-cp-form-actions span{font-size:11px;color:#8792a0}
.rf-cp-expand{border:1px solid #e7eaef;border-radius:10px;margin-top:15px}.rf-cp-expand>summary{padding:16px 18px;font-weight:700;cursor:pointer}.rf-cp-expand-body{padding:10px 22px 20px;border-top:1px solid #edf0f3}.rf-cp-payment-status{padding:16px;border-radius:10px;background:#fff8ed;color:#945b22;font-size:13px;margin:16px 0}.rf-cp-status-dot{display:inline-block;width:9px;height:9px;background:#26a269;border-radius:50%}.rf-cp-button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.rf-cp-small{font-size:11px!important;color:#8b96a3!important;margin-top:20px!important}.rf-cp-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.roadfunk-admin-page .roadfunk-access{margin:12vh auto;max-width:440px;background:#fff;box-shadow:0 10px 60px #0001;padding:40px;border-radius:20px}.roadfunk-access h2{font-size:25px}.roadfunk-access a{background:#e88927;color:white!important;display:inline-block;padding:12px 18px;border-radius:8px;font-weight:700}
@media(max-width:980px){.roadfunk-admin-page .rf-cp-app{grid-template-columns:205px minmax(0,1fr)}.rf-cp-sidebar{padding:20px 10px}.rf-cp-sidebar nav a{font-size:11px;padding:12px 10px;gap:8px}.rf-cp-top{padding:25px}.rf-cp-content{padding:25px}.rf-cp-tiles{grid-template-columns:1fr}.rf-cp-stats{gap:10px}}
@media(max-width:700px){.roadfunk-admin-page .rf-cp-app{display:block}.rf-cp-sidebar{position:relative;height:auto;padding:11px 14px}.rf-cp-brand{padding:4px 4px 12px;margin-bottom:12px}.rf-cp-brand-logo{font-size:22px}.rf-cp-brand small{font-size:8px}.rf-cp-sidebar nav{display:flex;gap:5px;overflow-x:auto;scrollbar-width:thin;padding-bottom:5px}.rf-cp-sidebar nav a{flex:none;min-height:40px;padding:9px 12px}.rf-cp-sidebar nav .dashicons{display:none}.rf-cp-side-bottom{display:none}.rf-cp-top{padding:21px 17px}.rf-cp-top h1{font-size:23px!important}.rf-cp-content{padding:19px 14px 50px}.rf-cp-panel{padding:21px 16px;border-radius:13px}.rf-cp-stats{grid-template-columns:1fr 1fr}.rf-cp-stats>div{padding:17px}.rf-cp-stats>div:last-child{grid-column:1/-1}.rf-cp-stats strong{font-size:21px}.rf-cp-fields-grid,.rf-cp-payment-grid{grid-template-columns:1fr}.rf-cp-product-head{flex-wrap:wrap}.rf-cp-product-head .rf-cp-secondary{margin-left:0}.rf-cp-product-head>img{width:76px;height:76px}.rf-cp-field .rf-cp-input-row{flex-wrap:wrap}.rf-cp-field .rf-cp-media{min-height:35px}.rf-cp-top .rf-cp-user{display:none}}

/* RoadFunk v0.2.0: standalone login and reserved management route. */
body.roadfunk-admin-page{min-height:100vh;margin:0!important}
.rf-login-shell{min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px;background:radial-gradient(ellipse at 14% 12%,rgba(235,136,39,.13),transparent 36%),linear-gradient(130deg,#f7f8fa,#eef1f5)}
.rf-login-card{width:min(100%,480px);padding:clamp(25px,5vw,45px);border:1px solid #e6e9ee;border-radius:22px;box-shadow:0 24px 90px rgba(13,23,35,.08);background:white}
.rf-login-logo{font-size:27px;font-weight:800;letter-spacing:-1.4px;color:#17202d}.rf-login-logo span{color:#e98927}
.rf-login-eyebrow{font-size:10px;letter-spacing:2px;color:#e98927;font-weight:800;margin:6px 0 35px}
.rf-login-card h1{font-size:28px!important;line-height:1.2!important;font-weight:750!important;margin:0 0 10px!important;color:#161e29!important;letter-spacing:-.9px}
.rf-login-card>p{font-size:13px;line-height:1.75;color:#687585;margin:0 0 25px}
.rf-login-card #roadfunk-secure-login{margin:0;padding:0}
.rf-login-card #roadfunk-secure-login p{margin:0 0 17px}
.rf-login-card #roadfunk-secure-login label{font-size:12px;font-weight:700;color:#293748;display:block;margin-bottom:7px}
.rf-login-card #roadfunk-secure-login input.input{display:block;width:100%;border:1px solid #dce2e8;border-radius:9px;min-height:46px;padding:12px;font-size:15px;color:#192432;outline:none}
.rf-login-card #roadfunk-secure-login input.input:focus{border-color:#e98927;box-shadow:0 0 0 3px #e9892730}
.rf-login-card #roadfunk-secure-login .login-remember label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:500}
.rf-login-card #roadfunk-secure-login #wp-submit{width:100%;min-height:48px;color:white;background:#e98927;border:1px solid #e98927;border-radius:10px;font-size:14px;font-weight:750;cursor:pointer}
.rf-login-card #roadfunk-secure-login #wp-submit:hover{background:#c97520}
.rf-login-links{display:flex;gap:14px;justify-content:space-between;margin-top:25px;border-top:1px solid #e8eaf0;padding-top:18px;flex-wrap:wrap}
.rf-login-links a{color:#b66917!important;font-size:12px;font-weight:650!important}
@media(max-width:600px){.rf-login-shell{padding:17px}.rf-login-card{padding:28px 23px}.rf-login-card h1{font-size:25px!important}}

/* 0.2.1 — independent three-product editor */
.rf-product-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
.rf-product-switcher a{display:flex;min-width:0;gap:12px;align-items:center;border:1px solid #e4e8ee;background:#fff;border-radius:13px;padding:11px 12px;box-shadow:0 3px 14px #0c183009;transition:box-shadow .15s,border-color .15s,background .15s}
.rf-product-switcher a:hover{border-color:#f1af69;box-shadow:0 6px 22px #0c183012}
.rf-product-switcher a.is-active{border:2px solid #e98927;background:#fffaf4;padding:10px 11px}
.rf-product-switcher img{height:62px;width:62px;object-fit:contain;border-radius:10px;background:#f3f4f6;flex:0 0 auto}
.rf-product-switcher span{min-width:0}.rf-product-switcher strong{display:block;font-size:13px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.rf-product-switcher small{display:block;margin-top:4px;color:#798593;font-size:11px}
.rf-product-top-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fffaf3;border:1px solid #f2d3ab;border-radius:12px;padding:14px 17px;margin-bottom:17px;font-size:12px;color:#785f42}
.rf-product-top-actions button{white-space:nowrap}
.rf-product-editor-block{padding:12px 0 24px}.rf-product-editor-block>h3{margin:0 0 16px!important;font-size:17px!important}
.rf-product-editor .rf-product-group{margin:13px 0;border-color:#e6e8ed;background:#fff}
.rf-product-editor .rf-product-group>summary{font-size:15px;padding:18px 22px;list-style:revert;color:#1a2733}
.rf-product-editor .rf-product-group>summary:hover{background:#fff8ef}
.rf-product-editor .rf-cp-expand-body{padding:20px 22px 25px}
.rf-product-editor .rf-cp-expand-body>h4{font-size:14px;color:#152130;margin:22px 0 10px}
.rf-product-video-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,330px);gap:25px;align-items:start;padding:20px 0;border-top:1px solid #ebedf0}
.rf-product-video-editor:first-of-type{border-top:0}
.rf-product-video-fields{min-width:0}
.rf-product-video-preview{border:1px solid #e3e7eb;border-radius:12px;padding:13px;background:#f5f7f9;min-width:0;position:sticky;top:18px}
.rf-product-video-viewport{width:100%;aspect-ratio:440 / 490;background:#1d2633;overflow:hidden;border-radius:8px;display:flex;align-items:stretch;justify-content:center}
.rf-product-video-viewport video{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;transform-origin:50% 50%;transform:scale(1.15)}
.rf-product-video-preview small{display:block;color:#697785;font-size:11px;margin-top:11px}
@media(max-width:1080px){.rf-product-switcher{grid-template-columns:1fr}.rf-product-video-editor{grid-template-columns:1fr}.rf-product-video-preview{position:static;max-width:370px;margin:auto;width:100%}}
@media(max-width:700px){.rf-product-switcher{grid-template-columns:1fr}.rf-product-switcher img{height:52px;width:52px}.rf-product-top-actions{flex-wrap:wrap}.rf-product-top-actions button{width:100%}.rf-product-editor .rf-cp-expand-body{padding:15px}.rf-product-video-editor{padding:12px 0}}
.rf-product-editor .rf-pick-gallery{margin-top:9px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e7a766;border-radius:8px;padding:9px 13px;background:#fff8ed;color:#bb6818;font-size:12px;font-weight:700;cursor:pointer}
/* Branded checkout setup module */
.rf-checkout-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.rf-checkout-eyebrow{font-size:11px;letter-spacing:.1em;color:#dd7b1d;font-weight:800}
.rf-checkout-state{padding:8px 11px;border-radius:25px;font-size:11px;white-space:nowrap;letter-spacing:.025em}
.rf-checkout-on{background:#e1f6ea;color:#117742}.rf-checkout-off{background:#fff0df;color:#995718}
.rf-checkout-action{margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:14px}
.rf-checkout-action p{font-size:12px;color:#667080;flex:1 1 250px;margin:0}
.rf-checkout-action button[disabled]{opacity:.5;cursor:not-allowed}
.rf-checkout-setup .rf-cp-check{border-bottom:1px solid #edf0f3}
@media(max-width:540px){.rf-checkout-section-head{flex-direction:column}.rf-checkout-action{flex-direction:column;align-items:stretch}}

/* Unified uploaded brand across RoadFunk Control Center */
.rf-login-logo:has(.rf-global-brand-image),.rf-cp-brand-logo:has(.rf-global-brand-image){display:inline-flex;align-items:center;justify-content:flex-start}
.rf-login-logo .rf-global-brand-image{display:block;max-width:225px;max-height:55px;width:auto;height:auto;object-fit:contain}
.rf-cp-brand-logo:has(.rf-global-brand-image){padding:7px 9px;border-radius:9px;background:#fff}
.rf-cp-brand-logo .rf-global-brand-image{display:block;max-width:175px;max-height:48px;width:auto;height:auto;object-fit:contain}

/* 0.2.5 — RoadBucks artwork upload and live centered preview */
.rf-cp-rewards-preview{margin-top:14px;display:grid;gap:9px}.rf-cp-rewards-preview-frame{display:grid;place-items:center;width:100%;min-height:184px;max-height:270px;border:1px solid #f1d8bd;border-radius:16px;background:linear-gradient(135deg,#fff5ed,#ffe2c8);padding:12px;overflow:hidden}.rf-cp-rewards-preview-frame img{display:block;width:auto;max-width:100%;height:auto;max-height:235px;object-fit:contain;object-position:center}.rf-cp-rewards-preview-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.rf-cp-rewards-preview-actions span{font-size:11px;color:#748090}.rf-cp-rewards-preview-actions .rf-rewards-reset{min-height:34px!important;padding:7px 11px!important;font-size:11px!important}

/* v0.2.7 adjustable hero controls. */
.rf-cp-range-row{display:flex;align-items:center;gap:15px;width:100%}
.rf-cp-range-row input[type=range]{flex:1;accent-color:#e88725;min-width:90px}
.rf-cp-range-row output{font-weight:750;color:#bb6317;min-width:42px;text-align:right}
.rf-cp-hero-preview{width:100%;min-height:140px;display:flex;align-items:end;justify-content:start;background-position:center;background-size:cover;border-radius:15px;overflow:hidden;margin:22px 0 8px}
.rf-cp-hero-preview span{color:white;padding:14px 18px;font-size:13px;font-weight:700;text-shadow:0 2px 6px #000c}
