/* ════════════════════════════════════════════════════════════
   LOCKER — Deliberately plain, disconnected from app's design
   No brand colours, no Theme BG, no bubbles. Looks like nothing.
   ════════════════════════════════════════════════════════════ */

#locker-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: #000000;
  display: flex; align-items: center; justify-content: center;
}

#locker-unlock-box {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center;
}

#locker-pin-input, #locker-setup-pin1, #locker-setup-pin2 {
  width: 220px;
  padding: 12px 14px;
  font-size: 22px;
  letter-spacing: 6px;
  text-align: center;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  color: #eee;
  outline: none;
  font-family: monospace;
}
#locker-pin-input:focus, #locker-setup-pin1:focus, #locker-setup-pin2:focus {
  border-color: #555;
}

#locker-pin-error {
  font-size: 11px;
  color: #888;
  min-height: 14px;
  text-align: center;
  font-family: sans-serif;
}

#locker-setup-hint {
  font-size: 11px;
  color: #777;
  text-align: center;
  max-width: 240px;
  font-family: sans-serif;
  margin-bottom: 4px;
}

.locker-shake {
  animation: locker-shake-anim 0.4s;
}
@keyframes locker-shake-anim {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* ── Main locker page ── */
#locker-page {
  position: fixed; inset: 0; z-index: 99998;
  background: #0d0d0d;
  display: flex;
  font-family: monospace;
}

#locker-sidebar {
  width: 220px;
  background: #141414;
  border-right: 1px solid #2a2a2a;
  display: flex; flex-direction: column;
  padding: 12px 0;
}

#locker-new-btn {
  margin: 0 12px 10px;
  padding: 8px 10px;
  background: #1f1f1f;
  border: 1px solid #333;
  border-radius: 5px;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  text-align: center;
}
#locker-new-btn:hover { background: #262626; color: #ccc; }

#locker-note-list {
  flex: 1;
  overflow-y: auto;
}

.locker-note-item {
  padding: 9px 14px;
  font-size: 12px;
  color: #777;
  cursor: pointer;
  border-left: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.locker-note-title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.locker-note-del {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  color: #555;
  border-radius: 3px;
  opacity: 0;
  transition: opacity .15s, color .15s, background .15s;
}
.locker-note-item:hover .locker-note-del { opacity: 1; }
.locker-note-del:hover { color: #f44; background: #2a1414; }
.locker-note-item:hover { background: #1a1a1a; color: #aaa; }
.locker-note-active {
  background: #1a1a1a;
  color: #ddd;
  border-left-color: #555;
}

#locker-changepin-btn {
  margin: 4px 12px 0;
  padding: 7px 10px;
  text-align: center;
  font-size: 11px;
  color: #666;
  cursor: pointer;
}
#locker-changepin-btn:hover { color: #999; }

#locker-lock-btn {
  margin: 10px 12px 0;
  padding: 8px 10px;
  text-align: center;
  font-size: 11px;
  color: #666;
  border-top: 1px solid #2a2a2a;
  padding-top: 12px;
  cursor: pointer;
}
#locker-lock-btn:hover { color: #999; }

#locker-editor-wrap {
  flex: 1;
  display: flex;
}

#locker-editor {
  flex: 1;
  background: #0d0d0d;
  border: none;
  outline: none;
  resize: none;
  padding: 24px 28px;
  color: #ddd;
  font-size: 14px;
  font-family: monospace;
  line-height: 1.6;
}
#locker-editor::placeholder { color: #444; }
