*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;background:#f1f5f9;color:#1e293b;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button{font-family:inherit;cursor:pointer}a{text-decoration:none;color:inherit}.layout{display:flex;height:100vh;overflow:hidden}.main-content{flex:1;overflow-y:auto;background:#f1f5f9}.sidebar{width:220px;min-width:220px;background:#0f172a;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.06)}.sidebar-logo{display:flex;align-items:center;gap:10px;padding:20px 18px;border-bottom:1px solid rgba(255,255,255,.07)}.brand-mark{width:28px;height:28px;background:#3b82f6;border-radius:7px;flex-shrink:0}.sidebar-logo span{color:#f1f5f9;font-size:15px;font-weight:700;letter-spacing:-.2px}.sidebar-logo small{background:#3b82f640;color:#93c5fd;font-size:10px;font-weight:600;padding:2px 7px;border-radius:4px;letter-spacing:.3px;text-transform:uppercase}.sidebar-nav{flex:1;padding:12px 10px;display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:#94a3b8;font-size:13.5px;font-weight:500;transition:background .12s,color .12s}.nav-item:hover{background:#ffffff0f;color:#e2e8f0}.nav-item.active{background:#3b82f62e;color:#93c5fd}.nav-item svg{flex-shrink:0;opacity:.8}.sidebar-footer{padding:16px 18px;border-top:1px solid rgba(255,255,255,.07)}.sidebar-user{font-size:12px;color:#475569;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-logout{width:100%;background:transparent;border:1px solid rgba(255,255,255,.1);color:#64748b;padding:7px 12px;border-radius:7px;font-size:13px;transition:background .12s,color .12s}.btn-logout:hover{background:#ffffff0f;color:#94a3b8}.page{display:flex;flex-direction:column;min-height:100%}.page-header{padding:28px 28px 0;display:flex;align-items:flex-end;justify-content:space-between}.page-title{font-size:22px;font-weight:700;color:#0f172a;letter-spacing:-.3px}.page-subtitle{font-size:13px;color:#64748b;margin-top:3px}.metrics-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:20px 28px}.metric-card{background:#fff;border-radius:12px;padding:18px 20px;border:1px solid #e2e8f0}.metric-label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}.metric-value{font-size:30px;font-weight:700;color:#0f172a;margin-top:6px;letter-spacing:-.5px}.metric-sub{font-size:12px;color:#94a3b8;margin-top:3px}.controls{padding:0 28px 16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filter-chips{display:flex;gap:6px;flex-wrap:wrap}.chip{padding:6px 14px;border-radius:20px;font-size:13px;font-weight:500;border:1.5px solid #e2e8f0;background:#fff;color:#64748b;transition:all .12s}.chip:hover{border-color:#94a3b8;color:#334155}.chip.active{background:#0f172a;border-color:#0f172a;color:#fff}.search-input{margin-left:auto;padding:8px 14px;border:1.5px solid #e2e8f0;border-radius:9px;font-size:13.5px;outline:none;width:240px;background:#fff;transition:border-color .12s}.search-input:focus{border-color:#3b82f6}.table-wrap{padding:0 28px 32px}.table-container{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:900px}thead th{padding:11px 14px;text-align:left;font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}tbody td{padding:13px 14px;font-size:13.5px;color:#1e293b;border-bottom:1px solid #f1f5f9;vertical-align:middle}tbody tr:last-child td{border-bottom:none}tbody tr:hover{background:#f8fafc}.text-muted{color:#94a3b8}.text-dim{color:#64748b}.laundry-name{font-weight:600;color:#0f172a}.owner-name{font-size:12px;color:#94a3b8;margin-top:2px}.phone-row{display:flex;align-items:center;gap:6px}.badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:20px;font-size:12px;font-weight:600;white-space:nowrap}.badge-active{background:#dcfce7;color:#15803d}.badge-inactive{background:#fee2e2;color:#b91c1c}.badge-never{background:#f1f5f9;color:#94a3b8}.badge-paid{background:#dbeafe;color:#1d4ed8}.badge-free{background:#f1f5f9;color:#64748b}.badge-expiring{background:#fef3c7;color:#b45309}.badge-expired{background:#fee2e2;color:#b91c1c}.badge-success{background:#dcfce7;color:#15803d}.badge-pending{background:#fef3c7;color:#b45309}.btn-copy{background:transparent;border:1px solid #e2e8f0;color:#94a3b8;padding:3px 9px;border-radius:6px;font-size:11px;font-weight:500;transition:all .12s}.btn-copy:hover{border-color:#94a3b8;color:#475569}.btn-copy.copied{background:#dcfce7;border-color:#86efac;color:#15803d}.btn-view{background:#0f172a;color:#fff;border:none;padding:7px 14px;border-radius:7px;font-size:13px;font-weight:500;transition:background .12s}.btn-view:hover{background:#1e293b}.btn-primary{background:#3b82f6;color:#fff;border:none;padding:9px 18px;border-radius:8px;font-size:14px;font-weight:600;width:100%;transition:background .12s}.btn-primary:hover{background:#2563eb}.btn-primary:disabled{opacity:.6;cursor:not-allowed}.btn-back{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid #e2e8f0;color:#64748b;padding:7px 14px;border-radius:8px;font-size:13px;font-weight:500;transition:all .12s}.btn-back:hover{border-color:#94a3b8;color:#334155}.empty-state{padding:48px 24px;text-align:center;color:#94a3b8;font-size:14px}.loading-state{padding:80px 24px;text-align:center;color:#94a3b8;font-size:14px}.login-page{min-height:100vh;background:#f1f5f9;display:flex;align-items:center;justify-content:center}.login-card{background:#fff;border-radius:16px;padding:40px 36px;width:100%;max-width:380px;border:1px solid #e2e8f0;box-shadow:0 4px 24px #0000000f}.login-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.login-brand-mark{width:32px;height:32px;background:#0f172a;border-radius:8px;display:flex;align-items:center;justify-content:center}.login-brand-mark span{color:#fff;font-size:16px;font-weight:800}.login-brand-name{font-size:16px;font-weight:700;color:#0f172a}.login-brand-tag{font-size:11px;font-weight:600;background:#f1f5f9;color:#64748b;padding:2px 8px;border-radius:4px}.login-title{font-size:22px;font-weight:700;color:#0f172a;margin-bottom:4px}.login-subtitle{font-size:13px;color:#64748b;margin-bottom:24px}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}.field input{width:100%;padding:10px 13px;border:1.5px solid #e2e8f0;border-radius:8px;font-size:14px;outline:none;font-family:inherit;transition:border-color .12s;background:#fff}.field input:focus{border-color:#3b82f6}.error-msg{background:#fee2e2;color:#b91c1c;padding:10px 14px;border-radius:8px;font-size:13px;margin-bottom:14px}.detail-topbar{padding:20px 28px 0}.detail-header{background:#fff;border-bottom:1px solid #e2e8f0;padding:20px 28px 24px;margin-top:20px}.detail-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.detail-laundry-name{font-size:24px;font-weight:700;color:#0f172a}.detail-meta{display:flex;gap:24px;flex-wrap:wrap}.detail-meta-item{display:flex;align-items:center;gap:6px;font-size:13.5px;color:#64748b}.detail-meta-item strong{color:#334155;font-weight:600}.copy-btn-inline{background:transparent;border:1px solid #e2e8f0;color:#94a3b8;padding:2px 8px;border-radius:5px;font-size:11px;cursor:pointer;transition:all .12s}.copy-btn-inline:hover{border-color:#94a3b8;color:#475569}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:20px 28px}.stat-card{background:#fff;border-radius:12px;padding:18px 20px;border:1px solid #e2e8f0}.stat-label{font-size:11px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}.stat-value{font-size:26px;font-weight:700;color:#0f172a;margin-top:6px;letter-spacing:-.4px}.stat-sub{font-size:12px;color:#94a3b8;margin-top:3px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0 28px;margin-bottom:14px}.card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}.card-header{padding:16px 18px 12px;border-bottom:1px solid #f1f5f9}.card-title{font-size:13px;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.05em}.card-body{padding:16px 18px}.bar-chart{display:flex;align-items:flex-end;gap:3px;height:80px;padding-bottom:18px;position:relative}.bar-wrap{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative}.bar{width:100%;background:#3b82f6;border-radius:3px 3px 0 0;min-height:2px;transition:background .12s}.bar-wrap:hover .bar{background:#2563eb}.bar-label{position:absolute;bottom:0;font-size:9px;color:#94a3b8;white-space:nowrap}.bar-wrap:nth-child(3n+1) .bar-label{opacity:1}.bar-wrap:not(:nth-child(3n+1)) .bar-label{opacity:0}.chart-empty{display:flex;align-items:center;justify-content:center;height:80px;color:#94a3b8;font-size:13px}.section{padding:0 28px 32px}.section-title{font-size:13px;font-weight:700;color:#0f172a;text-transform:uppercase;letter-spacing:.05em;margin-bottom:12px}.status-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px}.status-pending{background:#f59e0b}.status-completed{background:#22c55e}.status-cancelled{background:#ef4444}
