/* ---- Title row: document icon + filename, own full-width bar, with -----
   Open/Save/Export docked to the right — matches Google Docs, where the
   File/Insert/Format/View menu is a SEPARATE row directly underneath,
   not crammed onto the same line as the filename. ---------------------- */
.docx-editor-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  background: var(--de-surface);
  border-bottom: 1px solid var(--de-toolbar-border);
  flex-shrink: 0;
  position: relative;
  z-index: 70; /* above menu bar/toolbar so its dropdowns overlay everything */
}
.docx-editor-title-row__spacer {
  flex: 1 1 auto;
  min-width: 8px;
}

.docx-editor-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.docx-editor-header-actions__divider {
  width: 1px;
  height: 20px;
  background: var(--de-toolbar-border);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ---- Title bar: document icon + filename --------------------------- */
.docx-editor-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--de-text);
  flex-shrink: 0;
  min-width: 0;
}

.docx-editor-title-bar__logo {
  flex-shrink: 0;
}

.docx-editor-title-bar__filename-input {
  width: 220px;
  min-width: 0;
  font: inherit;
  font-weight: 500;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 2px 6px;
  outline: none;
}
.docx-editor-title-bar__filename-input:focus {
  border-color: var(--de-accent);
  background: #fff;
}
