:root { --bg: #0A0D14; --surface: #111520; --surface2: #161B2A; --surface3: #1C2336; --border: rgba(255,255,255,0.08); --border2: rgba(255,255,255,0.12); --accent: #6366F1; --accent2: #8B5CF6; --accent-glow: rgba(99,102,241,0.3); --accent-light: rgba(99,102,241,0.12); --accent-text: #A5B4FC; --green: #10B981; --green-bg: rgba(16,185,129,0.1); --red: #EF4444; --red-bg: rgba(239,68,68,0.1); --amber: #F59E0B; --amber-bg: rgba(245,158,11,0.1); --text-primary: #F1F5F9; --text-secondary: #94A3B8; --text-tertiary: #475569; --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 28px; --font: 'Sora', sans-serif; --mono: 'JetBrains Mono', monospace; --nav-h: 64px; --bottom-nav-h: 70px; } * { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; } html, body { background: var(--bg) !important; } body { font-family: var(--font); background: var(--bg); color: var(--text-primary); min-height: 100vh; overflow-x: hidden; } body::before { content: ''; position: fixed; inset: 0; background-image: radial-gradient(ellipse 80% 50% at 20% 10%, rgba(99,102,241,0.08) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 80%, rgba(139,92,246,0.06) 0%, transparent 60%); pointer-events: none; z-index: 0; } .app-shell { display: flex; flex-direction: column; min-height: 100vh; max-width: 480px; margin: 0 auto; position: relative; z-index: 1; } @media (min-width: 768px) { .app-shell { max-width: 100%; flex-direction: row; } } .topbar { position: sticky; top: 0; z-index: 50; background: rgba(10,13,20,0.88); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; } @media (min-width: 768px) { .topbar { display: none; } } .logo { display: flex; align-items: center; gap: 10px; cursor: pointer; } .logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 16px var(--accent-glow); } .logo-icon svg { width:16px; height:16px; fill: white; } .logo-text { font-size: 18px; font-weight: 800; letter-spacing: -0.5px; color: var(--text-primary); } .logo-text span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .balance-badge { background: var(--green-bg); border: 1px solid rgba(16,185,129,0.25); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--green); cursor: pointer; font-family: var(--mono); } .sidebar { display: none; } @media (min-width: 768px) { .sidebar { display: flex; flex-direction: column; width: 260px; min-height: 100vh; background: var(--surface); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; padding: 28px 14px; gap: 2px; flex-shrink: 0; } } .sidebar-logo { display: flex; align-items: center; gap: 10px; padding: 0 10px; margin-bottom: 32px; cursor: pointer; } .sidebar-logo .logo-icon { width:38px; height:38px; border-radius:12px; } .sidebar-logo .logo-icon svg { width:18px; height:18px; fill: white; } .sidebar-logo .logo-text { font-size: 20px; } .sidebar-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); padding: 0 12px; margin-bottom: 6px; margin-top: 10px; } .nav-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); font-size: 14px; font-weight: 500; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; border: none; background: none; width: 100%; } .nav-item:hover { background: var(--surface2); color: var(--text-primary); } .nav-item.active { background: var(--accent-light); color: var(--accent-text); font-weight: 600; } .nav-item .nav-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--surface2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .nav-item .nav-icon svg { width:15px; height:15px; } .nav-item.active .nav-icon { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; box-shadow: 0 4px 12px var(--accent-glow); } .sidebar-footer { margin-top: auto; padding: 14px; border-radius: var(--radius-lg); background: var(--surface2); border: 1px solid var(--border); cursor: pointer; } .sidebar-footer .sf-name { font-size: 13px; font-weight: 600; color: var(--text-primary); } .sidebar-footer .sf-sub { font-size: 11px; color: var(--text-secondary); margin-top: 2px; } .sf-balance { font-size: 11px; color: var(--green); font-family: var(--mono); margin-top: 6px; } .sf-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; margin-bottom: 10px; } .logout-btn { margin-top: 10px; width: 100%; padding: 7px; border-radius: 8px; border: 1px solid var(--border2); background: var(--surface3); color: var(--text-secondary); font-family: var(--font); font-size: 12px; font-weight: 500; cursor: pointer; } .logout-btn:hover { background: var(--red-bg); color: var(--red); border-color: rgba(239,68,68,0.3); } .main { flex: 1; overflow-y: auto; padding-bottom: calc(var(--bottom-nav-h) + 20px); } @media (min-width: 768px) { .main { padding-bottom: 40px; } } .page { display: none; animation: pageIn 0.22s ease; } .page.active { display: block; } @keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .page-header { padding: 28px 20px 16px; } @media (min-width: 768px) { .page-header { padding: 36px 32px 20px; } } .page-header h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.6px; color: var(--text-primary); margin-bottom: 4px; } .page-header p { font-size: 13px; color: var(--text-secondary); } .content-area { padding: 0 16px; } @media (min-width: 768px) { .content-area { padding: 0 32px; } } .card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); margin-bottom: 14px; overflow: hidden; } .card-head { padding: 16px 18px 0; display: flex; align-items: center; justify-content: space-between; } .card-title { font-size: 13px; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: 8px; } .card-title-icon { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; color: var(--accent-text); } .card-title-icon svg { width:13px; height:13px; } .card-body { padding: 14px 18px 18px; } .search-bar-wrap { padding: 0 18px 12px; } .search-bar { position: relative; display: flex; align-items: center; } .search-bar-icon { position: absolute; left: 13px; color: var(--text-tertiary); pointer-events: none; display: flex; } .search-bar input { width: 100%; height: 42px; padding: 0 38px 0 38px; background: var(--surface2); border: 1px solid var(--border); border-radius: 100px; font-family: var(--font); font-size: 13px; color: var(--text-primary); outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .search-bar input::placeholder { color: var(--text-tertiary); } .search-bar input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); background: var(--surface3); } .search-clear { position: absolute; right: 12px; background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; display: none; align-items: center; } .search-clear.visible { display: flex; } .search-result-count { font-size: 11px; color: var(--text-tertiary); margin-top: 8px; margin-left: 4px; display: none; } .search-result-count.visible { display: block; } .category-tabs { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .category-tabs::-webkit-scrollbar { display: none; } .category-tab { padding: 7px 15px; background: var(--surface2); border: 1px solid var(--border); border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--text-secondary); cursor: pointer; white-space: nowrap; transition: all 0.2s; } .category-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border-color: transparent; box-shadow: 0 4px 12px var(--accent-glow); } .service-list { max-height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; } .service-item { padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface2); border: 1.5px solid transparent; cursor: pointer; transition: all 0.18s; } .service-item:hover { background: var(--surface3); border-color: var(--border2); } .service-item.selected { background: rgba(99,102,241,0.08); border-color: var(--accent); } .svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; } .svc-name { font-size: 13px; font-weight: 600; color: var(--text-primary); flex: 1; } .svc-price { font-size: 13px; font-weight: 700; color: var(--green); font-family: var(--mono); } .svc-meta { display: flex; gap: 10px; font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); margin-top: 5px; } .svc-note { margin-top: 8px; padding: 5px 8px; background: var(--amber-bg); border-radius: 7px; font-size: 11px; color: var(--amber); display: none; } .service-item.selected .svc-note { display: block; } .field { margin-bottom: 14px; } .field label { display: block; font-size: 11px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; } .field input { width: 100%; height: 46px; padding: 0 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font); font-size: 14px; color: var(--text-primary); outline: none; } .field input:focus { border-color: var(--accent); background: var(--surface3); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); } .price-summary { display: flex; align-items: center; justify-content: space-between; background: var(--green-bg); border: 1px solid rgba(16,185,129,0.2); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: 16px; } .price-summary span:first-child { font-size: 13px; font-weight: 600; color: var(--text-secondary); } .ps-value { font-size: 22px; font-weight: 700; color: var(--green); font-family: var(--mono); } .turnstile-container { margin: 14px 0; display: flex; justify-content: center; } .btn-primary { width: 100%; height: 50px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border: none; border-radius: var(--radius-xl); font-family: var(--font); font-size: 15px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 20px var(--accent-glow); transition: all 0.2s; } .btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; } .btn-primary:disabled { background: var(--surface2); color: var(--text-tertiary); cursor: not-allowed; box-shadow: none; } .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; } .stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; } .stat-card-label { font-size: 11px; font-weight: 600; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; } .stat-card-value { font-size: 22px; font-weight: 800; color: var(--text-primary); font-family: var(--mono); } .stat-card-value.green { color: var(--green); } .topup-card { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08)); border: 1px solid rgba(99,102,241,0.25); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px; } .btn-wa { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: #25D366; color: white; border-radius: 100px; text-decoration: none; font-size: 13px; font-weight: 700; margin-top: 12px; } .order-item { padding: 14px 18px; border-bottom: 1px solid var(--border); transition: background 0.2s; } .order-item:hover { background: var(--surface2); } .order-item:last-child { border-bottom: none; } .order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .order-id { font-size: 12px; font-weight: 700; color: var(--accent-text); font-family: var(--mono); } .order-service { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; } .order-detail { font-size: 11px; color: var(--text-secondary); font-family: var(--mono); margin-top: 4px; } .order-target { font-size: 11px; color: var(--amber); font-family: var(--mono); margin-top: 4px; word-break: break-all; } .badge { padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; font-family: var(--mono); display: inline-block; } .badge-success { background: var(--green-bg); color: var(--green); border: 1px solid rgba(16,185,129,0.2); } .badge-warning { background: var(--amber-bg); color: var(--amber); border: 1px solid rgba(245,158,11,0.2); } .badge-pending { background: var(--surface2); color: var(--text-secondary); border: 1px solid var(--border); } .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: var(--bottom-nav-h); background: rgba(10,13,20,0.92); backdrop-filter: blur(20px); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-around; z-index: 50; } @media (min-width: 768px) { .bottom-nav { display: none; } } .bn-item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 16px; border-radius: var(--radius-md); cursor: pointer; background: none; border: none; flex: 1; } .bn-item svg { width: 21px; height: 21px; color: var(--text-tertiary); } .bn-item span { font-size: 10px; font-weight: 500; color: var(--text-tertiary); } .bn-item.active svg { color: var(--accent); filter: drop-shadow(0 0 6px var(--accent-glow)); } .bn-item.active span { color: var(--accent-text); font-weight: 700; } .toast { position: fixed; bottom: calc(var(--bottom-nav-h) + 16px); left: 50%; transform: translateX(-50%) translateY(16px); opacity: 0; background: var(--surface); color: var(--text-primary); border: 1px solid var(--border); padding: 10px 20px; border-radius: 100px; font-size: 13px; z-index: 200; transition: all 0.3s; pointer-events: none; white-space: nowrap; } .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; } .toast.success { background: rgba(16,185,129,0.2); border-color: rgba(16,185,129,0.4); color: var(--green); } .toast.error { background: rgba(239,68,68,0.2); border-color: rgba(239,68,68,0.4); color: var(--red); } .loading-state { display: flex; flex-direction: column; align-items: center; padding: 48px 20px; gap: 12px; color: var(--text-tertiary); } .spinner { width: 24px; height: 24px; border: 2.5px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } .empty-state { text-align: center; padding: 40px 20px; color: var(--text-tertiary); } .hero-banner { margin: 0 16px 14px; padding: 18px 20px; background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(139,92,246,0.1)); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: space-between; } .hero-badge { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; font-size: 10px; font-weight: 800; padding: 5px 10px; border-radius: 100px; } .auth-modal { position: fixed; inset: 0; background: var(--bg); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; } .auth-modal.show { opacity: 1; pointer-events: all; } .auth-card { background: var(--surface); border: 1px solid var(--border2); border-radius: 28px; padding: 40px 36px; max-width: 380px; width: 90%; text-align: center; } .auth-icon { width: 68px; height: 68px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 22px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 40px var(--accent-glow); } .btn-google { width: 100%; height: 50px; background: white; color: #1a1a1a; border: none; border-radius: 100px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; } .btn-guest { width: 100%; height: 44px; background: transparent; color: var(--text-secondary); border: 1px solid var(--border2); border-radius: 100px; font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; transition: all 0.2s; } .btn-guest:hover { background: var(--surface2); color: var(--text-primary); border-color: var(--border2); } .auth-tabs { display: flex; background: var(--surface2); border-radius: 100px; padding: 4px; margin-bottom: 20px; gap: 2px; } .auth-tab { flex: 1; padding: 8px; border-radius: 100px; border: none; background: transparent; color: var(--text-secondary); font-family: var(--font); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; } .auth-tab.active { background: var(--surface); color: var(--text-primary); box-shadow: 0 2px 8px rgba(0,0,0,0.3); } .auth-field { margin-bottom: 12px; text-align: left; } .auth-field label { display: block; font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; } .auth-field input { width: 100%; height: 46px; padding: 0 14px; background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-md); font-family: var(--font); font-size: 14px; color: var(--text-primary); outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .auth-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.15); background: var(--surface3); } .auth-field input::placeholder { color: var(--text-tertiary); } .btn-email-submit { width: 100%; height: 48px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border: none; border-radius: 100px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 4px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 4px 16px var(--accent-glow); transition: opacity 0.2s; } .btn-email-submit:disabled { opacity: 0.5; cursor: not-allowed; } /* Turnstile widget for registration */ .auth-turnstile { margin: 12px 0; display: flex; justify-content: center; } .auth-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--text-tertiary); font-size: 11px; font-weight: 600; } .auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); } .auth-switch-link { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 10px; } .auth-switch-link button { background: none; border: none; color: var(--accent-text); font-family: var(--font); font-size: 12px; font-weight: 700; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 2px; } .forgot-link { display: block; text-align: right; font-size: 11px; color: var(--accent-text); background: none; border: none; font-family: var(--font); font-weight: 600; cursor: pointer; margin-top: -6px; margin-bottom: 10px; } .forgot-link:hover { text-decoration: underline; } .auth-error { background: var(--red-bg); border: 1px solid rgba(239,68,68,0.25); color: var(--red); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; font-weight: 500; margin-bottom: 10px; display: none; text-align: left; line-height: 1.4; } .auth-error.visible { display: block; } .guest-banner { display: none; margin: 0 16px 14px; padding: 12px 16px; background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.06)); border: 1px solid rgba(245,158,11,0.3); border-radius: var(--radius-md); align-items: center; gap: 10px; } .guest-banner.visible { display: flex; } .gb-icon { font-size: 18px; flex-shrink: 0; } .gb-text { flex: 1; font-size: 12px; color: var(--amber); font-weight: 500; line-height: 1.4; } .gb-text strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 1px; } .gb-btn { padding: 6px 14px; background: var(--amber); color: #1a1a1a; border: none; border-radius: 100px; font-family: var(--font); font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; flex-shrink: 0; } .page-lock { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 60px 32px; text-align: center; gap: 16px; } .page-lock.visible { display: flex; } .pl-icon { width: 72px; height: 72px; background: var(--surface2); border: 1px solid var(--border2); border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 4px; } .pl-title { font-size: 18px; font-weight: 800; color: var(--text-primary); } .pl-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; max-width: 260px; } .pl-btn { margin-top: 8px; padding: 12px 28px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border: none; border-radius: 100px; font-family: var(--font); font-size: 14px; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px var(--accent-glow); } .login-prompt { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(6px); z-index: 500; display: flex; align-items: flex-end; justify-content: center; padding-bottom: calc(var(--bottom-nav-h) + 16px); animation: fadeIn 0.2s ease; } @media (min-width: 768px) { .login-prompt { align-items: center; padding-bottom: 0; } } .lp-card { background: var(--surface); border: 1px solid var(--border2); border-radius: 24px 24px 0 0; padding: 28px 24px 24px; width: 100%; max-width: 420px; text-align: center; animation: slideUp 0.3s ease; } @media (min-width: 768px) { .lp-card { border-radius: 24px; } } @keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } .lp-icon { font-size: 36px; margin-bottom: 12px; } .lp-card h3 { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; } .lp-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; } .lp-close { width: 100%; margin-top: 10px; padding: 12px; background: transparent; color: var(--text-tertiary); border: none; font-family: var(--font); font-size: 13px; font-weight: 500; cursor: pointer; } .lp-close:hover { color: var(--text-secondary); } .nav-item.nav-locked { opacity: 0.45; position: relative; } .nav-item.nav-locked::after { content: '🔒'; font-size: 10px; margin-left: auto; } .bn-item.bn-locked { opacity: 0.4; } .order-guest-lock { display: none; padding: 20px; text-align: center; background: var(--surface2); border-radius: var(--radius-md); border: 1px dashed var(--border2); } .order-guest-lock.visible { display: block; } .order-guest-lock p { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; } .order-guest-lock button { padding: 10px 24px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border: none; border-radius: 100px; font-family: var(--font); font-size: 13px; font-weight: 700; cursor: pointer; } @media (max-width: 360px) { :root { --nav-h: 56px; --bottom-nav-h: 62px; } .page-header h2 { font-size: 20px; } .page-header { padding: 20px 16px 12px; } .content-area { padding: 0 12px; } .card-body { padding: 12px 14px 14px; } .hero-banner { margin: 0 12px 12px; padding: 14px 16px; } .hero-banner h3 { font-size: 14px; } .hero-banner p { font-size: 11px; } .ps-value { font-size: 18px; } .stat-card-value { font-size: 18px; } .bn-item svg { width: 19px; height: 19px; } .btn-primary { font-size: 14px; height: 46px; } .service-list { max-height: 260px; } } @media (min-width: 768px) and (max-width: 1024px) { .sidebar { width: 220px; padding: 22px 10px; } .main { padding-bottom: 30px; } .service-list { max-height: 420px; } } @media (min-width: 1024px) { .sidebar { width: 280px; padding: 32px 16px; } .page-header { padding: 40px 40px 24px; } .content-area { padding: 0 40px; max-width: 780px; } .service-list { max-height: 460px; } .stat-card { padding: 24px; } .stat-card-value { font-size: 26px; } } @media (max-width: 400px) { .auth-card { padding: 32px 24px; border-radius: 20px; } .auth-card h2 { font-size: 20px; } } @media (max-width: 380px) { .turnstile-container { transform: scale(0.88); transform-origin: center; } .auth-turnstile { transform: scale(0.9); transform-origin: center; } } /* ── Search Bar ── */ .search-bar { position: relative; display: flex; align-items: center; margin-bottom: 12px; } .search-bar-icon { position: absolute; left: 13px; color: var(--text-tertiary); pointer-events: none; display: flex; } .search-bar input { width: 100%; height: 42px; padding: 0 38px 0 38px; background: var(--surface2); border: 1px solid var(--border); border-radius: 100px; font-family: var(--font); font-size: 13px; color: var(--text-primary); outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .search-bar input::placeholder { color: var(--text-tertiary); } .search-bar input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); background: var(--surface3); } .search-clear { position: absolute; right: 12px; background: none; border: none; color: var(--text-tertiary); cursor: pointer; padding: 4px; display: none; align-items: center; } .search-clear.visible { display: flex; } .search-result-count { font-size: 11px; color: var(--text-tertiary); margin-top: -6px; margin-bottom: 8px; margin-left: 4px; display: none; } .search-result-count.visible { display: block; } /* ── Favorite Button ── */ .svc-fav-btn { background: none; border: none; cursor: pointer; padding: 2px 4px; color: var(--text-tertiary); flex-shrink: 0; display: flex; align-items: center; transition: color 0.2s, transform 0.15s; } .svc-fav-btn:active { transform: scale(1.35); } .svc-fav-btn.fav-active { color: #F59E0B; } .svc-fav-btn svg { width: 15px; height: 15px; } /* ── Badge notifikasi ── */ .bn-item { position: relative; } .notif-badge { position: absolute; top: 6px; right: 12px; width: 8px; height: 8px; background: var(--red); border-radius: 50%; border: 2px solid var(--bg); display: none; } .notif-badge.visible { display: block; } .nav-notif-badge { width: 7px; height: 7px; background: var(--red); border-radius: 50%; margin-left: auto; flex-shrink: 0; display: none; } .nav-notif-badge.visible { display: block; } /* ── Copy target button ── */ .order-copy-btn { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 4px 10px; background: var(--surface3); border: 1px solid var(--border2); border-radius: 100px; font-family: var(--font); font-size: 10px; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all 0.2s; } .order-copy-btn:hover { background: var(--accent-light); color: var(--accent-text); border-color: var(--accent); } .order-copy-btn.copied { background: var(--green-bg); color: var(--green); border-color: rgba(16,185,129,0.3); } .order-copy-btn svg { width: 11px; height: 11px; } /* ── Service Stats (di detail order) ── */ .svc-stats-box { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 10px 14px; margin-bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .svc-stat-item { display: flex; flex-direction: column; gap: 2px; } .svc-stat-label { font-size: 10px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; } .svc-stat-value { font-size: 13px; font-weight: 700; color: var(--text-primary); font-family: var(--mono); } .svc-stat-value.green { color: var(--green); } .svc-note-box { background: var(--amber-bg); border: 1px solid rgba(245,158,11,0.2); border-radius: var(--radius-md); padding: 8px 12px; margin-bottom: 12px; font-size: 12px; color: var(--amber); line-height: 1.5; display: none; } .svc-note-box.visible { display: block; } .stats-loading { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-tertiary); padding: 8px 0; } /* ── Theme Switcher ── */ .theme-section { margin-top: 20px; } .theme-section-title { font-size: 11px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; } .theme-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; } .theme-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; padding: 0; } .theme-swatch { width: 40px; height: 40px; border-radius: 50%; border: 3px solid transparent; transition: all 0.2s; flex-shrink: 0; } .theme-btn.active .theme-swatch { border-color: var(--text-primary); box-shadow: 0 0 0 2px var(--accent); } .theme-btn span { font-size: 10px; color: var(--text-secondary); font-weight: 500; } .theme-btn.active span { color: var(--text-primary); font-weight: 700; } /* ── Theme color variables override ── */ [data-theme="light"] { --bg: #F8FAFC; --surface: #FFFFFF; --surface2: #F1F5F9; --surface3: #E2E8F0; --border: rgba(0,0,0,0.08); --border2: rgba(0,0,0,0.14); --text-primary: #0F172A; --text-secondary: #475569; --text-tertiary: #94A3B8; } [data-theme="purple"] { --accent: #7C3AED; --accent2: #6D28D9; --accent-glow: rgba(124,58,237,0.3); --accent-light: rgba(124,58,237,0.12); --accent-text: #C4B5FD; } [data-theme="pink"] { --accent: #EC4899; --accent2: #DB2777; --accent-glow: rgba(236,72,153,0.3); --accent-light: rgba(236,72,153,0.12); --accent-text: #F9A8D4; } [data-theme="blue"] { --accent: #3B82F6; --accent2: #2563EB; --accent-glow: rgba(59,130,246,0.3); --accent-light: rgba(59,130,246,0.12); --accent-text: #93C5FD; } [data-theme="yellow"] { --accent: #D97706; --accent2: #B45309; --accent-glow: rgba(217,119,6,0.3); --accent-light: rgba(217,119,6,0.12); --accent-text: #FCD34D; } [data-theme="red"] { --accent: #EF4444; --accent2: #DC2626; --accent-glow: rgba(239,68,68,0.3); --accent-light: rgba(239,68,68,0.12); --accent-text: #FCA5A5; } [data-theme="green"] { --accent: #059669; --accent2: #047857; --accent-glow: rgba(5,150,105,0.3); --accent-light: rgba(5,150,105,0.12); --accent-text: #6EE7B7; } [data-theme="orange"] { --accent: #F97316; --accent2: #EA580C; --accent-glow: rgba(249,115,22,0.3); --accent-light: rgba(249,115,22,0.12); --accent-text: #FDBA74; } [data-theme="teal"] { --accent: #0891B2; --accent2: #0E7490; --accent-glow: rgba(8,145,178,0.3); --accent-light: rgba(8,145,178,0.12); --accent-text: #67E8F9; } [data-theme="white"] { --bg: #FFFFFF; --surface: #F8FAFC; --surface2: #F1F5F9; --surface3: #E2E8F0; --border: rgba(0,0,0,0.08); --border2: rgba(0,0,0,0.14); --text-primary: #0F172A; --text-secondary: #334155; --text-tertiary: #94A3B8; }