/*
 * GOLPOOGRO - Real-time Notes Drawer Stylesheet
 * Custom notes cards, text inputs, annotation export grids and tactile notebooks
 */

/* Notes card list items inside drawer */
.notes-sidebar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.notes-sidebar-card:hover {
  background: rgba(197, 160, 89, 0.05);
  border-color: rgba(197, 160, 89, 0.25);
}

.notes-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.notes-card-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--reader-gold-accent);
}

.notes-card-time {
  font-size: 0.65rem;
  color: #71717a;
}

.notes-card-quote {
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.4;
  color: #a1a1aa;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  padding-left: 8px;
  margin-bottom: 10px;
}

.notes-card-content {
  font-size: 0.85rem;
  line-height: 1.45;
  color: #e4e4e7;
}

/* Actions inside notes card */
.notes-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  justify-content: flex-end;
}

.notes-card-btn-icon {
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s;
}

.notes-card-btn-icon:hover {
  color: var(--reader-gold-accent);
}

.notes-card-btn-icon.delete:hover {
  color: var(--accent-crimson);
}

/* Active notes author composing box overlay */
.note-composer-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  background: #18181b;
  border: 1px solid var(--lux-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.8);
  border-radius: 16px;
  padding: 20px;
  z-index: 1000;
  color: #fff;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.note-composer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(5px);
  z-index: 999;
}

.note-composer-textarea {
  width: 100%;
  height: 120px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px;
  color: #fff;
  font-size: 0.88rem;
  resize: none;
  outline: none;
  margin: 12px 0;
  transition: border-color 0.2s;
}

.note-composer-textarea:focus {
  border-color: var(--reader-gold-accent);
}

.note-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Notebook Export Utilities Layout */
.export-panel-banner {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.1) 0%, transparent 100%);
  border: 1px dashed var(--reader-gold-accent);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.export-panel-btn {
  background: var(--reader-gold-accent);
  color: #000;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  margin-top: 6px;
}

.export-panel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px var(--lux-gold-glow);
}
