/* Key overlay styles */ #keyOverlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 1000; } .key-container { background: white; border-radius: 12px; padding: 30px; width: 90%; max-width: 400px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); text-align: center; } .key-title { font-size: 22px; font-weight: 600; margin-bottom: 20px; color: #4f46e5; display: flex; align-items: center; justify-content: center; gap: 12px; } .key-input { width: 100%; padding: 14px; border: 1px solid #e2e8f0; border-radius: 8px; font-size: 16px; margin-bottom: 15px; text-align: center; transition: all 0.3s; font-weight: 500; } .key-input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); outline: none; } .submit-btn { background: #6366f1; color: white; border: none; border-radius: 8px; padding: 12px 20px; font-size: 16px; font-weight: 500; cursor: pointer; width: 100%; transition: all 0.2s; } .submit-btn:hover { background: #4f46e5; transform: translateY(-2px); } .key-note { margin-top: 15px; font-size: 13px; color: #64748b; } /* Existing styles */ :root { --primary: #6366f1; --primary-dark: #4f46e5; --text: #1e293b; --text-light: #64748b; --border: rgba(0, 0, 0, 0.08); --card-bg: rgba(255, 255, 255, 0.9); --sidebar-bg: rgba(255, 255, 255, 0.85); --content-bg: rgba(248, 250, 252, 0.7); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; } body { background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%); height: 100vh; overflow: hidden; color: var(--text); } .app { display: flex; height: 100vh; } /* Sidebar */ .sidebar { width: 260px; background: var(--sidebar-bg); backdrop-filter: blur(12px); border-right: 1px solid var(--border); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; } .logo { font-size: 20px; font-weight: 600; margin-bottom: 30px; color: var(--primary); display: flex; align-items: center; gap: 10px; padding: 10px; } .logo::before { content: ""; display: block; width: 22px; height: 22px; background: linear-gradient(45deg, var(--primary), #8b5cf6); border-radius: 6px; } .search-box { margin-bottom: 20px; } .search-input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.9); font-size: 13px; outline: none; transition: all 0.2s; } .search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2); } .menu { display: flex; flex-direction: column; gap: 4px; } .menu-item { padding: 10px 14px; border-radius: 8px; cursor: pointer; color: var(--text-light); font-weight: 500; display: flex; align-items: center; gap: 10px; transition: all 0.2s ease; font-size: 14px; } .menu-item:hover, .menu-item.active { background: rgba(99, 102, 241, 0.08); color: var(--primary); } .menu-item i { width: 20px; text-align: center; font-size: 14px; } /* Main content */ .main-content { flex: 1; overflow-y: auto; background: var(--content-bg); backdrop-filter: blur(8px); display: flex; flex-direction: column; } .header { padding: 16px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); } .header h1 { font-size: 18px; font-weight: 600; } .tabs { display: flex; border-bottom: 1px solid var(--border); padding: 0 24px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); } .tab { padding: 14px 18px; cursor: pointer; font-weight: 500; color: var(--text-light); position: relative; font-size: 14px; transition: all 0.2s; } .tab:hover { color: var(--primary); } .tab.active { color: var(--primary); } .tab.active::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--primary); } .content { padding: 24px; flex: 1; } /* Data cards */ .card { background: var(--card-bg); border-radius: 10px; padding: 18px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03); backdrop-filter: blur(5px); border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; } .card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .card-title { font-size: 16px; font-weight: 600; margin-bottom: 14px; color: var(--primary); display: flex; align-items: center; gap: 10px; } .card-title i { font-size: 16px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: rgba(99, 102, 241, 0.1); border-radius: 6px; color: var(--primary); } .info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; } .info-item { margin-bottom: 8px; } .info-label { font-size: 12px; color: var(--text-light); margin-bottom: 2px; } .info-value { font-weight: 500; font-size: 14px; word-break: break-all; } .highlight { background: rgba(99, 102, 241, 0.1); padding: 2px 5px; border-radius: 4px; color: var(--primary); font-size: 12px; } .tag { display: inline-block; background: rgba(99, 102, 241, 0.1); color: var(--primary); padding: 2px 6px; border-radius: 4px; font-size: 11px; margin-right: 4px; margin-bottom: 4px; } /* Search styles */ .search-container { display: flex; gap: 10px; margin-bottom: 16px; } .search-field { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: rgba(255, 255, 255, 0.9); transition: all 0.2s; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); } .search-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); outline: none; } .search-btn { background: var(--primary); color: white; border: none; border-radius: 8px; padding: 0 20px; cursor: pointer; transition: all 0.2s; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 8px; } .search-btn:hover { background: var(--primary-dark); transform: translateY(-1px); } .search-btn i { font-size: 14px; } .loading { display: none; text-align: center; padding: 40px 20px; color: var(--text-light); flex-direction: column; align-items: center; gap: 12px; } .error-message { display: none; text-align: center; padding: 40px 20px; color: #ef4444; flex-direction: column; align-items: center; gap: 12px; } .icon { font-size: 24px; opacity: 0.8; } .result-container { display: none; animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* Content tabs */ .tab-content { display: none; } .tab-content.active { display: block; } /* Animations */ @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .spinner { animation: spin 1s linear infinite; } /* Improved results */ .result-item { padding: 16px; border-radius: 8px; background: rgba(255,255,255,0.7); margin-bottom: 12px; border: 1px solid var(--border); transition: all 0.2s; } .result-item:hover { background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.05); } .result-item-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .result-item-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: rgba(99, 102, 241, 0.1); border-radius: 8px; color: var(--primary); } .result-item-title { font-weight: 600; flex: 1; } .result-item-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 10px; } .result-item-content { font-size: 14px; line-height: 1.5; } /* Additional icon styles */ .fa-spinner { animation: spin 1s linear infinite; }