/* === TOAST === */ .toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 10px; font-size: 0.9em; font-weight: 500; opacity: 0; transition: opacity 0.3s ease; z-index: 1000; pointer-events: none; } .toast.show { opacity: 1; } /* === MODAL === */ .modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.85); display: none; align-items: center; justify-content: center; z-index: 100; } .modal-overlay.open { display: flex; } .modal { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 14px; width: 90%; max-width: 620px; max-height: 80vh; overflow: hidden; } .modal-header { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; } .modal-title { font-size: 1.15em; color: var(--text); font-weight: 600; } .modal-close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.5em; padding: 4px 8px; } .modal-close:hover { color: var(--text); } .modal-body { padding: 22px; overflow-y: auto; max-height: calc(80vh - 65px); } .api-item { margin-bottom: 18px; } .api-endpoint { font-family: monospace; font-size: 0.9em; color: var(--accent); background: var(--bg-card); padding: 12px 14px; border-radius: 8px; } .api-desc { font-size: 0.85em; color: var(--text-muted); margin-top: 8px; } /* === EMPTY STATE === */ .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); gap: 16px; } .empty-state-icon { font-size: 4em; opacity: 0.4; } /* === LOADING === */ .loading { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); gap: 14px; font-size: 1em; } .loading::after { content: ""; width: 28px; height: 28px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }