/* Notebook Component - Lake Wequaquet */

/* Notebook Button */
.notebook-btn { position: fixed; bottom: 16px; right: 16px; z-index: 100; font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: #607080; background: rgba(10,15,25,0.85); border: 1px solid rgba(100,150,255,0.15); padding: 10px 14px; border-radius: 4px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.notebook-btn .drag-handle { margin-right: 2px; }
.notebook-btn:hover { background: rgba(30,45,70,0.9); color: #8aa0c0; }
.notebook-btn .count { color: #8090a0; margin-left: 6px; }

/* Notebook Panel */
.notebook { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(12,16,24,0.98); z-index: 230; display: none; flex-direction: column; overflow: hidden; }
.notebook.visible { display: flex; }
.notebook-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(100,150,255,0.1); }
.notebook-title { font-family: 'Crimson Text', serif; font-size: 1.4rem; color: #b0c0d0; }
.notebook-close { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: #6080a0; background: none; border: 1px solid rgba(100,150,255,0.2); padding: 6px 12px; border-radius: 4px; cursor: pointer; }
.notebook-close:hover { background: rgba(60,100,150,0.2); }

/* Notebook Tabs */
.notebook-tabs { display: flex; gap: 4px; padding: 12px 24px; border-bottom: 1px solid rgba(100,150,255,0.08); }
.notebook-tab { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; color: #506070; background: none; border: none; padding: 8px 14px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.notebook-tab:hover { color: #7090b0; background: rgba(60,100,150,0.1); }
.notebook-tab.active { color: #a0b5c8; background: rgba(60,100,150,0.2); }

/* Notebook Content */
.notebook-content { flex: 1; overflow-y: auto; padding: 20px 24px; }

/* Favorites List */
.favorites-empty { color: #506070; font-family: 'Crimson Text', serif; font-size: 1rem; font-style: italic; padding: 40px; text-align: center; }
.favorite-item { background: rgba(40,60,100,0.12); border: 1px solid rgba(100,150,255,0.1); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; cursor: pointer; transition: all 0.2s; position: relative; }
.favorite-item:hover { background: rgba(60,80,120,0.2); border-color: rgba(100,150,255,0.2); }
.favorite-constellation { font-family: 'IBM Plex Mono', monospace; font-size: 0.6rem; color: #5070a0; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.favorite-culture { font-family: 'Crimson Text', serif; font-size: 1.1rem; color: #b0c0d0; margin-bottom: 6px; }
.favorite-short { font-size: 0.8rem; color: #6080a0; line-height: 1.4; margin-bottom: 10px; }
.favorite-meta { display: flex; justify-content: space-between; align-items: center; }
.favorite-themes { display: flex; flex-wrap: wrap; gap: 5px; }
.favorite-themes .theme-tag { font-size: 0.55rem; padding: 2px 6px; }
.favorite-remove { font-size: 0.6rem; color: #605050; background: none; border: 1px solid rgba(150,100,100,0.2); padding: 4px 8px; border-radius: 3px; cursor: pointer; opacity: 0; transition: opacity 0.2s; }
.favorite-item:hover .favorite-remove { opacity: 1; }
.favorite-remove:hover { background: rgba(150,80,80,0.2); color: #a07070; }
.favorite-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(100,150,255,0.08); }
.favorite-note-text { font-family: 'Crimson Text', serif; font-size: 0.85rem; color: #8095a8; font-style: italic; }
.favorite-note-edit { font-size: 0.6rem; color: #506070; background: none; border: none; padding: 2px 6px; cursor: pointer; margin-left: 8px; }
.favorite-note-edit:hover { color: #7090b0; }

/* Connections View */
.connections-view { min-height: 400px; }
.connections-hint { color: #506070; font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; margin-bottom: 16px; }
.connection-group { margin-bottom: 24px; }
.connection-theme { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: #7090b0; margin-bottom: 10px; padding: 6px 10px; background: rgba(60,100,150,0.15); border-radius: 4px; display: inline-block; }
.connection-stories { display: flex; flex-wrap: wrap; gap: 8px; }
.connection-story { font-family: 'Crimson Text', serif; font-size: 0.85rem; color: #8095a8; background: rgba(40,60,100,0.15); padding: 6px 12px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.connection-story:hover { background: rgba(60,80,120,0.25); color: #a0b5c8; }

/* Note Input Modal */
.note-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(20,28,40,0.98); border: 1px solid rgba(100,150,255,0.2); border-radius: 8px; padding: 20px; z-index: 240; width: 90%; max-width: 400px; display: none; }
.note-modal.visible { display: block; }
.note-modal-title { font-family: 'IBM Plex Mono', monospace; font-size: 0.7rem; color: #7090b0; margin-bottom: 12px; }
.note-modal textarea { width: 100%; height: 100px; background: rgba(10,15,25,0.8); border: 1px solid rgba(100,150,255,0.15); border-radius: 4px; color: #b0c0d0; font-family: 'Crimson Text', serif; font-size: 0.9rem; padding: 10px; resize: none; }
.note-modal textarea:focus { outline: none; border-color: rgba(100,150,255,0.3); }
.note-modal-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.note-modal-btn { font-family: 'IBM Plex Mono', monospace; font-size: 0.65rem; padding: 6px 12px; border-radius: 4px; cursor: pointer; }
.note-modal-cancel { background: none; border: 1px solid rgba(100,150,255,0.15); color: #607080; }
.note-modal-save { background: rgba(60,100,150,0.3); border: 1px solid rgba(100,150,255,0.25); color: #a0b5c8; }
