/* PortIQ Premium Design System & Stylesheet */ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap'); :root { /* Dark Mode Variables */ --bg-app: radial-gradient(circle at top, #0f1c30 0%, #060913 100%); --bg-card: rgba(13, 22, 38, 0.6); --border-color: rgba(6, 182, 212, 0.15); --border-hover: rgba(6, 182, 212, 0.35); --color-primary: #06b6d4; /* Cyan */ --color-primary-rgb: 6, 182, 212; --color-success: #10b981; /* Emerald */ --color-danger: #f43f5e; /* Rose */ --color-warning: #f59e0b; /* Amber */ --color-info: #3b82f6; /* Blue */ --text-main: #f1f5f9; --text-muted: #94a3b8; --text-inverse: #0f172a; --shadow-premium: 0 12px 40px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05); --shadow-neon: 0 0 20px rgba(6, 182, 212, 0.25); --glass-blur: blur(12px); --font-sans: 'Outfit', sans-serif; --font-mono: 'JetBrains Mono', monospace; --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } [data-theme="light"] { /* Light Mode Variables */ --bg-app: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); --bg-card: rgba(255, 255, 255, 0.8); --border-color: rgba(6, 182, 212, 0.2); --border-hover: rgba(6, 182, 212, 0.5); --text-main: #0f172a; --text-muted: #475569; --text-inverse: #f8fafc; --shadow-premium: 0 10px 25px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(6, 182, 212, 0.1); --shadow-neon: 0 0 15px rgba(6, 182, 212, 0.15); } * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: var(--font-sans); background: var(--bg-app); color: var(--text-main); min-height: 100vh; line-height: 1.5; overflow-x: hidden; transition: background 0.5s ease, color 0.3s ease; } /* Scrollbar styling */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.1); } ::-webkit-scrollbar-thumb { background: rgba(6, 182, 212, 0.25); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: rgba(6, 182, 212, 0.45); } /* Animations */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } } @keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } @keyframes pulse-ring { 0% { transform: scale(0.85); opacity: 0.8; } 70% { transform: scale(1.25); opacity: 0; } 100% { transform: scale(0.85); opacity: 0; } } @keyframes bounce-dot { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1.2); opacity: 1; } } /* Utility Layouts */ .animate-fade-in { animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .premium-card { background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-premium); transition: var(--transition-smooth); } .premium-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-premium), 0 4px 20px rgba(6, 182, 212, 0.05); } /* Buttons */ .btn-base { font-family: var(--font-sans); font-weight: 600; font-size: 0.88rem; padding: 10px 18px; border-radius: 8px; cursor: pointer; border: 1px solid transparent; transition: var(--transition-smooth); display: inline-flex; align-items: center; gap: 8px; text-decoration: none; } .btn-primary { background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%); color: #fff; box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45); } .btn-primary:active { transform: translateY(0); } .btn-secondary { background: rgba(6, 182, 212, 0.08); border-color: var(--border-color); color: var(--color-primary); } .btn-secondary:hover { background: rgba(6, 182, 212, 0.16); border-color: var(--color-primary); transform: translateY(-1px); } .btn-danger { background: rgba(244, 63, 94, 0.1); border: 1px solid rgba(244, 63, 94, 0.3); color: var(--color-danger); } .btn-danger:hover { background: var(--color-danger); color: #fff; box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3); transform: translateY(-1px); } /* Inputs */ .input-base { width: 100%; padding: 12px 16px; background: rgba(15, 23, 42, 0.45); border: 1px solid var(--border-color); border-radius: 8px; color: var(--text-main); font-family: var(--font-sans); font-size: 0.95rem; outline: none; transition: var(--transition-smooth); } .input-base:focus { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.15); } /* Tables */ .table-container { width: 100%; overflow-x: auto; border-radius: 8px; border: 1px solid var(--border-color); } .custom-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.88rem; } .custom-table th { background: rgba(6, 182, 212, 0.06); color: var(--color-primary); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--border-color); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; } .custom-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-color); color: var(--text-main); transition: var(--transition-smooth); } .custom-table tr:last-child td { border-bottom: none; } .custom-table tr:hover td { background: rgba(255, 255, 255, 0.02); } /* Tabs */ .tab-bar { display: flex; gap: 8px; border-bottom: 1px solid var(--border-color); margin-bottom: 24px; } .tab-btn { background: transparent; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; padding: 12px 16px; cursor: pointer; position: relative; transition: var(--transition-smooth); } .tab-btn:hover { color: var(--text-main); } .tab-btn.active { color: var(--color-primary); } .tab-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--color-primary); border-radius: 2px; box-shadow: var(--shadow-neon); } /* Modals */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(3, 7, 18, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; animation: fadeIn 0.25s ease-out; } .modal-content { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 18px; width: min(650px, 92vw); max-height: 85vh; display: flex; flex-direction: column; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7); overflow: hidden; } .modal-header { padding: 18px 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .modal-title { font-size: 1.15rem; font-weight: 700; color: var(--color-primary); } .modal-close-btn { background: transparent; border: none; color: var(--text-muted); cursor: pointer; transition: var(--transition-smooth); font-size: 1.2rem; } .modal-close-btn:hover { color: var(--color-primary); } .modal-body { padding: 24px; overflow-y: auto; } .modal-footer { padding: 16px 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: flex-end; gap: 12px; }