/* ==========================================================
   LEVEL 6 — GLOBAL DARK THEME
   (Mirrors Level 11 + Level 12)
========================================================== */

.level6-screen {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  padding: 40px;
}

/* Visibility control — same rule */
.hidden {
  display: none;
}

/* When not hidden, screens naturally display as block */
.level6-screen:not(.hidden) {
  display: block;
}

/* ==========================================================
   TITLES
========================================================== */

.level6-screen .title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}

/* ==========================================================
   LEVEL 6 HEADER (Title + Home Button)
========================================================== */

.level6-screen .level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.level6-screen .homeBtn {
  background: #222;
  color: #fff;
  border: 1px solid #555;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
}

.level6-screen .homeBtn:hover {
  background: #333;
}

/* ==========================================================
   CONVERSATION WINDOW (Shared by all freeflow levels)
========================================================== */

.conversation-container {
  background: #0d0d0d;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 20px;
  height: 55vh;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Scrollbar styling */
.conversation-container::-webkit-scrollbar {
  width: 8px;
}
.conversation-container::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
.conversation-container::-webkit-scrollbar-track {
  background: #1a1a1a;
}

/* ==========================================================
   MESSAGE BUBBLES (Shared by all freeflow levels)
========================================================== */

.system-message,
.user-message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 12px;
  line-height: 1.5;
  font-size: 1.1rem;
}

/* System bubble */
.system-message {
  background: #222;
  border: 1px solid #444;
  align-self: flex-start;
  color: #eee;
}

/* User bubble */
.user-message {
  background: #2a4b8d;
  border: 1px solid #3a5bb0;
  align-self: flex-end;
  color: #fff;
}

/* ==========================================================
   INPUT AREA (Shared by all freeflow levels)
========================================================== */

.conversation-input {
  display: flex;
  gap: 10px;
  align-items: center;
}

.conversation-textbox {
  flex: 1;
  background: #111;
  border: 1px solid #444;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 1.1rem;
  resize: none;
  height: 70px;
  line-height: 1.4;
}

.conversation-textbox:focus {
  outline: none;
  border-color: #666;
}

/* Send button */
.sendBtn {
  background: #222;
  color: #fff;
  border: 1px solid #555;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

.sendBtn:hover {
  background: #333;
}
