Spaces:
Sleeping
Sleeping
| /* ============================================================ | |
| AssetQR Enterprise β Premium UI v3.0 | |
| Design: Dark Navy Sidebar Β· Glassmorphism Cards Β· Animated KPIs | |
| Font: Inter + Source Sans 3 | |
| ============================================================ */ | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Source+Sans+3:wght@400;600;700&display=swap'); | |
| /* ββ CSS Variables βββββββββββββββββββββββββββββββββββββββββββ */ | |
| :root { | |
| /* Brand */ | |
| --navy: #0B0B10; | |
| --navy-mid: #14141D; | |
| --navy-light: #1F1F2B; | |
| --blue: #1D4ED8; | |
| --blue-hover: #2563EB; | |
| --accent: #3B82F6; | |
| --gold: #C9A227; | |
| --gold-light: #E9C766; | |
| /* Backgrounds */ | |
| --bg: #FAFAF7; | |
| --bg2: #F1F0EA; | |
| --card: #FFFFFF; | |
| --glass: rgba(255,255,255,0.72); | |
| /* Text */ | |
| --text: #0F172A; | |
| --text-mid: #334155; | |
| --muted: #64748B; | |
| --muted2: #94A3B8; | |
| /* Semantic */ | |
| --ok: #059669; | |
| --ok-bg: #ECFDF5; | |
| --warn: #D97706; | |
| --warn-bg: #FFFBEB; | |
| --bad: #DC2626; | |
| --bad-bg: #FEF2F2; | |
| --info: #2563EB; | |
| --info-bg: #EFF6FF; | |
| /* UI */ | |
| --border: #DCD9D0; | |
| --border-light:#EAE8E0; | |
| --radius: 12px; | |
| --radius-lg: 18px; | |
| --radius-sm: 8px; | |
| --shadow-sm: 0 1px 3px rgba(0,0,0,.08); | |
| --shadow: 0 4px 16px rgba(11,30,53,.10); | |
| --shadow-lg: 0 12px 40px rgba(11,30,53,.14); | |
| --sidebar-w: 260px; | |
| --topbar-h: 60px; | |
| --transition: all .2s cubic-bezier(.4,0,.2,1); | |
| } | |
| /* ββ Reset βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| *, *::before, *::after { box-sizing:border-box; margin:0; padding:0; } | |
| html { scroll-behavior:smooth; font-size:14px; } | |
| body { | |
| font-family:'Inter','Segoe UI',system-ui,sans-serif; | |
| background:var(--bg); | |
| color:var(--text); | |
| line-height:1.6; | |
| overflow-x:hidden; | |
| -webkit-font-smoothing:antialiased; | |
| } | |
| /* ββ Sidebar βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .sidebar { | |
| position:fixed; inset:0 auto 0 0; | |
| width:var(--sidebar-w); | |
| background:linear-gradient(175deg, var(--navy) 0%, var(--navy-mid) 60%, #0D2240 100%); | |
| display:flex; flex-direction:column; | |
| overflow-y:auto; overflow-x:hidden; | |
| z-index:200; | |
| border-right:1px solid rgba(255,255,255,.06); | |
| box-shadow:4px 0 24px rgba(0,0,0,.18); | |
| } | |
| /* Scrollbar inside sidebar */ | |
| .sidebar::-webkit-scrollbar { width:4px; } | |
| .sidebar::-webkit-scrollbar-thumb { background:rgba(255,255,255,.15); border-radius:4px; } | |
| .sidebar-brand { | |
| display:flex; flex-direction:column; align-items:center; gap:0; | |
| padding:20px 16px 16px; | |
| border-bottom:1px solid rgba(212,175,55,.15); | |
| flex-shrink:0; | |
| } | |
| .sidebar-brand .logo-wrap { | |
| width:160px; height:auto; | |
| background:transparent; | |
| border-radius:0; padding:0; flex-shrink:0; | |
| display:flex; align-items:center; justify-content:center; | |
| border:none; | |
| transition: filter 0.3s ease, transform 0.3s ease; | |
| } | |
| .sidebar-brand .logo-wrap:hover { | |
| filter: drop-shadow(0 0 10px rgba(212,175,55,.70)) drop-shadow(0 0 22px rgba(212,175,55,.35)); | |
| transform: scale(1.03); | |
| } | |
| .sidebar-brand img { | |
| width:160px; height:auto; | |
| max-height:72px; | |
| object-fit:contain; | |
| border-radius:0; | |
| display:block; | |
| } | |
| .sidebar-brand .brand-text { display:none; } | |
| /* hide old text labels since logo already has the name */ | |
| /* Nav sections */ | |
| .nav-section { padding:10px 12px 4px; } | |
| .nav-label { | |
| color:#4A7A9B; font-size:9.5px; font-weight:700; | |
| text-transform:uppercase; letter-spacing:.12em; | |
| padding:10px 8px 5px; display:block; | |
| } | |
| .nav-item { | |
| display:flex; align-items:center; gap:10px; | |
| padding:9.5px 12px; border-radius:9px; | |
| color:#9EC4E0; text-decoration:none; | |
| font-size:13.5px; font-weight:500; | |
| margin-bottom:1px; | |
| transition:var(--transition); | |
| position:relative; | |
| } | |
| .nav-item:hover { background:rgba(255,255,255,.07); color:#fff; } | |
| .nav-item.active { | |
| background:linear-gradient(90deg, rgba(59,130,246,.25), rgba(59,130,246,.08)); | |
| color:#fff; font-weight:600; | |
| border-left:3px solid var(--accent); | |
| padding-left:9px; | |
| } | |
| .nav-item .ni { font-size:15px; width:18px; text-align:center; flex-shrink:0; } | |
| .nav-item .badge-pill { | |
| margin-left:auto; font-size:9px; font-weight:700; padding:2px 7px; | |
| border-radius:99px; background:rgba(59,130,246,.25); color:#93C5FD; | |
| } | |
| .nav-item.danger { color:#FDA4AF; } | |
| .nav-item.danger:hover { background:rgba(220,38,38,.12); color:#FCA5A5; } | |
| /* Sidebar footer */ | |
| .sidebar-footer { | |
| margin-top:auto; padding:14px; | |
| border-top:1px solid rgba(255,255,255,.07); | |
| flex-shrink:0; | |
| } | |
| .sub-pill { | |
| background:rgba(255,255,255,.06); border-radius:8px; | |
| padding:10px 12px; display:flex; align-items:center; gap:8px; | |
| } | |
| .sub-pill .sp-icon { font-size:18px; } | |
| .sub-pill .sp-text { flex:1; } | |
| .sub-pill .sp-label { font-size:10px; color:#5A9ABF; font-weight:600; text-transform:uppercase; } | |
| .sub-pill .sp-val { font-size:12px; color:#CBD5E1; font-weight:600; } | |
| .sub-pill .sp-badge { | |
| font-size:9px; font-weight:700; padding:2px 8px; border-radius:99px; | |
| } | |
| .sp-badge.trial { background:#C89B3C22; color:#F6C85F; } | |
| .sp-badge.active { background:#05966922; color:#34D399; } | |
| .sp-badge.expired { background:#DC262622; color:#F87171; } | |
| /* ββ Main layout βββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .main-wrap { margin-left:var(--sidebar-w); min-height:100vh; } | |
| /* ββ Top Bar βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .topbar { | |
| height:var(--topbar-h); | |
| background:rgba(255,255,255,.90); | |
| backdrop-filter:blur(12px); | |
| border-bottom:1px solid var(--border-light); | |
| display:flex; align-items:center; justify-content:space-between; | |
| padding:0 24px; | |
| position:sticky; top:0; z-index:100; | |
| box-shadow:var(--shadow-sm); | |
| } | |
| .topbar-left { display:flex; align-items:center; gap:12px; } | |
| .breadcrumb-trail { color:var(--muted); font-size:13px; } | |
| .breadcrumb-trail b { color:var(--text-mid); } | |
| .topbar-right { display:flex; align-items:center; gap:14px; } | |
| /* Trial warning bar */ | |
| .trial-warning { | |
| background:linear-gradient(90deg, #92400E, #B45309); | |
| color:#FDE68A; padding:9px 24px; | |
| display:flex; align-items:center; justify-content:center; gap:10px; | |
| font-size:12.5px; font-weight:600; | |
| } | |
| .trial-warning a { color:#FEF3C7; text-decoration:underline; } | |
| /* User chip */ | |
| .user-chip { display:flex; align-items:center; gap:9px; cursor:default; } | |
| .user-avatar { | |
| width:36px; height:36px; border-radius:50%; | |
| background:linear-gradient(135deg, var(--blue), var(--accent)); | |
| color:#fff; font-weight:800; font-size:14px; | |
| display:flex; align-items:center; justify-content:center; | |
| flex-shrink:0; box-shadow:0 2px 8px rgba(37,99,235,.35); | |
| } | |
| .user-info .ui-name { font-size:13px; font-weight:700; color:var(--text); display:block; } | |
| .user-info .ui-role { | |
| font-size:10.5px; color:var(--muted); display:block; | |
| text-transform:capitalize; | |
| } | |
| /* ββ Page content ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .page-content { padding:24px; } | |
| /* ββ Alerts / Flash ββββββββββββββββββββββββββββββββββββββββββ */ | |
| .flash-wrap { margin-bottom:18px; } | |
| .flash { | |
| display:flex; align-items:center; gap:10px; | |
| padding:12px 16px; border-radius:var(--radius-sm); | |
| margin-bottom:8px; font-size:13.5px; font-weight:500; | |
| animation:slideIn .3s ease; | |
| border:1px solid transparent; | |
| } | |
| .flash.success { background:var(--ok-bg); color:#065F46; border-color:#A7F3D0; } | |
| .flash.error { background:var(--bad-bg); color:#991B1B; border-color:#FCA5A5; } | |
| .flash.info { background:var(--info-bg); color:#1E40AF; border-color:#BFDBFE; } | |
| .flash.warning { background:var(--warn-bg); color:#92400E; border-color:#FDE68A; } | |
| @keyframes slideIn { | |
| from { opacity:0; transform:translateY(-8px); } | |
| to { opacity:1; transform:translateY(0); } | |
| } | |
| /* ββ Page header row βββββββββββββββββββββββββββββββββββββββββ */ | |
| .ph-row { | |
| display:flex; align-items:center; justify-content:space-between; | |
| flex-wrap:wrap; gap:12px; margin-bottom:22px; | |
| } | |
| .ph-title { | |
| font-size:22px; font-weight:800; color:var(--navy); letter-spacing:-.5px; | |
| } | |
| .ph-sub { font-size:13px; color:var(--muted); margin-top:2px; } | |
| .ph-actions { display:flex; align-items:center; gap:10px; flex-wrap:wrap; } | |
| /* ββ KPI cards βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .kpi-grid { | |
| display:grid; gap:16px; | |
| grid-template-columns:repeat(4,1fr); | |
| margin-bottom:22px; | |
| } | |
| .kpi-card { | |
| background:var(--card); | |
| border:1px solid var(--border-light); | |
| border-radius:var(--radius-lg); | |
| padding:22px 20px; | |
| box-shadow:var(--shadow-sm); | |
| position:relative; overflow:hidden; | |
| transition:var(--transition); | |
| } | |
| .kpi-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); } | |
| .kpi-card::before { | |
| content:''; position:absolute; inset:0 0 auto 0; height:3px; | |
| border-radius:var(--radius-lg) var(--radius-lg) 0 0; | |
| } | |
| .kpi-card.kpi-blue::before { background:linear-gradient(90deg,var(--blue),var(--accent)); } | |
| .kpi-card.kpi-green::before { background:linear-gradient(90deg,#059669,#34D399); } | |
| .kpi-card.kpi-gold::before { background:linear-gradient(90deg,var(--gold),var(--gold-light)); } | |
| .kpi-card.kpi-red::before { background:linear-gradient(90deg,var(--bad),#F87171); } | |
| .kpi-card.kpi-purple::before{ background:linear-gradient(90deg,#7C3AED,#A78BFA); } | |
| .kpi-icon { | |
| width:44px; height:44px; border-radius:11px; | |
| display:flex; align-items:center; justify-content:center; | |
| font-size:20px; margin-bottom:14px; | |
| } | |
| .kpi-blue .kpi-icon { background:#EFF6FF; } | |
| .kpi-green .kpi-icon { background:#ECFDF5; } | |
| .kpi-gold .kpi-icon { background:#FFFBEB; } | |
| .kpi-red .kpi-icon { background:#FEF2F2; } | |
| .kpi-purple .kpi-icon{ background:#F5F3FF; } | |
| .kpi-num { | |
| font-size:34px; font-weight:900; line-height:1; color:var(--navy); | |
| letter-spacing:-1px; font-variant-numeric:tabular-nums; | |
| } | |
| .kpi-blue .kpi-num { color:var(--blue); } | |
| .kpi-green .kpi-num { color:#059669; } | |
| .kpi-gold .kpi-num { color:var(--gold); } | |
| .kpi-red .kpi-num { color:var(--bad); } | |
| .kpi-purple .kpi-num { color:#7C3AED; } | |
| .kpi-label { | |
| font-size:11px; font-weight:700; color:var(--muted); | |
| text-transform:uppercase; letter-spacing:.07em; margin-top:6px; | |
| } | |
| /* ββ Generic card ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .card { | |
| background:var(--card); | |
| border:1px solid var(--border-light); | |
| border-radius:var(--radius-lg); | |
| padding:22px; | |
| box-shadow:var(--shadow-sm); | |
| } | |
| .card-header { | |
| display:flex; align-items:center; justify-content:space-between; | |
| margin-bottom:16px; flex-wrap:wrap; gap:8px; | |
| } | |
| .card-title { | |
| font-size:15px; font-weight:700; color:var(--navy); | |
| display:flex; align-items:center; gap:8px; | |
| } | |
| /* ββ Grid helpers ββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .grid { display:grid; gap:18px; } | |
| .g2 { grid-template-columns:repeat(2,1fr); } | |
| .g3 { grid-template-columns:repeat(3,1fr); } | |
| .g4 { grid-template-columns:repeat(4,1fr); } | |
| .mb16 { margin-bottom:16px; } | |
| .mb22 { margin-bottom:22px; } | |
| .mt16 { margin-top:16px; } | |
| /* ββ Buttons βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .btn { | |
| display:inline-flex; align-items:center; gap:6px; | |
| padding:9px 18px; border-radius:var(--radius-sm); | |
| font-size:13.5px; font-weight:600; | |
| border:none; cursor:pointer; text-decoration:none; | |
| transition:var(--transition); white-space:nowrap; | |
| font-family:inherit; | |
| } | |
| .btn-primary { | |
| background:linear-gradient(135deg,var(--blue),var(--blue-hover)); | |
| color:#fff; box-shadow:0 2px 10px rgba(21,96,189,.30); | |
| } | |
| .btn-primary:hover { opacity:.88; transform:translateY(-1px); box-shadow:0 4px 16px rgba(21,96,189,.40); } | |
| .btn-success { | |
| background:linear-gradient(135deg,#059669,#10B981); | |
| color:#fff; box-shadow:0 2px 10px rgba(5,150,105,.25); | |
| } | |
| .btn-success:hover { opacity:.88; } | |
| .btn-gold { | |
| background:linear-gradient(135deg,var(--gold),var(--gold-light)); | |
| color:#fff; box-shadow:0 2px 10px rgba(200,155,60,.30); | |
| } | |
| .btn-gold:hover { opacity:.88; } | |
| .btn-danger { | |
| background:linear-gradient(135deg,#DC2626,#EF4444); | |
| color:#fff; box-shadow:0 2px 8px rgba(220,38,38,.25); | |
| } | |
| .btn-danger:hover { opacity:.88; } | |
| .btn-outline { | |
| background:transparent; color:var(--blue); | |
| border:1.5px solid var(--blue); | |
| } | |
| .btn-outline:hover { background:var(--blue); color:#fff; } | |
| .btn-outline-muted { | |
| background:transparent; color:var(--muted); | |
| border:1.5px solid var(--border); | |
| } | |
| .btn-outline-muted:hover { background:var(--bg); color:var(--text); } | |
| .btn-sm { padding:6px 12px; font-size:12px; border-radius:6px; } | |
| .btn-lg { padding:12px 24px; font-size:15px; border-radius:10px; } | |
| .btn-icon { width:36px; height:36px; padding:0; justify-content:center; border-radius:8px; } | |
| /* ββ Forms βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .form-grid { | |
| display:grid; grid-template-columns:repeat(3,1fr); gap:16px; | |
| } | |
| .form-grid .col-full { grid-column:1/-1; } | |
| .form-grid .col-2 { grid-column:span 2; } | |
| .field { display:flex; flex-direction:column; gap:6px; } | |
| .field-label { | |
| font-size:11.5px; font-weight:700; color:var(--text-mid); | |
| text-transform:uppercase; letter-spacing:.06em; | |
| } | |
| .field-required::after { content:' *'; color:var(--bad); } | |
| input[type=text], input[type=email], input[type=password], | |
| input[type=number], input[type=date], input[type=search], | |
| input:not([type]), select, textarea { | |
| width:100%; padding:10px 13px; | |
| border:1.5px solid var(--border); | |
| border-radius:var(--radius-sm); | |
| background:#fff; color:var(--text); | |
| font:inherit; font-size:13.5px; | |
| transition:var(--transition); | |
| appearance:none; -webkit-appearance:none; | |
| } | |
| input:focus, select:focus, textarea:focus { | |
| outline:none; | |
| border-color:var(--accent); | |
| box-shadow:0 0 0 3px rgba(59,130,246,.12); | |
| } | |
| textarea { min-height:90px; resize:vertical; } | |
| select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; } | |
| /* Search input */ | |
| .search-box { position:relative; } | |
| .search-box input { padding-left:36px; } | |
| .search-box::before { | |
| content:'π'; position:absolute; left:12px; top:50%; | |
| transform:translateY(-50%); font-size:13px; | |
| } | |
| /* ββ Tables βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .table-card { | |
| background:var(--card); border:1px solid var(--border-light); | |
| border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); | |
| } | |
| .table-toolbar { | |
| padding:16px 20px; border-bottom:1px solid var(--border-light); | |
| display:flex; align-items:center; justify-content:space-between; | |
| flex-wrap:wrap; gap:10px; background:var(--card); | |
| } | |
| .table-toolbar .tt-title { font-size:14px; font-weight:700; color:var(--navy); } | |
| .table-toolbar .tt-count { | |
| font-size:11px; color:var(--muted); background:var(--bg); | |
| padding:3px 10px; border-radius:99px; border:1px solid var(--border); font-weight:600; | |
| } | |
| .tbl-wrap { overflow-x:auto; } | |
| table { width:100%; border-collapse:collapse; min-width:720px; } | |
| thead th { | |
| background:#F8FAFC; color:var(--muted); | |
| text-align:left; font-size:11px; font-weight:700; | |
| text-transform:uppercase; letter-spacing:.07em; | |
| padding:12px 16px; border-bottom:1px solid var(--border-light); | |
| white-space:nowrap; | |
| } | |
| tbody td { | |
| padding:13px 16px; border-bottom:1px solid var(--border-light); | |
| font-size:13.5px; vertical-align:middle; | |
| } | |
| tbody tr:last-child td { border-bottom:0; } | |
| tbody tr { transition:background .12s; } | |
| tbody tr:hover { background:#F8FAFC; } | |
| .td-bold { font-weight:700; color:var(--navy); font-family:'Source Sans 3',sans-serif; } | |
| .td-muted { color:var(--muted); font-size:12.5px; } | |
| /* ββ Badges βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .badge { | |
| display:inline-flex; align-items:center; gap:4px; | |
| padding:3px 10px; border-radius:99px; | |
| font-size:11px; font-weight:700; white-space:nowrap; | |
| } | |
| .badge-success { background:var(--ok-bg); color:#065F46; border:1px solid #A7F3D0; } | |
| .badge-danger { background:var(--bad-bg); color:#991B1B; border:1px solid #FCA5A5; } | |
| .badge-warning { background:var(--warn-bg); color:#92400E; border:1px solid #FDE68A; } | |
| .badge-info { background:var(--info-bg); color:#1E40AF; border:1px solid #BFDBFE; } | |
| .badge-muted { background:#F1F5F9; color:var(--muted); border:1px solid var(--border); } | |
| .badge-purple { background:#F5F3FF; color:#6D28D9; border:1px solid #DDD6FE; } | |
| .badge-gold { background:#FFFBEB; color:#92400E; border:1px solid #FDE68A; } | |
| /* ββ Scanner βββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .scanner-wrap { max-width:720px; margin:0 auto; } | |
| #reader { | |
| border-radius:var(--radius-lg); overflow:hidden; | |
| border:2px solid var(--border); background:#000; | |
| } | |
| .asset-info-grid { | |
| display:grid; grid-template-columns:repeat(2,1fr); gap:10px; | |
| } | |
| .ai-tile { | |
| background:var(--bg); border-radius:var(--radius-sm); | |
| padding:11px 14px; border:1px solid var(--border-light); | |
| } | |
| .ai-tile .ait-lbl { font-size:10.5px; font-weight:700; color:var(--muted); text-transform:uppercase; } | |
| .ai-tile .ait-val { font-size:14px; font-weight:700; color:var(--navy); margin-top:3px; } | |
| /* ββ QR result βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .qr-box { text-align:center; } | |
| .qr-img-wrap { | |
| display:inline-block; | |
| border:2px solid var(--border-light); border-radius:var(--radius-lg); | |
| padding:16px; background:#fff; margin:18px 0; | |
| box-shadow:var(--shadow); | |
| } | |
| .qr-img-wrap img { width:240px; display:block; } | |
| .qr-url { font-size:11.5px; color:var(--muted); word-break:break-all; } | |
| /* ββ Login / Auth pages βββββββββββββββββββββββββββββββββββββββ */ | |
| .auth-page { | |
| min-height:100vh; | |
| background:linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0D2645 100%); | |
| display:flex; align-items:center; justify-content:center; padding:20px; | |
| position:relative; overflow:hidden; | |
| } | |
| .auth-page::before { | |
| content:''; position:absolute; inset:0; | |
| background:radial-gradient(ellipse at 20% 80%, rgba(59,130,246,.15) 0%, transparent 50%), | |
| radial-gradient(ellipse at 80% 20%, rgba(200,155,60,.10) 0%, transparent 50%); | |
| } | |
| .auth-card { | |
| background:rgba(255,255,255,.96); | |
| backdrop-filter:blur(20px); | |
| border-radius:20px; padding:42px 38px; | |
| width:100%; max-width:440px; | |
| box-shadow:0 24px 80px rgba(0,0,0,.30); | |
| position:relative; z-index:1; | |
| } | |
| .auth-brand { text-align:center; margin-bottom:28px; } | |
| .auth-logo { | |
| width:220px; height:auto; | |
| max-height:100px; | |
| background:transparent; | |
| border-radius:0; padding:0; | |
| margin:0 auto 18px; display:block; | |
| object-fit:contain; | |
| filter: drop-shadow(0 4px 18px rgba(212,175,55,.45)); | |
| transition: filter 0.3s ease, transform 0.3s ease; | |
| } | |
| .auth-logo:hover { | |
| filter: drop-shadow(0 0 14px rgba(212,175,55,.75)) drop-shadow(0 0 28px rgba(212,175,55,.40)); | |
| transform: scale(1.02); | |
| } | |
| .auth-brand h1 { font-size:24px; font-weight:900; color:var(--navy); letter-spacing:-.5px; } | |
| .auth-brand p { color:var(--muted); font-size:13.5px; margin-top:4px; } | |
| .auth-field { margin-bottom:16px; } | |
| .auth-field label { font-size:11.5px; font-weight:700; color:var(--text-mid); text-transform:uppercase; letter-spacing:.06em; display:block; margin-bottom:6px; } | |
| .auth-field input { width:100%; } | |
| .auth-submit { | |
| width:100%; padding:13px; font-size:15px; font-weight:700; | |
| justify-content:center; margin-top:6px; | |
| background:linear-gradient(135deg,var(--navy),var(--blue)); | |
| border-radius:10px; color:#fff; border:none; | |
| cursor:pointer; font-family:inherit; | |
| box-shadow:0 4px 16px rgba(21,96,189,.35); | |
| transition:var(--transition); | |
| display:flex; align-items:center; gap:8px; | |
| } | |
| .auth-submit:hover { opacity:.88; transform:translateY(-1px); } | |
| .auth-footer { text-align:center; margin-top:20px; font-size:13px; color:var(--muted); } | |
| .auth-footer a { color:var(--blue); font-weight:600; text-decoration:none; } | |
| .auth-footer a:hover { text-decoration:underline; } | |
| .demo-box { | |
| background:var(--bg); border:1px solid var(--border-light); | |
| border-radius:var(--radius-sm); padding:12px 16px; | |
| margin-top:18px; font-size:12px; color:var(--muted); line-height:1.9; | |
| } | |
| .demo-box strong { color:var(--navy); } | |
| /* ββ Subscription / Plans βββββββββββββββββββββββββββββββββββββ */ | |
| .plan-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; } | |
| .plan-card { | |
| border:2px solid var(--border-light); | |
| border-radius:var(--radius-lg); padding:28px 24px; | |
| text-align:center; position:relative; transition:var(--transition); | |
| background:var(--card); | |
| } | |
| .plan-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); } | |
| .plan-card.featured { border-color:var(--blue); box-shadow:0 0 0 4px rgba(59,130,246,.08); } | |
| .plan-tag { | |
| position:absolute; top:-12px; left:50%; transform:translateX(-50%); | |
| background:linear-gradient(90deg,var(--blue),var(--accent)); | |
| color:#fff; font-size:10px; font-weight:700; letter-spacing:.08em; | |
| padding:4px 14px; border-radius:99px; text-transform:uppercase; | |
| } | |
| .plan-name { font-size:17px; font-weight:800; color:var(--navy); margin-bottom:8px; } | |
| .plan-price { font-size:40px; font-weight:900; color:var(--blue); line-height:1; } | |
| .plan-price sup { font-size:18px; vertical-align:top; margin-top:8px; } | |
| .plan-period { font-size:13px; color:var(--muted); margin-bottom:18px; } | |
| .plan-features { list-style:none; margin:16px 0 22px; text-align:left; } | |
| .plan-features li { | |
| padding:6px 0; border-bottom:1px solid var(--border-light); | |
| font-size:13px; color:var(--text-mid); display:flex; align-items:center; gap:8px; | |
| } | |
| .plan-features li::before { content:'β'; color:var(--ok); font-weight:700; } | |
| /* ββ Drop zone βββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .drop-zone { | |
| border:2px dashed var(--border); | |
| border-radius:var(--radius-lg); padding:48px 24px; | |
| text-align:center; background:var(--bg); | |
| transition:var(--transition); cursor:pointer; | |
| } | |
| .drop-zone:hover, .drop-zone.drag-over { | |
| border-color:var(--accent); background:#EFF6FF; | |
| } | |
| .dz-icon { font-size:48px; margin-bottom:12px; display:block; } | |
| .dz-text { font-size:15px; color:var(--muted); } | |
| .dz-text b { color:var(--blue); } | |
| .dz-hint { font-size:12px; color:var(--muted2); margin-top:6px; } | |
| /* ββ Stat summary row ββββββββββββββββββββββββββββββββββββββββββ */ | |
| .stat-row { | |
| display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); | |
| gap:12px; margin-bottom:18px; | |
| } | |
| .stat-mini { | |
| background:var(--card); border:1px solid var(--border-light); | |
| border-radius:var(--radius); padding:14px 16px; | |
| box-shadow:var(--shadow-sm); | |
| } | |
| .stat-mini .sm-num { font-size:26px; font-weight:900; color:var(--navy); } | |
| .stat-mini .sm-lbl { font-size:11px; color:var(--muted); font-weight:600; text-transform:uppercase; } | |
| /* ββ Utility classes βββββββββββββββββββββββββββββββββββββββββββ */ | |
| .flex { display:flex; align-items:center; } | |
| .gap-8 { gap:8px; } | |
| .gap-12 { gap:12px; } | |
| .gap-16 { gap:16px; } | |
| .wrap { flex-wrap:wrap; } | |
| .sb { justify-content:space-between; } | |
| .center { justify-content:center; text-align:center; } | |
| .hidden { display:none ; } | |
| .muted { color:var(--muted); } | |
| .small { font-size:12px; } | |
| .bold { font-weight:700; } | |
| .navy { color:var(--navy); } | |
| .text-ok { color:var(--ok); } | |
| .text-bad { color:var(--bad); } | |
| .divider { border:0; border-top:1px solid var(--border-light); margin:20px 0; } | |
| code { background:var(--bg); border:1px solid var(--border); border-radius:4px; padding:2px 7px; font-size:12px; } | |
| /* ββ Error pages βββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .error-page { text-align:center; padding:80px 24px; } | |
| .error-code { font-size:100px; font-weight:900; color:var(--border); line-height:1; } | |
| .error-title { font-size:28px; font-weight:800; color:var(--navy); margin:12px 0 8px; } | |
| .error-desc { color:var(--muted); font-size:15px; max-width:400px; margin:0 auto 24px; } | |
| /* ββ Animations ββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @keyframes countUp { | |
| from { opacity:0; transform:translateY(10px); } | |
| to { opacity:1; transform:translateY(0); } | |
| } | |
| .kpi-num { animation:countUp .5s ease both; } | |
| @keyframes fadeUp { | |
| from { opacity:0; transform:translateY(16px); } | |
| to { opacity:1; transform:translateY(0); } | |
| } | |
| .card, .kpi-card, .table-card { | |
| animation:fadeUp .4s ease both; | |
| } | |
| /* ββ Responsive ββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media (max-width:1100px) { | |
| .kpi-grid { grid-template-columns:repeat(2,1fr); } | |
| } | |
| @media (max-width:900px) { | |
| .sidebar { position:static; width:100%; } | |
| .main-wrap { margin-left:0; } | |
| .form-grid { grid-template-columns:1fr; } | |
| .plan-grid { grid-template-columns:1fr; } | |
| .g2,.g3,.g4 { grid-template-columns:1fr; } | |
| .page-content { padding:14px; } | |
| .kpi-grid { grid-template-columns:repeat(2,1fr); } | |
| } | |
| @media (max-width:540px) { | |
| .kpi-grid { grid-template-columns:1fr; } | |
| .auth-card { padding:28px 20px; } | |
| .ph-title { font-size:18px; } | |
| } | |
| /* ββ Print βββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| @media print { | |
| .sidebar, .topbar, .ph-actions, .btn, button { display:none ; } | |
| .main-wrap { margin:0; } | |
| .card, .table-card { box-shadow:none; border:1px solid #ccc; } | |
| } | |
| /* ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| AssetQR Enterprise β Extended Styles v3.1 | |
| Additional components for Subscription, Users, Reports, | |
| Complaints, Maintenance, Transfers, Organizations | |
| ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| /* ββ Mobile Sidebar Toggle βββββββββββββββββββββββββββββββββ */ | |
| .sidebar-toggle { | |
| display:none; background:none; border:none; | |
| font-size:22px; cursor:pointer; padding:4px; | |
| } | |
| @media (max-width:900px) { | |
| .sidebar-toggle { display:flex; align-items:center; } | |
| .sidebar { | |
| position:fixed; left:-260px; top:0; bottom:0; z-index:300; | |
| transition:left .3s cubic-bezier(.4,0,.2,1); | |
| width:var(--sidebar-w); | |
| } | |
| .sidebar.open { left:0; box-shadow:0 0 0 100vmax rgba(0,0,0,.4); } | |
| .main-wrap { margin-left:0; } | |
| .sidebar-brand .logo-wrap { width:130px; } | |
| .sidebar-brand img { width:130px; } | |
| .auth-logo { width:170px; } | |
| } | |
| @media (max-width:480px) { | |
| .sidebar-brand .logo-wrap { width:110px; } | |
| .sidebar-brand img { width:110px; } | |
| .auth-logo { width:150px; } | |
| } | |
| /* ββ Status pill for subscription βββββββββββββββββββββββββ */ | |
| .status-banner { | |
| display:flex; align-items:center; gap:18px; | |
| padding:18px 22px; border-radius:var(--radius-lg); | |
| background:var(--card); border:1.5px solid var(--border-light); | |
| box-shadow:var(--shadow-sm); margin-bottom:22px; | |
| } | |
| /* ββ Loading spinner βββββββββββββββββββββββββββββββββββββββ */ | |
| .spinner { | |
| width:32px; height:32px; border-radius:50%; | |
| border:3px solid var(--border-light); | |
| border-top-color:var(--accent); | |
| animation:spin .7s linear infinite; display:inline-block; | |
| } | |
| @keyframes spin { to { transform:rotate(360deg); } } | |
| /* ββ Overdue row highlight βββββββββββββββββββββββββββββββββ */ | |
| tr.overdue { background:var(--bad-bg) ; } | |
| tr.overdue:hover { background:#FECACA ; } | |
| /* ββ Toast notification ββββββββββββββββββββββββββββββββββββ */ | |
| .toast-container { | |
| position:fixed; bottom:24px; right:24px; z-index:9999; | |
| display:flex; flex-direction:column; gap:8px; | |
| } | |
| .toast { | |
| background:var(--navy); color:#fff; | |
| padding:12px 18px; border-radius:10px; | |
| font-size:13px; font-weight:600; | |
| box-shadow:var(--shadow-lg); | |
| animation:toastIn .3s ease; | |
| max-width:320px; | |
| } | |
| @keyframes toastIn { | |
| from { opacity:0; transform:translateY(12px); } | |
| to { opacity:1; transform:translateY(0); } | |
| } | |
| /* ββ Empty state βββββββββββββββββββββββββββββββββββββββββββ */ | |
| .empty-state { | |
| text-align:center; padding:64px 24px; color:var(--muted); | |
| } | |
| .empty-state .es-icon { font-size:56px; margin-bottom:16px; display:block; } | |
| .empty-state .es-title { font-size:18px; font-weight:700; color:var(--navy); margin-bottom:8px; } | |
| .empty-state .es-sub { font-size:13.5px; line-height:1.7; } | |
| /* ββ Info box ββββββββββββββββββββββββββββββββββββββββββββββ */ | |
| .info-box { | |
| background:var(--info-bg); border:1px solid #BFDBFE; | |
| border-radius:var(--radius); padding:14px 16px; | |
| font-size:13px; color:#1E40AF; line-height:1.7; | |
| } | |
| .warn-box { | |
| background:var(--warn-bg); border:1px solid #FDE68A; | |
| border-radius:var(--radius); padding:14px 16px; | |
| font-size:13px; color:#92400E; line-height:1.7; | |
| } | |
| /* ββ QR print layout βββββββββββββββββββββββββββββββββββββββ */ | |
| @media print { | |
| .qr-print-grid { | |
| display:grid ; | |
| grid-template-columns:repeat(3,1fr); | |
| gap:20px; page-break-inside:avoid; | |
| } | |
| .qr-print-cell { | |
| text-align:center; padding:12px; | |
| border:1px solid #ccc; border-radius:8px; | |
| page-break-inside:avoid; | |
| } | |
| .qr-print-cell img { width:160px; } | |
| .qr-print-cell .qr-id { | |
| font-weight:700; font-size:11px; margin-top:6px; | |
| font-family:monospace; | |
| } | |
| } | |
| /* ββ Razorpay checkout button ββββββββββββββββββββββββββββββ */ | |
| .rzp-btn { | |
| background:linear-gradient(135deg,#072654,#1560BD); | |
| color:#fff; border:none; border-radius:9px; | |
| padding:11px 20px; font-size:14px; font-weight:700; | |
| cursor:pointer; width:100%; font-family:inherit; | |
| display:flex; align-items:center; justify-content:center; gap:8px; | |
| transition:var(--transition); box-shadow:0 2px 12px rgba(7,38,84,.3); | |
| } | |
| .rzp-btn:hover { opacity:.88; transform:translateY(-1px); } | |
| .rzp-badge { | |
| background:#F8F9FA; border:1px solid #e0e0e0; | |
| border-radius:6px; padding:4px 10px; | |
| font-size:11px; color:#555; margin-top:8px; | |
| display:inline-flex; align-items:center; gap:5px; | |
| } | |
| /* ββ Timeline for audit log ββββββββββββββββββββββββββββββββ */ | |
| .audit-item { | |
| display:flex; gap:14px; padding:10px 0; | |
| border-bottom:1px solid var(--border-light); | |
| } | |
| .audit-dot { | |
| width:10px; height:10px; border-radius:50%; | |
| background:var(--accent); margin-top:6px; flex-shrink:0; | |
| } | |
| .audit-action { font-size:12px; font-weight:700; color:var(--navy); } | |
| .audit-detail { font-size:12px; color:var(--muted); margin-top:2px; } | |
| .audit-time { font-size:11px; color:var(--muted2); } | |
| /* ββ Responsive table improvements βββββββββββββββββββββββββ */ | |
| @media (max-width:768px) { | |
| .table-toolbar { flex-direction:column; align-items:flex-start; } | |
| .ph-row { flex-direction:column; align-items:flex-start; } | |
| .ph-actions { width:100%; } | |
| .ph-actions .btn { flex:1; justify-content:center; } | |
| .plan-grid { grid-template-columns:1fr; } | |
| .asset-info-grid { grid-template-columns:1fr; } | |
| .stat-row { grid-template-columns:repeat(2,1fr); } | |
| } | |
| @media (max-width:480px) { | |
| .stat-row { grid-template-columns:1fr; } | |
| .kpi-grid { grid-template-columns:1fr; } | |
| .form-grid { grid-template-columns:1fr; } | |
| } | |