:root { --bg-primary: #0a0a0a; --bg-secondary: #111111; --bg-tertiary: #1a1a1a; --bg-quaternary: #222222; --bg-card: #161616; --accent-primary: #00ff41; --accent-secondary: #ff0080; --accent-blue: #00a8ff; --accent-orange: #ff6b35; --accent-red: #ff4757; --accent-yellow: #ffa502; --text-primary: #ffffff; --text-secondary: #a3a3a3; --text-muted: #666666; --text-success: #10b981; --text-danger: #ef4444; --border: #2a2a2a; --border-light: #333333; --shadow: 0 4px 24px rgba(0, 0, 0, 0.3); --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.5); --radius: 12px; --radius-lg: 16px; --spacing: 20px; --sidebar-width: 280px; --header-height: 70px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg-primary); color: var(--text-primary); overflow-x: hidden; line-height: 1.5; } /* Layout */ .app { display: grid; grid-template-areas: "sidebar header" "sidebar main"; grid-template-columns: var(--sidebar-width) 1fr; grid-template-rows: var(--header-height) 1fr; min-height: 100vh; } /* Header */ .header { grid-area: header; background: var(--bg-secondary); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--spacing); backdrop-filter: blur(20px); z-index: 100; } .header-left { display: flex; align-items: center; gap: var(--spacing); } .menu-toggle { display: none; background: none; border: none; color: var(--text-secondary); font-size: 20px; cursor: pointer; padding: 8px; } .page-title { font-size: 24px; font-weight: 700; color: var(--accent-primary); text-transform: uppercase; letter-spacing: 1px; } .search-bar { position: relative; display: flex; align-items: center; } .search-input { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px 12px 44px; color: var(--text-primary); font-size: 14px; width: 300px; transition: all 0.3s ease; } .search-input:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1); } .search-icon { position: absolute; left: 16px; color: var(--text-muted); } .header-right { display: flex; align-items: center; gap: 16px; } .notification-btn, .profile-btn { background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; color: var(--text-secondary); cursor: pointer; transition: all 0.3s ease; } .notification-btn:hover, .profile-btn:hover { background: var(--bg-quaternary); color: var(--accent-primary); transform: translateY(-1px); } /* Sidebar */ .sidebar { grid-area: sidebar; background: var(--bg-secondary); border-right: 1px solid var(--border); padding: var(--spacing); overflow-y: auto; } .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; padding: 0 16px; background: var(--accent-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow); } .logo-icon { font-size: 24px; color: var(--bg-primary); } .logo-text { font-size: 20px; font-weight: 800; color: var(--bg-primary); letter-spacing: 1px; } .nav-menu { list-style: none; margin-bottom: 40px; } .nav-item { margin-bottom: 8px; } .nav-link { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--text-secondary); text-decoration: none; border-radius: var(--radius); transition: all 0.3s ease; font-weight: 500; position: relative; overflow: hidden; } .nav-link::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--accent-primary); transform: scaleY(0); transition: transform 0.3s ease; } .nav-link:hover, .nav-link.active { background: var(--bg-tertiary); color: var(--accent-primary); transform: translateX(4px); } .nav-link:hover::before, .nav-link.active::before { transform: scaleY(1); } .nav-icon { font-size: 18px; width: 20px; text-align: center; } .nav-badge { background: var(--accent-secondary); color: white; font-size: 11px; padding: 2px 8px; border-radius: 12px; margin-left: auto; font-weight: 600; } /* Main Content */ .main-content { grid-area: main; padding: var(--spacing); overflow-y: auto; background: var(--bg-primary); } .page-container { max-width: 1400px; margin: 0 auto; } .page { display: none; animation: fadeIn 0.3s ease; } .page.active { display: block; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Card Headers */ .card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding: 8px; padding-bottom: 16px; padding-left: 12px; border-bottom: 1px solid var(--border); } .card-title { font-size: 18px; font-weight: 600; color: var(--text-primary); } .header-actions { display: flex; gap: 12px; } /* Stats Grid */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing); margin-bottom: 30px; } .stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; position: relative; overflow: hidden; transition: all 0.3s ease; } .stat-card:hover { box-shadow: var(--shadow-heavy); transform: translateY(-2px); /*border-color: var(--accent-primary);*/ } .stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-primary); } .stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; } .stat-title { color: var(--text-secondary); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; } .stat-icon { background: var(--accent-primary); color: var(--bg-primary); padding: 8px; border-radius: 8px; font-size: 16px; } .stat-value { font-size: 32px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); } .stat-change { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--text-secondary); } /* Content Grid */ .content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--spacing); margin-bottom: 30px; } .chart-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); } /* Activity Feed */ .activity-feed { max-height: 400px; overflow-y: auto; } .activity-item { display: flex; align-items: start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); } .activity-item:last-child { border-bottom: none; } .activity-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-primary); display: flex; align-items: center; justify-content: center; color: var(--bg-primary); font-size: 16px; flex-shrink: 0; } .activity-content { flex: 1; } .activity-text { color: var(--text-secondary); margin-bottom: 4px; line-height: 1.4; } .activity-time { color: var(--text-muted); font-size: 12px; } /* Quick Actions */ .quick-actions { display: flex; flex-direction: column; gap: 16px; } .action-btn { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-secondary); text-decoration: none; transition: all 0.3s ease; cursor: pointer; } .action-btn:hover { background: var(--bg-quaternary); color: var(--accent-primary); /*border-color: var(--accent-primary);*/ transform: translateX(4px); } /* Instance Types */ .instance-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--spacing); margin-bottom: 30px; } .type-card { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 24px; text-align: center; cursor: pointer; transition: all 0.3s ease; } .type-card:hover { /*border-color: var(--accent-primary);*/ transform: translateY(-4px); box-shadow: var(--shadow-heavy); } .type-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px auto; font-size: 24px; color: var(--bg-primary); } .type-card h3 { transition: all 0.3s ease; color: var(--text-primary); margin-bottom: 8px; font-size: 18px; } .type-card:hover h3 { color: var(--accent-primary); } .type-card p { color: var(--text-secondary); font-size: 14px; } /* Table */ .table-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); } .table-filters { padding: 16px; background: var(--bg-tertiary); border-bottom: 1px solid var(--border); display: flex; gap: 16px; align-items: center; } .filter-input, .filter-select { background: var(--bg-quaternary); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; color: var(--text-primary); font-size: 14px; } .table { width: 100%; border-collapse: collapse; } .table th { background: var(--bg-tertiary); padding: 16px; text-align: left; font-weight: 600; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); } .table td { padding: 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); } .table tr:hover { background: var(--bg-tertiary); } .empty-state { text-align: center; color: var(--text-muted); font-style: italic; padding: 40px; } /* Status Badges */ .status-badge { padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; } .status-active { background: rgba(16, 185, 129, 0.2); color: var(--text-success); } .status-inactive { background: rgba(239, 68, 68, 0.2); color: var(--text-danger); } .status-pending { background: rgba(245, 158, 11, 0.2); color: var(--accent-yellow); } .status-running { background: rgba(0, 255, 65, 0.2); color: var(--accent-primary); } .status-stopped { background: rgba(166, 166, 166, 0.2); color: var(--text-muted); } /* Forms */ .form-group { margin-bottom: 24px; } .form-label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-secondary); } .form-input, .form-select { width: 100%; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: var(--text-primary); font-size: 14px; transition: all 0.3s ease; } .form-input:focus, .form-select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1); } .form-help { display: block; margin-top: 4px; color: var(--text-muted); font-size: 12px; } .input-group { display: flex; gap: 12px; } /* Buttons */ .btn { background: var(--accent-primary); color: var(--bg-primary); border: none; padding: 12px 24px; border-radius: var(--radius); font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; } .btn:hover { background: var(--accent-blue); transform: translateY(-1px); box-shadow: var(--shadow); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-secondary); border: 1px solid var(--border); padding: 12px 24px; border-radius: var(--radius); font-weight: 500; cursor: pointer; transition: all 0.3s ease; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; } .btn-secondary:hover { background: var(--bg-quaternary); color: var(--accent-primary); border-color: var(--accent-primary); } .btn-danger { background: var(--accent-red); color: white; border: none; } .btn-danger:hover { background: #e74c3c; } /* Settings Grid */ .settings-grid, .profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing); } .time-filter { display: flex; align-items: center; gap: 12px; } /* Contact */ .contact-container { max-width: 800px; } .contact-info { display: flex; flex-direction: column; gap: 24px; } .contact-item { display: flex; align-items: start; gap: 20px; padding: 20px; background: var(--bg-tertiary); border-radius: var(--radius); } .contact-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-primary); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--bg-primary); flex-shrink: 0; } .contact-details h4 { color: var(--text-primary); margin-bottom: 4px; } .contact-details p { color: var(--text-secondary); margin-bottom: 8px; } .contact-link { color: var(--accent-primary); text-decoration: none; font-weight: 500; } .contact-link:hover { color: var(--accent-blue); } .contact-text { color: var(--text-muted); font-size: 14px; } /* Modals */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; align-items: center; justify-content: center; z-index: 1000; animation: modalFadeIn 0.3s ease; } .modal.show { display: flex; } @keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } } .modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; animation: modalSlideIn 0.3s ease; } @keyframes modalSlideIn { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 24px; border-bottom: 1px solid var(--border); } .modal-header h3 { color: var(--text-primary); margin: 0; } .modal-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; padding: 4px; border-radius: 4px; transition: all 0.3s ease; } .modal-close:hover { background: var(--bg-tertiary); color: var(--accent-red); } .modal-body { padding: 24px; } .modal-footer { display: flex; gap: 12px; justify-content: flex-end; padding: 24px; border-top: 1px solid var(--border); } /* Account Selector */ .account-selector { max-height: 200px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-tertiary); } .account-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: all 0.3s ease; } .account-item:last-child { border-bottom: none; } .account-item:hover { background: var(--bg-quaternary); } .account-item input[type="checkbox"] { margin: 0; } .account-info { flex: 1; } .account-username { color: var(--text-primary); font-weight: 500; } .account-status { color: var(--text-muted); font-size: 12px; } /* Loading */ .loading { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); padding: 20px; justify-content: center; } .loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); display: none; align-items: center; justify-content: center; z-index: 2000; } .loading-overlay.show { display: flex; } .loading-spinner { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; color: var(--text-primary); } .loading-spinner i { font-size: 32px; color: var(--accent-primary); margin-bottom: 16px; } /* Toast Notifications */ .toast-container { position: fixed; top: 20px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 12px; } .toast { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--accent-primary); border-radius: var(--radius); padding: 16px 20px; min-width: 300px; box-shadow: var(--shadow-heavy); animation: toastSlideIn 0.3s ease; } .toast.success { border-left-color: var(--text-success); } .toast.error { border-left-color: var(--accent-red); } .toast.warning { border-left-color: var(--accent-yellow); } @keyframes toastSlideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .toast-content { display: flex; align-items: start; gap: 12px; } .toast-icon { flex-shrink: 0; font-size: 16px; } .toast-message { flex: 1; } .toast-title { color: var(--text-primary); font-weight: 600; margin-bottom: 4px; } .toast-text { color: var(--text-secondary); font-size: 14px; } .toast-close { background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 0; margin-left: 12px; } /* Progress Bars */ .progress-bar { width: 100%; height: 8px; background: var(--bg-tertiary); border-radius: 4px; overflow: hidden; } .progress-fill { height: 100%; background: var(--accent-primary); border-radius: 4px; transition: width 0.3s ease; } /* Responsive */ @media (max-width: 768px) { .app { grid-template-areas: "header" "main"; grid-template-columns: 1fr; grid-template-rows: var(--header-height) 1fr; } .menu-toggle { display: block !important; } .sidebar { position: fixed; left: -100%; top: 0; height: 100vh; z-index: 1000; transition: left 0.3s ease; width: var(--sidebar-width); } .sidebar.open { left: 0; } .stats-grid { grid-template-columns: 1fr; } .content-grid { grid-template-columns: 1fr; } .settings-grid, .profile-grid { grid-template-columns: 1fr; } .instance-types { grid-template-columns: 1fr; } .search-input { width: 200px; } .table-filters { flex-direction: column; align-items: stretch; } .modal-content { width: 95%; margin: 20px; } .toast { min-width: 250px; } .toast-container { left: 20px; right: 20px; } } @media (max-width: 480px) { .search-input { width: 150px; } .header-right { gap: 8px; } .table { font-size: 12px; } .table th, .table td { padding: 8px; } }