@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{--red:#db0921;--red-dark:#aa071b;--black:#141417;--ink:#1a1a20;--grey:#71727c;--line:#e8e8ec;--bg:#f5f5f7;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--black)}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:48px;line-height:1.02;letter-spacing:-.4px;text-transform:uppercase}h2{font-family:'Barlow Condensed',sans-serif;font-size:25px}h3{font-size:16px;margin-bottom:18px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:3px;color:#ffffffad}.eyebrow.dark{color:var(--red)}.app{display:flex;min-height:100vh}.sidebar{width:252px;flex:0 0 252px;background:#161619;color:white;min-height:100vh;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;padding:31px 23px 36px}.brand-mark{background:var(--red);color:#fff;font-family:'Barlow Condensed',Impact,sans-serif;font-size:28px;font-weight:900;letter-spacing:-1px;display:flex;align-items:center;justify-content:center;width:48px;height:48px;clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%)}.brand strong{font:800 25px 'Barlow Condensed',sans-serif;letter-spacing:1px}.brand span{display:block;color:#aaa;font-size:9px;letter-spacing:1.4px;font-weight:800}.nav-caption{color:#777;font-size:10px;font-weight:800;letter-spacing:2px;padding:0 26px 17px}nav{padding:0 12px}.nav-link{display:flex;align-items:center;gap:13px;color:#b8b8bc;padding:14px 14px;margin-bottom:5px;font-size:13px;font-weight:700;border-radius:7px}.nav-link span{font-size:22px;line-height:1;width:25px;text-align:center}.nav-link:hover{background:#29292c;color:#fff}.nav-link.active{background:var(--red);color:#fff}.sidebar-footer{margin-top:auto;padding:24px;color:#c6c6c9;font-size:12px;line-height:1.9;border-top:1px solid #303034}.sidebar-footer small{color:#888}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#42d9a0;margin-right:9px}.main{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:81px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px}.top-desc{color:#999;font-size:11px;font-weight:800;letter-spacing:2px}.top-right{display:flex;gap:24px;align-items:center}.user-pill{font-size:12px;font-weight:800}.user-pill:first-letter{color:var(--red)}.user-pill small{display:block;margin-left:14px;color:#999;text-transform:uppercase;font-size:9px;letter-spacing:1px}.logout{font-size:12px;font-weight:800;color:var(--red)}.content{padding:33px 36px 50px;max-width:1700px;width:100%;margin:auto;flex:1}.footer{padding:20px 36px;border-top:1px solid var(--line);font-size:10px;font-weight:800;letter-spacing:1.5px;color:#888;display:flex;justify-content:space-between}.hero{background:linear-gradient(118deg,#ce081d 0%,#ed132e 69%,#b7041b 100%);padding:40px 48px;display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:310px;color:#fff;position:relative;overflow:hidden;border-radius:10px}.hero:after{content:'';height:470px;width:470px;border:1px solid #ffffff22;position:absolute;border-radius:50%;right:-160px;top:-95px;box-shadow:0 0 0 48px #ffffff07,0 0 0 99px #ffffff05}.hero h1{font-size:57px;margin:12px 0;color:white}.hero h1 em{font-style:normal;color:#1b0a0d}.hero p{max-width:450px;color:#ffe7ea;line-height:1.75;margin-bottom:25px}.hero-art{width:210px;height:210px;border:5px solid #ffffffab;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:rotate(-12deg);z-index:1}.hero-art span{font:900 115px 'Barlow Condensed';line-height:.9}.hero-art small{font:900 13px 'Barlow Condensed';letter-spacing:3px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:0;border-radius:5px;font-weight:800;padding:13px 19px;font-size:12px;letter-spacing:.4px;white-space:nowrap;transition:background .16s}.btn.primary{background:var(--red);color:#fff}.btn.primary:hover{background:var(--red-dark)}.btn.white{background:#fff;color:var(--red)}.btn.outline{background:white;color:var(--ink);border:1px solid #dadade}.btn.full{width:100%}.section-header,.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-header{margin:29px 0 18px}.section-header h2{margin:0}.section-header span{color:#999;font-size:12px}.page-head{margin:5px 0 26px}.page-head h1{margin:8px 0 6px}.page-head p{color:var(--grey);margin:0;line-height:1.6}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.kpi{background:#fff;border:1px solid var(--line);border-radius:9px;padding:23px 22px;min-width:0;border-top:3px solid var(--red)}.kpi label{display:block;color:#83838a;font-size:10px;font-weight:800;letter-spacing:1.1px;line-height:1.5}.kpi strong{display:block;font-family:'Barlow Condensed',Impact,sans-serif;font-size:31px;font-weight:800;margin:14px 0 6px;overflow-wrap:anywhere}.kpi i{font-style:normal;color:#c3c3c3}.kpi small{color:#999;font-size:11px}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:22px}.two-col.narrow{grid-template-columns:360px 1fr;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.panel.pad{padding:24px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 24px;border-bottom:1px solid var(--line)}.panel-head h3{margin:0}.panel-head a{font-size:12px;color:var(--red);font-weight:800}.panel-head span{font-size:12px;color:#888}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:16px 15px;border-bottom:1px solid #f0f0f2;vertical-align:middle;white-space:nowrap}th{font-size:10px;letter-spacing:.6px;color:#92929a;font-weight:800;background:#fafafb}td{font-size:12px}td b{font-weight:800}td small{display:block;color:#9a9aa0;margin-top:5px;font-size:10px}tr:last-child td{border-bottom:0}.pill{display:inline-flex;padding:5px 9px;border-radius:4px;background:#f0f0f3;color:#47474c;font-size:10px;font-weight:800}.pill.red{background:#fff0f1;color:var(--red)}.actions{display:flex;align-items:center;gap:6px}.actions form{margin:0}.mini{border:1px solid #e4e4e8;background:#fff;color:#444;padding:7px 10px;border-radius:4px;font-size:11px;font-weight:800}.mini.danger{color:var(--red);border-color:#ffdadf}.count{background:#f1f1f2;padding:4px 8px;border-radius:20px;font-size:11px}.search{min-width:230px;width:min(290px,100%)}input,select,textarea{padding:11px 12px;border-radius:5px;border:1px solid #dcdce2;background:#fff;color:#242429;max-width:100%;min-width:0;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--red);box-shadow:0 0 0 3px #e7102920}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:800;color:#4b4b51}label small{font-weight:400;color:#999}.form-grid{display:grid;gap:19px}.form-grid.cols2{grid-template-columns:1fr 1fr;gap:22px}.span2{grid-column:1/-1}.form-panel{max-width:830px}.form-grid .notice{background:#fff3f4;padding:14px;color:#a20a1c;border-left:3px solid var(--red);font-size:12px;line-height:1.6}.thumb{width:52px;height:52px;object-fit:cover;border-radius:6px}.no-photo{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#f1f1f1;color:#db0921;font:bold 18px 'Barlow Condensed'}.positive{color:#11855c;font-weight:700}.negative{color:var(--red);font-weight:700}.pos-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:18px;align-items:start}.add-product{display:grid;grid-template-columns:minmax(0,1fr) 80px auto;align-items:end;gap:10px;margin-bottom:15px}.add-product .btn{height:42px}.checkout .totals{background:#f7f7f9;border-radius:7px;padding:18px;margin-top:4px}.totals>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:13px;color:#666;font-size:12px}.totals>div:last-child{margin:0}.totals .total-big{border-top:1px dashed #ddd;padding-top:15px;align-items:center;color:var(--ink)}.total-big strong{color:var(--red);font:800 31px 'Barlow Condensed',sans-serif}.qty-input{width:65px;padding:8px}.receipt{max-width:760px;margin:auto}.receipt-heading{text-align:center}.receipt-heading .brand-mark{margin:0 auto 15px}.receipt-heading h2{font-size:35px;margin:0}.receipt-heading p{font-size:11px;letter-spacing:1.2px;color:#777}.receipt-meta{padding:18px 0;margin:18px 0;border-top:1px dashed #ccc;border-bottom:1px dashed #ccc;line-height:2}.receipt-totals{text-align:right;line-height:1.3}.receipt-totals p{margin-bottom:9px}.receipt-totals h3{font-size:24px;color:var(--red);margin:18px 0}.thanks{text-align:center;margin:30px 0 5px;font-size:10px;letter-spacing:1px}.report-filter{display:flex;gap:15px;align-items:end;flex-wrap:wrap}.report-filter>*{min-width:170px}.report-filter button{min-width:110px}.report-range{margin:25px 0 14px;display:flex;justify-content:space-between;align-items:center}.report-range b{font-size:12px;letter-spacing:1px}.report-range span{color:#777;font-size:12px}.space-top{margin-top:20px}.report-note{color:#888;font-size:11px;line-height:1.7;margin-top:20px}.alert{border-radius:6px;padding:13px 17px;margin:0 0 20px;font-size:12px;font-weight:700}.alert.good{background:#e4faef;color:#128350}.alert.bad{background:#fff0f1;color:#a50b24}.mobile-nav,.mobile-brand{display:none}[hidden]{display:none!important}
/* Login */.login-body{background:#111}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.12fr 1fr}.login-brand{background:radial-gradient(ellipse at 85% 15%,#fe2237 0%,#d20623 54%,#9f001a 100%);padding:65px 9%;color:white;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-brand:after{content:'PS';position:absolute;right:-40px;bottom:-100px;font:900 450px 'Barlow Condensed';color:#ffffff13;transform:rotate(-12deg)}.crest{width:86px;height:94px;border:3px solid white;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);display:flex;align-items:center;justify-content:center;font:900 53px 'Barlow Condensed';margin-bottom:48px}.login-brand h1{color:#fff;font-size:clamp(70px,9vw,148px);line-height:.77;letter-spacing:-2px;margin:25px 0 35px}.login-brand h1 em{color:#1a1013;font-style:normal}.login-brand p{max-width:370px;line-height:1.85;color:#ffeaed;font-size:14px}.brand-bottom{margin-top:80px;font-size:11px;font-weight:800;letter-spacing:2px}.login-panel{background:#f8f8f9;display:flex;align-items:center;justify-content:center;padding:40px}.auth{width:min(420px,100%)}.auth-icon{background:#19191c;color:white;width:49px;height:49px;display:flex;align-items:center;justify-content:center;font-size:25px;border-radius:6px;margin-bottom:24px}.auth h2{font-size:40px;margin-bottom:8px}.auth>p{color:#86868b;margin-bottom:28px;line-height:1.7}.auth form{display:grid;gap:20px}.auth form label input{padding:15px}.auth form .btn{padding:17px}.auth>small{display:block;color:#a1a1a6;margin-top:30px;text-align:center}
@media(max-width:1160px){.sidebar{width:210px;flex-basis:210px}.content{padding:27px 23px}.topbar{padding:0 23px}.kpi-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.pos-layout{grid-template-columns:1fr}.hero h1{font-size:48px}}@media(max-width:750px){.sidebar{display:none}.topbar{height:66px;padding:0 15px}.mobile-brand{display:block;font:900 21px 'Barlow Condensed';color:var(--red)}.mobile-brand b{color:#111}.top-desc{display:none}.top-right{gap:10px}.user-pill small{display:none}.mobile-nav{display:flex;overflow:auto;white-space:nowrap;background:#19191c;color:#fff;padding:12px;gap:17px}.mobile-nav a{font-size:12px;font-weight:800}.content{padding:18px 12px 35px}.hero{padding:28px 23px;min-height:270px}.hero-art{display:none}.hero h1{font-size:45px}.page-head{align-items:flex-start}.page-head h1{font-size:40px}.kpi-grid{gap:9px}.kpi{padding:16px 13px}.kpi strong{font-size:25px}.panel.pad{padding:16px}.panel-head{padding:15px;flex-wrap:wrap}.two-col.narrow{grid-template-columns:1fr}.form-grid.cols2{grid-template-columns:1fr}.span2{grid-column:auto}.add-product{grid-template-columns:1fr 80px}.add-product .btn{grid-column:1/-1}.footer{padding:18px 12px}.footer span{display:none}.login-wrap{grid-template-columns:1fr}.login-brand{min-height:320px;padding:40px 25px}.login-brand .crest{width:55px;height:60px;font-size:32px;margin-bottom:18px}.login-brand h1{font-size:70px;margin:14px 0 12px}.login-brand p{margin:0}.brand-bottom{display:none}.login-panel{padding:35px 22px}.receipt{overflow-x:auto}}
@media print{body{background:#fff!important;color:#000}.sidebar,.topbar,.mobile-nav,.footer,.no-print,.btn,.alert{display:none!important}.main,.content{display:block;width:100%;padding:0;margin:0;max-width:none}.panel{border:0;box-shadow:none}.receipt{max-width:none;padding:0!important}.report-range,.kpi-grid{break-inside:avoid}.kpi{border:1px solid #ddd}.page-head{margin:0}.page-head h1{font-size:30px}td,th{padding:8px;font-size:10px}table{white-space:normal}.panel{break-inside:auto}.report-note{color:#444}}

/* Persiraja Store: official logo integration and approved login design. */
.login-brand {justify-content:center; padding:clamp(35px,5vw,70px) clamp(35px,5vw,85px);}
.login-main-logo {display:block;width:clamp(135px,16vw,205px);height:auto;object-fit:contain;margin:0 0 22px;position:relative;z-index:1;filter:drop-shadow(0 7px 15px rgba(100,0,10,.13));}
.login-brand .eyebrow {position:relative;z-index:1;letter-spacing:4px;}
.login-brand h1 {position:relative;z-index:1;margin:28px 0 35px;font-size:clamp(70px,8.5vw,145px);line-height:.79;}
.login-brand p {position:relative;z-index:1;max-width:500px;font-size:clamp(13px,1.1vw,16px);}
.login-brand .brand-bottom {position:relative;z-index:1;margin-top:clamp(40px,7vw,100px);}
.login-panel {background:#f9f9fb;}
.auth {width:min(470px,100%);}
.login-form-logo {display:block;width:clamp(95px,9vw,130px);height:auto;object-fit:contain;margin:0 0 25px;}
.auth h2 {font-size:clamp(38px,3vw,48px);text-transform:none;}
.auth form .btn {padding:19px;border-radius:6px;font-size:13px;}
.auth form label input {border-radius:7px;padding:17px;}
.sidebar-logo {width:50px;height:55px;object-fit:contain;flex-shrink:0;}
.mobile-brand {align-items:center;gap:7px;}
.mobile-brand img {height:31px;width:29px;object-fit:contain;vertical-align:middle;}
@media(max-width:750px){
 .login-brand {padding:28px 25px 35px;min-height:0;}
 .login-main-logo {width:105px;margin-bottom:15px;}
 .login-brand h1 {font-size:clamp(54px,12vw,80px);margin:16px 0;}
 .login-brand p {font-size:13px;line-height:1.6;}
 .login-panel {padding:42px 25px 55px;}
 .login-form-logo {width:105px;margin-bottom:20px;}
 .mobile-brand {display:flex;}
}


/* Persiraja Store — identitas oranye-merah, 06 Nov 2026.
   Perubahan hanya presentasi; akses pengguna, transaksi, dan database tidak berubah. */
:root {
 --red:#ff4b08;
 --red-dark:#d92108;
 --black:#171315;
 --ink:#25191a;
 --bg:#faf7f6;
 --line:#f0e6e1;
}
body.persiraja-orange { background:var(--bg); }
body.persiraja-orange.login-body {background:#fff9f6;}
.persiraja-orange .login-brand {
 background:linear-gradient(128deg,#d41225 0%,#ed2416 41%,#ff4b08 76%,#ff6518 100%);
}
.persiraja-orange .login-brand::after {color:rgba(255,255,255,.09);}
.persiraja-orange .login-main-logo {
 width:clamp(135px,14vw,205px);
 height:auto; object-fit:contain; mix-blend-mode:normal;
 filter:drop-shadow(0 12px 18px rgba(90,19,9,.14));
}
.persiraja-orange .login-brand h1 em { color:#201113; }
.persiraja-orange .login-brand p {color:#fff5ed;}
.persiraja-orange .login-panel {background:#fffaf7;}
.persiraja-orange .login-form-logo { width:clamp(92px,9vw,132px);height:auto; }
.persiraja-orange .auth form input:focus,
.persiraja-orange .form-grid input:focus,
.persiraja-orange .form-grid select:focus,
.persiraja-orange .form-grid textarea:focus {
 border-color:#ff4b08;
 box-shadow:0 0 0 3px rgba(255,75,8,.17);
}
.persiraja-orange .btn.primary {background:linear-gradient(110deg,#e82a0c,#ff4b08);color:white;}
.persiraja-orange .btn.primary:hover {background:linear-gradient(110deg,#c9230b,#e84306);}
.persiraja-orange .btn.white {color:#e83c0a;}
.persiraja-orange .sidebar {background:#201719;}
.persiraja-orange .nav-link:hover {background:#3c2424;}
.persiraja-orange .nav-link.active {background:linear-gradient(110deg,#e32a12,#ff5411);color:white;}
.persiraja-orange .sidebar-logo {width:51px;height:55px;object-fit:contain;}
.persiraja-orange .brand strong {color:#fff;}
.persiraja-orange .brand span {color:#ffd6c3;}
.persiraja-orange .hero {background:linear-gradient(114deg,#cb1820 0%,#ef3010 51%,#ff5914 100%);}
.persiraja-orange .hero h1 em {color:#291014;}
.persiraja-orange .hero p {color:#fff4ed;}
.persiraja-orange .kpi {border-top-color:#ff4b08;}
.persiraja-orange .pill.red {background:#fff0e6;color:#d8330c;}
.persiraja-orange .form-grid .notice {background:#fff3eb;color:#bf360c;}
.persiraja-orange .alert.bad {background:#fff0e8;color:#b92c0e;}
.persiraja-orange .mini.danger {color:#c83317;border-color:#ffd6c4;}
.persiraja-orange .topbar {border-bottom-color:#f1e5e0;}
@media(max-width:750px){
 .persiraja-orange .login-main-logo {width:115px;}
 .persiraja-orange .login-form-logo {width:108px;}
}

/* Logo kiri login transparan: tanpa kotak putih */
.persiraja-orange .login-main-logo {filter:none;background:transparent;object-fit:contain;}
