/* =========================================================
   tab-notas.css
   ========================================================= */

.notas-wrap { display: flex; flex-direction: column; gap: 0; height: 100%; }

/* ── Toolbar ─────────────────────────────────────────────── */
.notas-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; margin-bottom: 12px;
}
.notas-toolbar-left, .notas-toolbar-right {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.notas-meeting-id { font-size: 11px; color: #6b7280; }

/* ── Formato radio ───────────────────────────────────────── */
.notas-fmt-group {
  display: flex; align-items: center; gap: 8px;
  background: rgba(124,255,178,0.04);
  border: 1px solid rgba(124,255,178,0.12);
  border-radius: 8px; padding: 4px 10px;
}
.notas-fmt-label { font-size: 11px; color: #9aa4ad; font-weight: 600; }
.notas-fmt-opt {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: #e6e6e6; cursor: pointer;
}
.notas-fmt-opt input[type="radio"] { accent-color: #7cffb2; cursor: pointer; }

.notas-auto-dl {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: #9aa4ad; cursor: pointer;
}
.notas-auto-dl input[type="checkbox"] { accent-color: #7cffb2; cursor: pointer; }

/* ── Textarea ────────────────────────────────────────────── */
.notas-editor-wrap { flex: 1; min-height: 200px; }
.notas-textarea {
  width: 100%; height: 100%; min-height: 200px;
  padding: 14px 16px; box-sizing: border-box;
  background: rgba(124,255,178,0.03);
  border: 1px solid rgba(124,255,178,0.12);
  border-radius: 10px; color: #e6e6e6;
  font: 14px/1.6 system-ui, sans-serif;
  resize: vertical; transition: border-color 0.15s;
}
.notas-textarea:focus {
  outline: none;
  border-color: rgba(124,255,178,0.4);
  box-shadow: 0 0 0 1px rgba(124,255,178,0.1);
}
.notas-textarea::placeholder { color: #4b5563; }

/* ── Links rápidos ───────────────────────────────────────── */
.notas-links-section { }
.notas-links-list {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0;
}
.notas-link-item {
  display: flex; align-items: center; gap: 4px;
}
.notas-link-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid rgba(124,255,178,0.25);
  background: rgba(124,255,178,0.06);
  color: #b5ffe0; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
  white-space: nowrap;
}
.notas-link-btn:hover {
  background: rgba(124,255,178,0.14);
  border-color: rgba(124,255,178,0.5);
  box-shadow: 0 0 10px rgba(124,255,178,0.15);
}
.notas-link-icon { font-size: 16px; }
.notas-link-controls {
  display: flex; gap: 2px; opacity: 0; transition: opacity 0.15s;
}
.notas-link-item:hover .notas-link-controls { opacity: 1; }

/* ── Alarmas guardadas (en tab-tiempo) ───────────────────── */
.saved-alarms-wrap { }
.saved-alarm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 10px; border-radius: 7px; margin-bottom: 4px;
  background: rgba(124,255,178,0.04);
  border: 1px solid rgba(124,255,178,0.1);
  transition: background 0.12s;
}
.saved-alarm-row:hover { background: rgba(124,255,178,0.08); }
.saved-alarm-name { font-size: 13px; color: #e6e6e6; font-weight: 500; margin-right: 8px; }
.saved-alarm-time { font-size: 12px; color: #9aa4ad; font-variant-numeric: tabular-nums; }

/* ── Classic theme ───────────────────────────────────────── */
.theme-classic .notas-textarea       { background: #fff; border-color: #dcdfe4; color: #1f2937; }
.theme-classic .notas-textarea:focus { border-color: #0e72ed; box-shadow: none; }
.theme-classic .notas-textarea::placeholder { color: #9ca3af; }
.theme-classic .notas-fmt-group      { background: #f5f7fa; border-color: #dcdfe4; }
.theme-classic .notas-fmt-label      { color: #6b7280; }
.theme-classic .notas-fmt-opt        { color: #1f2937; }
.theme-classic .notas-fmt-opt input[type="radio"] { accent-color: #0e72ed; }
.theme-classic .notas-auto-dl        { color: #6b7280; }
.theme-classic .notas-auto-dl input[type="checkbox"] { accent-color: #0e72ed; }
.theme-classic .notas-link-btn       { border-color: #dcdfe4; background: #f5f7fa; color: #0e72ed; }
.theme-classic .notas-link-btn:hover { background: #eef2ff; border-color: #0e72ed; box-shadow: none; }
.theme-classic .saved-alarm-row      { background: #f5f7fa; border-color: #dcdfe4; }
.theme-classic .saved-alarm-row:hover { background: #eef2ff; }
.theme-classic .saved-alarm-name    { color: #1f2937; }

/* ── Auto-activar checkbox en alarmas guardadas ─────────── */
.saved-alarm-auto {
  display: flex; align-items: center; gap: 3px;
  cursor: pointer; padding: 3px 6px;
  border-radius: 5px; border: 1px solid rgba(124,255,178,0.15);
  background: transparent; transition: background 0.12s;
}
.saved-alarm-auto:hover { background: rgba(124,255,178,0.08); }
.saved-alarm-auto input[type="checkbox"] { accent-color: #7cffb2; cursor: pointer; }
.theme-classic .saved-alarm-auto { border-color: #dcdfe4; }
.theme-classic .saved-alarm-auto:hover { background: #eef2ff; }
.theme-classic .saved-alarm-auto input[type="checkbox"] { accent-color: #0e72ed; }

/* ── Emoji picker ────────────────────────────────────────── */
.notas-emoji-picker {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 8px; margin-top: 6px;
  background: #05070a;
  border: 1px solid rgba(124,255,178,0.2);
  border-radius: 8px;
  max-width: 280px;
}
.notas-emoji-opt {
  width: 32px; height: 32px;
  border: none; background: transparent;
  font-size: 18px; cursor: pointer;
  border-radius: 6px; transition: background 0.1s;
  padding: 0; line-height: 1;
}
.notas-emoji-opt:hover { background: rgba(124,255,178,0.12); }
.theme-classic .notas-emoji-picker { background: #fff; border-color: #dcdfe4; }
.theme-classic .notas-emoji-opt:hover { background: #eef2ff; }