:root { --bg: #0a0a0b; --card: #141417; --accent: #d4af37; --text: #e0e0e0; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', sans-serif; margin: 0; display: flex; overflow: hidden; }

/* Sidebar */
.side-nav { width: 280px; height: 100vh; background: var(--card); border-right: 1px solid #222; padding: 30px; display: flex; flex-direction: column; }
.logo-img { height: 45px; margin-bottom: 25px; filter: drop-shadow(0 0 5px rgba(212,175,55,0.3)); }
.nav-links a { display: block; padding: 12px 15px; color: #888; text-decoration: none; border-radius: 6px; margin-bottom: 5px; transition: 0.2s; }
.nav-links a.active, .nav-links a:hover { background: #1a1a1d; color: var(--accent); }

/* Main Content */
.viewport { flex: 1; padding: 50px; height: 100vh; overflow-y: auto; }
.view-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.search-wrap { background: var(--card); border: 1px solid #333; padding: 10px 20px; border-radius: 50px; width: 400px; display: flex; align-items: center; }
.search-wrap input { background: transparent; border: none; color: #fff; padding-left: 15px; width: 100%; outline: none; }

.registry-card { background: var(--card); border-radius: 12px; padding: 25px; border: 1px solid #222; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; color: #555; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; padding-bottom: 20px; }
td { padding: 18px 0; border-top: 1px solid #222; }

/* Side-Out Panels */
.side-panel { position: fixed; right: -420px; top: 0; width: 380px; height: 100vh; background: #1a1a1d; border-left: 2px solid var(--accent); padding: 40px; transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 100; box-shadow: -20px 0 50px rgba(0,0,0,0.6); }
.side-panel.active { right: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; border-bottom: 1px solid #333; padding-bottom: 15px; }

.field { margin-bottom: 25px; }
.field label { display: block; color: #777; font-size: 12px; margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; background: #000; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 6px; box-sizing: border-box; }

.btn-primary { width: 100%; background: var(--accent); color: #000; border: none; padding: 15px; font-weight: bold; border-radius: 6px; cursor: pointer; }
.edit-btn { margin-left: 12px; color: var(--accent); cursor: pointer; opacity: 0.5; transition: 0.2s; }
.edit-btn:hover { opacity: 1; }