/* reset */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } /* tokens */ :root { --bg: #0a0a0f; --bg-surface: rgba(255, 255, 255, 0.04); --bg-surface-hover: rgba(255, 255, 255, 0.07); --border: rgba(255, 255, 255, 0.08); --border-accent: rgba(139, 92, 246, 0.4); --text-primary: #f1f5f9; --text-secondary: #94a3b8; --text-muted: #475569; --accent: #8b5cf6; --accent-hover: #7c3aed; --accent-glow: rgba(139, 92, 246, 0.25); --success-bg: rgba(16, 185, 129, 0.08); --success-border: rgba(16, 185, 129, 0.25); --success-text: #34d399; --success-label: #6ee7b7; --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --shadow-card: 0 0 0 1px var(--border), 0 24px 48px rgba(0, 0, 0, 0.4); --shadow-btn: 0 0 20px var(--accent-glow); --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace, monospace; } /* base */ html { color-scheme: dark; } body { font-family: var(--font); background-color: var(--bg); color: var(--text-primary); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; line-height: 1.6; /* subtle grid bg */ background-image: radial-gradient( ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, 0.12), transparent ), linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: auto, 40px 40px, 40px 40px; } /* card */ .card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 3rem 2.75rem; max-width: 480px; width: 100%; text-align: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; overflow: hidden; } /* app shell body — reset centering, fill viewport */ body.app-body { display: block; padding: 0; min-height: 100vh; height: 100vh; overflow: hidden; } /* top glow line */ .card::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; } /* logo / wordmark */ .logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; } .logo-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--accent), #6366f1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 0 16px var(--accent-glow); } /* heading */ h1 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1.2; } h1 span { background: linear-gradient(135deg, #c4b5fd, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.4rem; margin-bottom: 2.25rem; } /* divider */ .divider { height: 1px; background: var(--border); margin: 2rem 0; } /* button */ .ping-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; font-family: var(--font); font-size: 0.9rem; font-weight: 600; padding: 0.65rem 1.6rem; border: none; border-radius: var(--radius-md); cursor: pointer; letter-spacing: 0.01em; transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; box-shadow: var(--shadow-btn); position: relative; overflow: hidden; } .ping-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, 0.12), transparent); pointer-events: none; } .ping-btn:hover { opacity: 0.9; box-shadow: 0 0 32px var(--accent-glow); transform: translateY(-1px); } .ping-btn:active { transform: scale(0.97) translateY(0); } .ping-btn.htmx-request { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; } /* ping result area */ #ping-result { margin-top: 1.75rem; min-height: 3rem; display: flex; align-items: center; justify-content: center; } /* result box */ .result-box { background: var(--success-bg); border: 1px solid var(--success-border); border-radius: var(--radius-md); padding: 0.85rem 1.5rem; width: 100%; text-align: left; display: flex; align-items: center; gap: 1rem; animation: fadeSlideIn 0.25s ease forwards; } .result-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-text); box-shadow: 0 0 8px var(--success-text); flex-shrink: 0; animation: pulse 2s ease infinite; } .result-content { display: flex; flex-direction: column; gap: 0.1rem; } .result-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--success-label); } .result-message { font-family: var(--font-mono); font-size: 0.9rem; color: var(--success-text); } /* stats row */ .stats { display: flex; gap: 1rem; margin-top: 2rem; } .stat { flex: 1; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.85rem 1rem; transition: background 0.2s ease, border-color 0.2s ease; } .stat:hover { background: var(--bg-surface-hover); border-color: var(--border-accent); } .stat-value { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); font-family: var(--font-mono); } .stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; } /* footer */ footer { margin-top: 2.5rem; font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; } footer a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s; } footer a:hover { color: var(--accent); } /* animations */ @keyframes fadeSlideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } /* scrollbar */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; } /* ============================================================ AUTH PAGES (login / register) ============================================================ */ /* body variant — keeps the grid bg from body, just re-centers */ .auth-body { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 2rem; } /* narrower card */ .auth-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 2.5rem 2.25rem; max-width: 420px; width: 100%; text-align: center; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: relative; overflow: hidden; } .auth-card::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; } /* logo row */ .auth-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; } /* headings */ .auth-title { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text-primary); line-height: 1.2; margin-bottom: 0.35rem; } .auth-subtitle { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 2rem; } /* form layout */ .auth-form { display: flex; flex-direction: column; gap: 1.25rem; text-align: left; } .form-group { display: flex; flex-direction: column; gap: 0.4rem; } .form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.07em; } .form-input { width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.7rem 1rem; color: var(--text-primary); font-family: var(--font); font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; } .form-input::placeholder { color: var(--text-muted); } .form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); } /* error message box */ .form-error { background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.25); border-radius: var(--radius-md); padding: 0.7rem 1rem; font-size: 0.85rem; color: #f87171; display: flex; gap: 0.5rem; align-items: center; } /* full-width primary button */ .btn-primary { width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: linear-gradient(135deg, var(--accent), #6366f1); color: #fff; font-family: var(--font); font-size: 0.95rem; font-weight: 600; padding: 0.75rem; border: none; border-radius: var(--radius-md); cursor: pointer; letter-spacing: 0.01em; transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; box-shadow: var(--shadow-btn); position: relative; overflow: hidden; } .btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, 0.12), transparent); pointer-events: none; } .btn-primary:hover { opacity: 0.9; box-shadow: 0 0 32px var(--accent-glow); transform: translateY(-1px); } .btn-primary:active { transform: scale(0.97) translateY(0); } /* footer link line below the card */ .auth-footer { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); text-align: center; } .auth-footer a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; } .auth-footer a:hover { opacity: 0.8; } /* "or" divider */ .auth-divider { display: flex; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.8rem; } .auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); } /* ============================================================ HOME / DASHBOARD — app shell ============================================================ */ .app-shell { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: 1fr; height: 100vh; width: 100%; overflow: hidden; } /* sidebar */ .sidebar { background: rgba(255, 255, 255, 0.02); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 1.5rem 1rem; overflow-y: auto; } .sidebar-logo { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; margin-bottom: 1.5rem; } .sidebar-logo .logo-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--accent), #6366f1); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 0 16px var(--accent-glow); flex-shrink: 0; } .sidebar-logo .logo-text { font-weight: 700; font-size: 1rem; background: linear-gradient(135deg, #c4b5fd, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* nav links */ .sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; } .nav-item { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem; border-radius: var(--radius-md); color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: all 0.15s; border: 1px solid transparent; } .nav-item:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .nav-item.active { background: rgba(139, 92, 246, 0.12); color: var(--accent); border-color: rgba(139, 92, 246, 0.2); } .nav-item svg { width: 16px; height: 16px; flex-shrink: 0; } /* sidebar bottom section */ .sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); } .user-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.6rem 0.75rem; border-radius: var(--radius-md); } .user-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #6366f1); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: #fff; flex-shrink: 0; } .user-info { display: flex; flex-direction: column; gap: 0.1rem; overflow: hidden; flex: 1; } .user-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .user-role { font-size: 0.72rem; color: var(--text-muted); } .sign-out-btn { width: 100%; margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; border-radius: var(--radius-md); background: transparent; border: 1px solid var(--border); color: var(--text-secondary); font-size: 0.85rem; font-family: var(--font); cursor: pointer; transition: all 0.15s; } .sign-out-btn:hover { border-color: rgba(239, 68, 68, 0.4); color: #f87171; background: rgba(239, 68, 68, 0.06); } /* main content area */ .main-content { display: flex; flex-direction: column; overflow-y: auto; background: var(--bg); } .topbar { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 2rem; border-bottom: 1px solid var(--border); flex-shrink: 0; } .topbar-title { font-size: 1rem; font-weight: 600; color: var(--text-primary); } .page-content { padding: 2rem; flex: 1; max-width: 900px; width: 100%; } /* welcome hero */ .welcome-hero { padding: 2rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-bottom: 2rem; position: relative; overflow: hidden; } .welcome-hero::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; } .welcome-greeting { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.35rem; } .welcome-greeting span { background: linear-gradient(135deg, #c4b5fd, var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .welcome-sub { color: var(--text-secondary); font-size: 0.9rem; } /* dashboard stat cards grid */ .dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; } .dash-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 1.25rem 1.5rem; text-align: left; position: relative; overflow: hidden; transition: background 0.2s ease, border-color 0.2s ease; } .dash-card:hover { background: var(--bg-surface-hover); border-color: var(--border-accent); } .dash-card-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.5rem; } .dash-card-value { font-size: 1.5rem; font-weight: 700; font-family: var(--font-mono); color: var(--text-primary); } /* rooms grid */ .rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; } .room-card { display: block; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; text-decoration: none; transition: all 0.15s; position: relative; } .room-card:hover { background: var(--bg-surface-hover); border-color: var(--border-accent); transform: translateY(-2px); } .room-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; } .room-name { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); } .room-code { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); background: rgba(139, 92, 246, 0.12); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); } .room-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--text-secondary); } .room-owner-badge { position: absolute; top: 1rem; right: 1rem; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); background: rgba(139, 92, 246, 0.15); padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); } .empty-state { text-align: center; padding: 3rem; color: var(--text-secondary); } /* modal */ .modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 100; backdrop-filter: blur(4px); } .modal { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; max-width: 420px; width: 90%; box-shadow: var(--shadow-card); } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .modal-header h2 { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); } .modal-close { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; line-height: 1; } .modal-close:hover { color: var(--text-primary); } /* room detail */ .back-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-secondary); text-decoration: none; transition: all 0.15s; } .back-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .room-code-badge { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); background: rgba(139, 92, 246, 0.12); padding: 0.25rem 0.75rem; border-radius: var(--radius-md); } .scale-badge { font-size: 0.75rem; color: var(--text-secondary); background: var(--bg-surface); padding: 0.25rem 0.75rem; border-radius: var(--radius-md); border: 1px solid var(--border); } .room-layout { display: grid; grid-template-columns: 1fr 240px; gap: 1.5rem; min-height: 400px; } .stories-panel, .members-panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; } .panel-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; } .stories-list, .members-list { display: flex; flex-direction: column; gap: 0.75rem; } .story-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem; transition: all 0.15s; } .story-card:hover { border-color: var(--border-accent); } .story-revealed { border-color: rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.05); } .story-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; } .story-title { font-size: 0.95rem; font-weight: 500; color: var(--text-primary); flex: 1 1 auto; word-break: break-word; margin-top: 0.15rem; /* align text baseline with buttons */ } .story-actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; flex: 0 0 auto; } .story-btn { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 0.6rem; font-size: 0.75rem; font-weight: 500; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.15s; border: 1px solid transparent; } .story-btn-primary { background: var(--accent); color: white; border-color: var(--accent); } .story-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); } .story-btn-secondary { background: transparent; color: var(--text-secondary); border-color: var(--border); } .story-btn-secondary:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .story-badge { display: inline-flex; align-items: center; justify-content: center; height: 26px; padding: 0 0.6rem; font-size: 0.75rem; font-weight: 500; border-radius: var(--radius-sm); } .story-badge-active { color: var(--success-text); border: 1px solid var(--success-border); background: var(--success-bg); } .story-badge-revealed { color: var(--accent); border: 1px solid rgba(139, 92, 246, 0.4); background: rgba(139, 92, 246, 0.1); } .story-points { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--accent); background: rgba(139, 92, 246, 0.15); padding: 0.25rem 0.75rem; border-radius: var(--radius-md); } .vote-form { display: flex; flex-wrap: wrap; gap: 0.5rem; } .vote-option { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.4rem 0.75rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; } .vote-option:hover { background: var(--bg-surface-hover); border-color: var(--accent); color: var(--text-primary); } .vote-option.vote-selected { border-color: var(--accent); background: rgba(139, 92, 246, 0.12); color: var(--text-primary); } .story-active { border-color: var(--success-border); background: var(--success-bg); } .story-action-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border-radius: var(--radius-sm); background: transparent; border: 1px solid var(--border); color: var(--text-muted); cursor: pointer; transition: all 0.15s; flex-shrink: 0; } .story-action-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); border-color: var(--border-accent); } .story-action-btn.story-action-delete:hover { border-color: rgba(239, 68, 68, 0.4); color: #f87171; background: rgba(239, 68, 68, 0.06); } .revealed-votes { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border); } .revealed-vote { display: flex; align-items: center; gap: 0.4rem; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.3rem 0.6rem; } .revealed-vote-user { font-size: 0.8rem; color: var(--text-secondary); } .revealed-vote-value { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; color: var(--accent); background: rgba(139, 92, 246, 0.15); padding: 0.1rem 0.4rem; border-radius: var(--radius-sm); } .member-row { display: flex; align-items: center; gap: 0.65rem; padding: 0.5rem; border-radius: var(--radius-md); } .member-name { font-size: 0.9rem; color: var(--text-secondary); } /* SSE indicator */ .sse-indicator { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 500; color: var(--success-text); padding: 0.25rem 0.5rem; border-radius: var(--radius-full); background: var(--success-bg); border: 1px solid var(--success-border); } .mobile-menu-btn { display: none; background: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: 0.25rem; border-radius: var(--radius-sm); transition: all 0.2s ease; } .mobile-menu-btn:hover { color: var(--text-primary); background: var(--bg-surface-hover); } .sse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success-text); animation: pulse 2s ease infinite; } /* ============================================================ RESPONSIVE ============================================================ */ .sidebar-backdrop { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4px); z-index: 90; opacity: 0; transition: opacity 0.3s ease; } @media (max-width: 768px) { .app-shell { grid-template-columns: 1fr; } .mobile-menu-btn { display: block; } .sidebar-backdrop.open { display: block; opacity: 1; } .sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; z-index: 100; transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); background: var(--bg); /* Opaque background for mobile menu */ border-right: 1px solid var(--border); box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); } .sidebar.open { transform: translateX(0); } .dashboard-grid { grid-template-columns: 1fr; } }