:root{--background:#0f1115;--surface:#16181d;--surface-hover:#1e2128;--primary:#4f46e5;--primary-hover:#4338ca;--primary-light:#818cf8;--success:#22c55e;--warning:#f59e0b;--danger:#ef4444;--info:#3b82f6;--text:#f8fafc;--text-muted:#94a3b8;--border:#272a31;--radius:12px;--shadow:0 4px 6px -1px #0000004d, 0 2px 4px -2px #0000004d;--sidebar-width:240px;--header-height:56px}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--background);color:var(--text);-webkit-font-smoothing:antialiased;min-height:100vh;font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif}a{color:inherit;text-decoration:none}button{cursor:pointer;font-family:inherit}.container{max-width:1200px;margin:0 auto;padding:0 2rem}.dashboard-layout{min-height:100vh;display:flex}.dashboard-main{margin-left:var(--sidebar-width);padding-top:var(--header-height);flex:1}.dashboard-content{max-width:1400px;padding:2rem}.sidebar{width:var(--sidebar-width);background:var(--surface);border-right:1px solid var(--border);z-index:50;flex-direction:column;height:100vh;display:flex;position:fixed;top:0;left:0;overflow-y:auto}.sidebar-logo{border-bottom:1px solid var(--border);padding:1.25rem 1.5rem}.logo-text{letter-spacing:-.5px;background:linear-gradient(to right, var(--primary-light), var(--primary));-webkit-text-fill-color:transparent;-webkit-background-clip:text;font-size:1.25rem;font-weight:800}.sidebar-nav{flex:1;padding:.75rem 0}.sidebar-item{color:var(--text-muted);text-align:left;background:0 0;border:none;align-items:center;gap:.75rem;width:100%;padding:.625rem 1.5rem;font-size:.875rem;font-weight:500;transition:all .15s;display:flex}.sidebar-item:hover{color:var(--text);background:var(--surface-hover)}.sidebar-item.active{color:var(--primary-light);border-right:2px solid var(--primary);background:#4f46e51a}.sidebar-item-icon{flex-shrink:0;align-items:center;display:flex}.sidebar-section-toggle{cursor:pointer}.sidebar-section-toggle.section-active{color:var(--text)}.sidebar-chevron{margin-left:auto;transition:transform .2s;display:flex}.sidebar-chevron.open{transform:rotate(180deg)}.sidebar-children{padding-left:1rem}.sidebar-child{padding-left:2.75rem;font-size:.825rem}.header{top:0;left:var(--sidebar-width);height:var(--header-height);background:var(--surface);border-bottom:1px solid var(--border);z-index:40;justify-content:space-between;align-items:center;padding:0 1.5rem;display:flex;position:fixed;right:0}.project-selector{position:relative}.project-selector-btn{background:var(--background);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:6px;align-items:center;gap:.5rem;padding:.4rem .75rem;font-size:.85rem;font-weight:500;transition:border-color .15s;display:flex}.project-selector-btn:hover{border-color:var(--primary)}.project-dropdown{background:var(--surface);border:1px solid var(--border);z-index:100;border-radius:8px;min-width:280px;position:absolute;top:calc(100% + 6px);left:0;overflow:hidden;box-shadow:0 12px 32px #0006}.project-dropdown-header{border-bottom:1px solid var(--border);padding:.625rem .875rem}.project-dropdown-list{max-height:240px;overflow-y:auto}.project-dropdown-item{align-items:center;display:flex}.project-dropdown-item.active{background:#4f46e514}.project-dropdown-item-btn{color:var(--text);text-align:left;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;gap:.625rem;padding:.625rem .875rem;font-size:.85rem;transition:background .1s;display:flex}.project-dropdown-item-btn:hover{background:var(--surface-hover)}.project-dropdown-delete{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;margin-right:.5rem;padding:.5rem;line-height:0}.project-dropdown-delete:hover{color:var(--danger);background:#ef44441a}.project-dropdown-add{border:none;border-top:1px solid var(--border);width:100%;color:var(--primary-light);cursor:pointer;background:0 0;align-items:center;gap:.5rem;padding:.625rem .875rem;font-size:.85rem;font-weight:500;display:flex}.project-dropdown-add:hover{background:var(--surface-hover)}.project-dropdown-create{border-top:1px solid var(--border);padding:.75rem}.header-left,.header-right{align-items:center;gap:1.5rem;display:flex}.header-project{color:var(--text-muted);align-items:center;gap:.5rem;font-size:.85rem;display:flex}.header-location{color:var(--text-muted);align-items:center;gap:.5rem;display:flex}.header-select{background:var(--background);border:1px solid var(--border);color:var(--text);border-radius:6px;outline:none;padding:.375rem .75rem;font-size:.825rem}.header-user{align-items:center;gap:.75rem;display:flex}.header-avatar{background:var(--primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;font-weight:700;display:flex}.header-email{color:var(--text-muted);font-size:.85rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1.5rem}.card-hover:hover{transition:transform .2s,box-shadow .2s;transform:translateY(-2px);box-shadow:0 10px 15px -3px #0006}.btn{background:var(--primary);color:#fff;border:none;border-radius:6px;align-items:center;gap:.5rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:600;transition:background .2s;display:inline-flex}.btn:hover{background:var(--primary-hover)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-danger{background:var(--danger)}.btn-danger:hover{background:#dc2626}.btn-success{background:var(--success)}.btn-success:hover{background:#16a34a}.btn-outline{color:var(--text);border:1px solid var(--border);background:0 0}.btn-outline:hover{background:var(--surface-hover)}.btn-ghost{color:var(--text-muted);background:0 0;border:none;border-radius:6px;padding:.375rem .75rem;font-size:.825rem;font-weight:500}.btn-ghost:hover{color:var(--text);background:var(--surface-hover)}.btn-sm{padding:.375rem .75rem;font-size:.8rem}.btn-icon{padding:.5rem;line-height:0}.input-field{background:var(--background);border:1px solid var(--border);width:100%;color:var(--text);border-radius:6px;outline:none;margin-top:.375rem;padding:.625rem .875rem;font-size:.875rem;transition:border-color .2s}.input-field:focus{border-color:var(--primary)}.label{color:var(--text-muted);font-size:.825rem;font-weight:500}.textarea{background:var(--background);border:1px solid var(--border);width:100%;color:var(--text);resize:vertical;border-radius:6px;outline:none;min-height:100px;margin-top:.375rem;padding:.625rem .875rem;font-family:Geist Mono,monospace;font-size:.825rem}.textarea:focus{border-color:var(--primary)}.status-badge{text-transform:uppercase;letter-spacing:.5px;border-radius:9999px;align-items:center;gap:.375rem;padding:.25rem .625rem;font-size:.75rem;font-weight:600;display:inline-flex}.status-dot{border-radius:50%;width:8px;height:8px}.status-running .status-dot{background:var(--success);box-shadow:0 0 8px var(--success)}.status-running{color:var(--success);background:#22c55e1a}.status-creating .status-dot{background:var(--warning);animation:2s infinite pulse}.status-creating{color:var(--warning);background:#f59e0b1a}.status-powered-off .status-dot{background:var(--text-muted)}.status-powered-off{color:var(--text-muted);background:#94a3b81a}.status-terminated .status-dot{background:var(--danger)}.status-terminated{color:var(--danger);background:#ef44441a}.data-table{text-align:left;border-collapse:collapse;width:100%}.data-table thead tr{border-bottom:1px solid var(--border)}.data-table th{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;padding:.75rem 1rem;font-size:.75rem;font-weight:600}.data-table td{border-bottom:1px solid var(--border);padding:1rem;font-size:.875rem}.data-table tbody tr{transition:background .15s}.data-table tbody tr:hover{background:var(--surface-hover)}.data-table tbody tr.clickable{cursor:pointer}.page-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.page-title{letter-spacing:-.5px;font-size:1.5rem;font-weight:700}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem;display:grid}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem}.stat-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;font-size:.75rem;font-weight:600}.stat-value{margin-top:.25rem;font-size:2rem;font-weight:800}.selection-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;display:grid}.selection-card{border:1px solid var(--border);cursor:pointer;background:var(--background);border-radius:8px;padding:1.25rem;transition:all .15s}.selection-card:hover{border-color:var(--primary);background:var(--surface-hover)}.selection-card.selected{border:2px solid var(--primary);background:#4f46e514}.selection-card-title{font-size:.95rem;font-weight:600}.selection-card-sub{color:var(--text-muted);margin-top:.25rem;font-size:.8rem}.modal-overlay{z-index:100;background:#0009;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);min-width:400px;max-width:600px;padding:2rem;box-shadow:0 25px 50px -12px #00000080}.modal-title{margin-bottom:1.5rem;font-size:1.25rem;font-weight:700}.modal-actions{justify-content:flex-end;gap:.75rem;margin-top:1.5rem;display:flex}.empty-state{text-align:center;color:var(--text-muted);padding:4rem 2rem}.empty-state-icon{opacity:.5;margin-bottom:1rem;font-size:3rem}.empty-state-title{color:var(--text);margin-bottom:.5rem;font-size:1.1rem;font-weight:600}.skeleton{background:linear-gradient(90deg, var(--surface-hover) 25%, var(--border) 50%, var(--surface-hover) 75%);background-size:200% 100%;border-radius:6px;animation:1.5s infinite shimmer}.spinner{border:2px solid var(--border);border-top-color:var(--primary);border-radius:50%;width:20px;height:20px;animation:.6s linear infinite spin}@keyframes pulse{0%{opacity:.5;box-shadow:0 0 #0000}50%{opacity:1;box-shadow:0 0 10px var(--warning)}to{opacity:.5;box-shadow:0 0 #0000}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes spin{to{transform:rotate(360deg)}}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-sm{gap:.5rem}.gap-md{gap:1rem}.gap-lg{gap:1.5rem}.text-right{text-align:right}.text-muted{color:var(--text-muted)}.text-success{color:var(--success)}.text-danger{color:var(--danger)}.text-warning{color:var(--warning)}.font-bold{font-weight:700}.mt-sm{margin-top:.5rem}.mt-md{margin-top:1rem}.mt-lg{margin-top:1.5rem}.mb-md{margin-bottom:1rem}.mb-lg{margin-bottom:1.5rem}
