/* HELP & UTILS */
.terminal-output {
  padding-left: 2px;
  white-space: pre-wrap;
}

.terminal-output hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.links {
  color: #05CDE5;
}

.resp {
  color: var(--color-text);
}

.output {
  color: #05CDE5;
}

.error {
  color: var(--color-error);
  margin-left: 5px;
}

.info {
  color: var(--terminal-output);
}

.info2 {
  white-space: normal;
}

.pre-wrap {
  white-space: pre-wrap;
}

.membership {
  white-space: pre-line;
}

.cmd_output {
  white-space: normal;
}

.close-btn {
  color: var(--red-500);
}

.close-btn:hover {
  color: var(--red-600);
}

#help-submenu {
  margin-top: 10px;
}

/* Example: Making all icons in your Help Menu 1.2em */
.help-grid i.ph,
.help-grid i.ph-fill {
  font-size: var(--icon-md);
}



/* Icon Colors */
.err {
  color: var(--color-error);
}

.nutral {
  color: var(--color-neutral);
}

.warn {
  color: var(--color-warning);
}

.important {
  color: var(--color-important);
}

.output a {
  text-decoration: none;
}

.output a:hover {
  text-decoration: underline;
}

.help {
  white-space: normal;
  margin-top: -30px;
}

.help-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 20px 0;
  flex-direction: column;
}

@media (min-width: 940px) {
  .help-grid {
    flex-direction: row;
  }
}

.help-grid>div {
  flex: 1 1 100%;
  min-width: 180px;
  color: var(--color-text);
  font-weight: bold;
}

@media (min-width: 940px) {
  .help-grid>div {
    flex: 1 1 45%;
  }
}

.help-header {
  font-weight: bold;
  font-size: 1em;
  margin-bottom: 1px;
}

#help-submenu {
  margin-top: 20px;
}

/* File Directory */
.ls-column-view {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 6px;
  white-space: pre;
  margin: 0px 0;
  padding-left: 2px;
}

.ls-entry {
  cursor: pointer;
  min-width: 120px;
  padding: 3px;
  user-select: none;
}

.ls-entry:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 3px;
  border: 0px solid #ccc;
  border-radius: 3px;
}

.ls-sub {
  margin-left: 16px;
  margin-top: 4px;
}

/* File Types */
.file-txt {
  color: #00ffff;
}

.file-md {
  color: #ffaa00;
}

.file-css {
  color: #00DDFF;
}

.file-json {
  color: #ffff00;
}

.fa-file-zipper {
  color: #888888;
}

.file-js {
  color: #f7df1e;
}

.file-pdf {
  color: #ff4444;
}

.file-html {
  color: #66ccff;
}

.file-env {
  color: #ff00ff;
}

.file-db {
  color: #00ff00;
}

.file-cfg {
  color: #00ffcc;
}

.file-key {
  color: #ff4444;
}

.file-enc {
  color: #888888;
}

.file-default {
  color: #00ff00;
}

.back-button {
  font-size: 1em;
  padding: 2px;
  cursor: pointer;
  width: fit-content;
}

.back-button:hover {
  color: var(--color-text);
}

.chat-header {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-weight: bold;
  font-family: 'Roboto Mono', Inconsolata, monospace;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

 
/* MISC */
.contact,
.sitemap,
.books,
.status {
  white-space: normal;
}

.focus-mode {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  color: #808080;
  font-family: terminus;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: var(--z-overlay);
}

.focus-title {
  font-weight: 800;
  color: #333;
  font-family: terminus;
  font-size: 48px;
  text-align: center;
}

@media (min-width: 940px) {
  .focus-title {
    text-align: left;
  }
}

.focus-timer {
  font-size: 36px;
  margin-top: 20px;
}

.focus-exit {
  margin-top: 30px;
  font-size: 18px;
}


/* LIGHTBOX */

.lightbox-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  cursor: pointer;
  transform: none;
  filter: none;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  margin: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


.success-message {
  display: block;
  color: var(--color-success);
  font-weight: bold;
  border-top: 1px dashed #333;
  padding-top: 15px;
}

#debug-status {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  width: auto;
  background: rgba(0, 0, 0, 0.7);
  color: rgb(219, 7, 0);
  font-family: SF Mono, monospace;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: var(--z-window);
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.4s ease-in forwards;
  white-space: nowrap;
  display: inline-block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.app-window[data-title="System Update"] {
  animation: slideUp 0.5s ease-out;
}