/* ========================================== ADMIN PANEL - Modal & Tabs Basic modal structure and navigation ========================================== */ .admin-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 10000; justify-content: center; align-items: center; backdrop-filter: blur(4px); } .admin-modal.active { display: flex; } .admin-modal-content { background: var(--bp-surface); border-radius: 16px; width: 95%; max-width: 1000px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 1px solid var(--bp-border); } .admin-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--bp-border); } .admin-modal-header h2 { margin: 0; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; } .admin-tabs { display: flex; gap: 4px; padding: 12px 24px; border-bottom: 1px solid var(--bp-border); background: var(--bp-surface-elevated); } .admin-tab { padding: 8px 16px; border: none; background: transparent; color: var(--bp-text-muted); cursor: pointer; border-radius: 8px; font-size: 13px; transition: all 0.2s ease; } .admin-tab:hover { background: var(--bp-border-subtle); color: var(--bp-text); } .admin-tab.active { background: var(--bp-primary); color: white; } .admin-body { padding: 24px; overflow-y: auto; flex: 1; } .admin-content { display: none; } .admin-content.active { display: block; } .admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; } .admin-toolbar-left { display: flex; gap: 12px; align-items: center; } .admin-search { padding: 8px 12px; border: 1px solid var(--bp-border); border-radius: 8px; background: var(--bp-surface-elevated); color: var(--bp-text); width: 250px; } /* Light Mode */ [data-theme="light"] .admin-modal-content { background: var(--bp-surface); border-color: var(--bp-border); } [data-theme="light"] .admin-tabs { background: var(--bp-bg); } [data-theme="light"] .admin-tab.active { background: var(--bp-primary); color: white; }