/* Retro Windows-style CSS inspired by gorkem.cc */

@font-face {
  font-family: 'MS-Sans';
  src: url('https://unpkg.com/98.css@0.1.16/dist/ms_sans_serif.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'MS-Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  overflow: hidden;
  height: 100vh;
  background-color: #008080; /* Classic Windows teal */
  background-size: cover;
  background-position: center;
}

/* Background - Rosa */
body.bg-pink {
  background-color: #ff69b4;
}

/* Background - Classic */
body.bg-classic {
  background-image: url('images/backgrounds/classic.png');
  background-size: cover;
  background-position: center;
}

body.theme-dark.bg-nebula {
  background-image: url('images/backgrounds/nebula.png');
  background-size: 80%;
  background-position: center;
}

body.theme-dark.bg-nebula:before {
  background: none; /* Remove gradient when nebula background is active */
}

/* Tema escuro com efeitos neon */
body.theme-dark {
  background-color: #121212;
  color: #f0f0f0;
}

/* Efeito de fundo degradê para o tema escuro */
body.theme-dark:before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #121212, #2d0a3e);
  z-index: -1;
}

/* Resto do layout */
.desktop {
  width: 100%;
  height: calc(100vh - 30px);
  position: relative;
  padding: 10px;
  overflow: hidden;
}

/* Window Styling */
.window {
  position: absolute;
  background: #c0c0c0;
  border: 2px outset #dfdfdf;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  resize: both;
  overflow: auto;
}

body.theme-dark .window {
  background-color: #1e1e1e;
  border: 2px outset #333;
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

#welcome-window {
  top: 50px;
  left: 100px;
  width: 600px;
  height: 400px;
  z-index: 2;
}

#about-window {
  top: 100px;
  left: 200px;
  width: 400px;
  height: 450px;
  z-index: 1;
  display: none;
}

#bg-switcher {
  bottom: 50px;
  right: 50px;
  width: 250px;
  height: 150px;
  z-index: 3;
  display: none;
}

#cmd-window {
  top: 150px;
  left: 250px;
  width: 500px;
  height: 350px;
  z-index: 1;
  display: none;
}

#cmd-window .window-content {
  background-color: #000;
  padding: 0;
}

.window-header {
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  padding: 3px 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

body.theme-dark .window-header {
  background: linear-gradient(to right, #4a0080, #8000ff);
}

.window-title {
  font-weight: bold;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-dark .window-title {
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.7),
    0 0 8px rgba(255, 255, 255, 0.5);
}

.window-controls {
  display: flex;
}

.window-controls button {
  width: 16px;
  height: 14px;
  margin-left: 2px;
  font-size: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #fff;
  background: #c0c0c0;
  color: black;
  cursor: pointer;
}

body.theme-dark .window-controls button {
  background-color: #333;
  border: 1px solid #555;
  color: #fff;
}

.window-content {
  padding: 10px;
  flex: 1;
  overflow: auto;
  background: white;
}

body.theme-dark .window-content {
  background-color: #252525;
  color: #f0f0f0;
}

/* Text file styling */
.text-file {
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  height: 100%;
  overflow: auto;
  line-height: 1.2;
}

.text-file pre {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #000080;
}

body.theme-dark .text-file pre {
  color: #0cfa83; /* Verde neon brilhante */
  text-shadow: 
    0 0 5px rgba(12, 250, 131, 0.7),
    0 0 10px rgba(12, 250, 131, 0.5),
    0 0 15px rgba(12, 250, 131, 0.3);
  font-weight: bold;
}

/* Document file styling */
.doc-file {
  font-family: 'Times New Roman', Times, serif;
  padding: 15px;
  height: 100%;
  overflow: auto;
  line-height: 1.4;
  color: #000;
  background-color: #fff;
}

body.theme-dark .doc-file {
  background-color: #252525;
  color: #f0f0f0;
}

.doc-header {
  margin-bottom: 20px;
  border-bottom: 2px solid #000080;
  padding-bottom: 10px;
}

body.theme-dark .doc-header {
  border-bottom-color: #8000ff;
}

.doc-header h1 {
  font-size: 24px;
  color: #000080;
  margin-bottom: 5px;
}

body.theme-dark .doc-header h1 {
  color: #00aaff;
  text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.doc-metadata {
  font-size: 11px;
  color: #666;
  font-style: italic;
}

body.theme-dark .doc-metadata {
  color: #aaa;
}

.doc-content h2 {
  font-size: 18px;
  color: #000080;
  margin: 15px 0 10px 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
}

body.theme-dark .doc-content h2 {
  color: #ff46fd;
  text-shadow: 0 0 5px rgba(255, 70, 253, 0.5);
  border-bottom-color: #444;
}

.doc-content p {
  margin-bottom: 15px;
  text-align: justify;
}

.doc-image-container {
  margin: 15px 0;
  text-align: center;
  border: 1px solid #ccc;
  padding: 5px;
  background-color: #f8f8f8;
}

body.theme-dark .doc-image-container {
  background-color: #1a1a1a;
  border-color: #333;
}

.doc-image {
  max-width: 100%;
  max-height: 300px;
}

.image-caption {
  font-size: 12px;
  color: #555;
  margin-top: 5px;
  font-style: italic;
}

body.theme-dark .image-caption {
  color: #bbb;
}

.doc-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.doc-content li {
  margin-bottom: 5px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.tech-item {
  background-color: #e0e0e0;
  border: 1px outset #dfdfdf;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 3px;
}

body.theme-dark .tech-item {
  background-color: #333;
  border: 1px outset #555;
  color: #f0f0f0;
}

.doc-link-box {
  display: flex;
  align-items: center;
  margin-top: 20px;
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
}

body.theme-dark .doc-link-box {
  background-color: #1a1a1a;
  border: 1px solid #333;
}

.link-icon {
  font-size: 18px;
  margin-right: 10px;
}

.doc-link {
  color: #0000EE;
  text-decoration: underline;
}

body.theme-dark .doc-link {
  color: #00aaff;
  text-shadow: 0 0 3px rgba(0, 170, 255, 0.3);
}

/* About content styling */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.about-content h2 {
  margin-bottom: 10px;
  color: #000080;
}

/* Adding neon effect for the name in dark theme */
body.theme-dark .about-content h2 {
  color: #00aaff; /* Bright blue neon */
  text-shadow: 
    0 0 5px rgba(0, 170, 255, 0.7),
    0 0 10px rgba(0, 170, 255, 0.5),
    0 0 15px rgba(0, 170, 255, 0.3);
  font-weight: bold;
}

body.theme-dark .subtitle {
  color: #cccccc;
  text-shadow: 0 0 5px rgba(204, 204, 204, 0.5);
}

.about-content p {
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.4;
}

.stats {
  width: 100%;
  margin-top: 20px;
  border: 1px inset #dfdfdf;
  padding: 10px;
  background-color: #f0f0f0;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

/* Estilo do about.exe no tema escuro */
body.theme-dark .about-section {
  background-color: #1a1a1a;
  border: 1px solid #333;
}

body.theme-dark .about-section h3 {
  color: #ff46fd; /* Pink neon */
  text-shadow: 
    0 0 5px rgba(255, 70, 253, 0.7),
    0 0 10px rgba(255, 70, 253, 0.5),
    0 0 15px rgba(255, 70, 253, 0.3);
  border-bottom: 1px solid #444;
}

body.theme-dark .skill-item {
  background-color: #333;
  border: 1px solid #444;
  color: #f0f0f0;
}

body.theme-dark .skill-item:hover {
  background-color: #555;
  box-shadow: 0 0 5px #8000ff;
}

body.theme-dark .cat-quote {
  background-color: #2a0a3e;
  border: 1px solid #4a0080;
}

.desktop-icons {
  position: absolute;
  top: 15px;
  left: 15px;
  display: grid;
  grid-template-rows: repeat(auto-fill, 80px); 
  grid-auto-flow: column; 
  grid-auto-columns: 80px; 
  column-gap: 10px; 
  row-gap: 15px; 
  max-height: calc(100vh - 60px); 
  align-content: start;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  cursor: pointer;
}

.desktop-icon span {
  text-align: center;
  font-size: 12px;
  color: white;
  text-shadow: 1px 1px 1px black;
  word-break: break-word;
  background-color: transparent; /* Removido o fundo azul */
  padding: 2px;
  border-radius: 2px;
}

body.theme-dark .desktop-icon span {
  background-color: transparent;
  color: #f0f0f0;
  text-shadow: 0 0 5px #8000ff;
}

.desktop-icon:hover span {
  background-color: rgba(0, 0, 128, 0.3); /* Fundo azul mais sutil apenas no hover */
}

body.theme-dark .desktop-icon:hover span {
  background-color: rgba(128, 0, 255, 0.3);
}

.desktop-icon.selected span {
  background-color: rgba(0, 0, 128, 0.5); /* Fundo azul apenas quando selecionado */
}

body.theme-dark .desktop-icon.selected span {
  background-color: rgba(128, 0, 255, 0.5);
}

/* Background switcher */
.bg-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.bg-option {
  padding: 5px 10px;
  border: 2px outset #dfdfdf;
  background-color: #c0c0c0;
  cursor: pointer;
}

.bg-option:active {
  border-style: inset;
}

/* Dark theme styling for background changer buttons */
body.theme-dark .bg-option {
  background-color: #333;
  border: 2px outset #555;
  color: #f0f0f0;
}

body.theme-dark .bg-option:hover {
  background-color: #444;
}

body.theme-dark .bg-option:active {
  border-style: inset;
  background-color: #222;
}

/* Taskbar */
.taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: #c0c0c0;
  border-top: 2px solid #dfdfdf;
  display: flex;
  align-items: center;
  padding: 0 5px;
  z-index: 1000;
}

body.theme-dark .taskbar {
  background-color: #1a1a1a;
  border-top: 2px solid #333;
}

.start-button {
  display: flex;
  align-items: center;
  padding: 0 10px;
  height: 22px;
  margin-right: 5px;
  border: 2px outset #dfdfdf;
  background-color: #c0c0c0;
  font-weight: bold;
  cursor: pointer;
}

body.theme-dark .start-button {
  background-color: #252525;
  border: 2px outset #333;
  color: #f0f0f0;
}

.start-button:active {
  border-style: inset;
}

.taskbar-items {
  flex: 1;
  display: flex;
  gap: 5px;
  height: 22px;
  overflow-x: auto;
  overflow-y: hidden;
}

.taskbar-item {
  min-width: 100px;
  padding: 0 10px;
  border: 2px outset #dfdfdf;
  background-color: #c0c0c0;
  display: flex;
  align-items: center;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.theme-dark .taskbar-item {
  background-color: #252525;
  border: 2px outset #333;
  color: #f0f0f0;
}

.taskbar-item.active {
  border-style: inset;
  background-color: #dfdfdf;
}

.taskbar-time {
  padding: 0 10px;
  border: 2px inset #dfdfdf;
  height: 22px;
  display: flex;
  align-items: center;
  font-size: 11px;
  background-color: #f0f0f0;
}

body.theme-dark .taskbar-time {
  background-color: #252525;
  border: 2px inset #333;
  color: #ff46fd; /* Pink neon */
  text-shadow: 
    0 0 5px rgba(255, 70, 253, 0.7),
    0 0 8px rgba(255, 70, 253, 0.5);
}

/* Make windows draggable */
.window.active {
  z-index: 10 !important;
}

/* Menu Iniciar */
.start-menu {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 220px;
  background-color: #c0c0c0;
  border: 2px outset #dfdfdf;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 2000;
}

body.theme-dark .start-menu {
  background-color: #1a1a1a;
  border: 2px outset #333;
}

.start-menu-header {
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  padding: 5px 8px;
  display: flex;
  align-items: center;
}

body.theme-dark .start-menu-header {
  background: linear-gradient(to right, #4a0080, #8000ff);
}

.start-menu-title {
  font-weight: bold;
  font-size: 14px;
}

body.theme-dark .start-menu-title {
  text-shadow: 
    0 0 5px rgba(255, 255, 255, 0.7),
    0 0 8px rgba(255, 255, 255, 0.5);
}

.start-menu-items {
  display: flex;
  flex-direction: column;
  padding: 2px;
}

.start-menu-item {
  padding: 4px 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.start-menu-item:hover {
  background-color: #000080;
  color: white;
}

body.theme-dark .start-menu-item:hover {
  background-color: #8000ff;
}

.menu-icon {
  margin-right: 8px;
  font-size: 16px;
  width: 20px;
  display: flex;
  justify-content: center;
}

.start-menu-divider {
  height: 1px;
  background-color: #888;
  margin: 2px 0;
}

body.theme-dark .start-menu-divider {
  background-color: #444;
}

/* Estilos personalizados para about.exe */
.subtitle {
  font-size: 12px;
  color: #555;
  margin-bottom: 15px;
  text-align: center;
}

.about-section {
  margin-bottom: 15px;
  border: 1px solid #dfdfdf;
  padding: 8px;
  background-color: #f8f8f8;
}

.about-section h3 {
  font-size: 14px;
  color: #000080;
  margin-bottom: 8px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
}

.about-section ul {
  margin-left: 20px;
  padding-left: 0;
}

.about-section li {
  font-size: 12px;
  margin-bottom: 5px;
  line-height: 1.3;
}

.skills-box {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.skill-item {
  background-color: #e0e0e0;
  border: 1px outset #dfdfdf;
  font-size: 11px;
  padding: 2px 6px;
  cursor: default;
}

.skill-item:hover {
  background-color: #d0d0d0;
}

.stats-section {
  margin-top: 15px;
}

.cat-quote {
  display: flex;
  align-items: center;
  margin-top: 15px;
  padding: 8px;
  background-color: #ffffcc;
  border: 1px solid #ffcc00;
}

.cat-img {
  font-size: 24px;
  margin-right: 10px;
}

.quote {
  font-size: 12px;
  font-style: italic;
}

/* Retro terminal feature */
.retro-terminal {
  width: 100%;
  margin: 15px 0;
  border: 2px inset #888;
  background-color: #000;
  color: #0f0;
  font-family: 'Courier New', monospace;
}

.retro-terminal {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
  color: #0f0;
  font-family: 'Courier New', monospace;
}

body.theme-dark .retro-terminal {
  background-color: #000;
}

.terminal-header {
  background: linear-gradient(to right, #000080, #1084d0);
  color: white;
  padding: 3px 5px;
  font-size: 12px;
  font-family: 'MS-Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

.terminal-content {
  padding: 10px;
  font-size: 12px;
}

.terminal-line {
  margin-bottom: 4px;
  white-space: nowrap;
}

body.theme-dark .terminal-line,
body.theme-dark .prompt,
body.theme-dark .cursor,
body.theme-dark .terminal-text {
  color: #00ffd9; /* Cyan neon */
  text-shadow: 
    0 0 5px rgba(0, 255, 217, 0.7),
    0 0 10px rgba(0, 255, 217, 0.4);
}

.terminal-input {
  display: flex;
  margin-top: 10px;
}

.prompt {
  color: #0f0;
}

.cursor {
  color: #0f0;
  font-weight: bold;
  animation: blink 1s infinite;
  margin-left: 2px;
}

body.theme-dark .cursor {
  animation: neon-pulse 1.5s infinite ease-in-out;
}

@keyframes blink {
  0% { opacity: 0; }
  49% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}

/* Melhorias para textos neon no tema escuro */
@keyframes neon-pulse {
  0% { opacity: 1; text-shadow: 0 0 5px rgba(0, 255, 217, 0.7), 0 0 10px rgba(0, 255, 217, 0.4); }
  50% { opacity: 0.7; text-shadow: 0 0 2px rgba(0, 255, 217, 0.5), 0 0 5px rgba(0, 255, 217, 0.2); }
  100% { opacity: 1; text-shadow: 0 0 5px rgba(0, 255, 217, 0.7), 0 0 10px rgba(0, 255, 217, 0.4); }
}

.bg-info {
  margin-top: 10px;
  padding: 5px;
  font-size: 11px;
  color: #888;
  text-align: center;
  font-style: italic;
}

body.theme-dark .bg-info {
  color: #aaa;
}

/* Projects folder styling */
#projects-window {
  top: 120px;
  left: 180px;
  width: 400px;
  height: 300px;
  z-index: 1;
  display: none;
}

#project1-window {
  top: 80px;
  left: 120px;
  width: 600px;
  height: 450px;
  z-index: 1;
  display: none;
}

#project2-window {
  top: 100px;
  left: 150px;
  width: 600px;
  height: 450px;
  z-index: 1;
  display: none;
}

#project3-window {
  top: 100px;
  left: 150px;
  width: 600px;
  height: 450px;
  z-index: 1;
  display: none;
}

#project4-window {
  top: 100px;
  left: 150px;
  width: 600px;
  height: 450px;
  z-index: 1;
  display: none;
}

#project5-window {
  top: 100px;
  left: 150px;
  width: 600px;
  height: 450px;
  z-index: 1;
  display: none;
}

#project6-window {
  top: 100px;
  left: 150px;
  width: 700px;
  height: 450px;
  z-index: 1;
  display: none;
}

.folder-view {
  background-color: white;
  height: 100%;
  overflow: auto;
}

body.theme-dark .folder-view {
  background-color: #252525;
}

.folder-items {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  gap: 15px;
}

.folder-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  cursor: pointer;
  padding: 5px;
  border: 1px solid transparent;
}

.folder-item:hover {
  background-color: rgba(0, 0, 128, 0.1);
  border: 1px dotted #000080;
}

body.theme-dark .folder-item:hover {
  background-color: rgba(128, 0, 255, 0.2);
  border: 1px dotted #8000ff;
}

.folder-item.selected {
  background-color: rgba(0, 0, 128, 0.2);
  border: 1px dotted #000080;
}

body.theme-dark .folder-item.selected {
  background-color: rgba(128, 0, 255, 0.3);
  border: 1px dotted #8000ff;
}

.folder-item img {
  width: 32px;
  height: 32px;
  margin-bottom: 5px;
}

.folder-item span {
  font-size: 12px;
  text-align: center;
  word-break: break-word;
}

/* Add code block styling */
.code-block {
    background-color: #2b2b2b;
    border-radius: 5px;
    padding: 10px;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
}

.code-block code {
    color: #f8f8f2;
    display: block;
    white-space: pre;
    padding: 3px 0;
    font-size: 14px;
    line-height: 1.4;
}

/* CRT Screen Effect */
.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    opacity: 0.7; /* Reduced opacity */
}

.crt-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%); /* Reduced lines opacity */
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 9998;
}

.crt-flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 16, 16, 0.05); /* Reduced flicker opacity */
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}

.crt-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(18, 16, 16, 0) 80%, rgba(0, 0, 0, 0.3) 100%); /* Lighter vignette */
    pointer-events: none;
    z-index: 9997;
}

@keyframes flicker {
    0% { opacity: 0.27861; }
    5% { opacity: 0.34769; }
    10% { opacity: 0.23604; }
    15% { opacity: 0.90626; }
    20% { opacity: 0.18128; }
    25% { opacity: 0.83891; }
    30% { opacity: 0.65583; }
    35% { opacity: 0.67807; }
    40% { opacity: 0.26559; }
    45% { opacity: 0.84693; }
    50% { opacity: 0.96019; }
    55% { opacity: 0.08594; }
    60% { opacity: 0.20313; }
    65% { opacity: 0.71988; }
    70% { opacity: 0.53455; }
    75% { opacity: 0.37288; }
    80% { opacity: 0.71428; }
    85% { opacity: 0.70419; }
    90% { opacity: 0.7003; }
    95% { opacity: 0.36108; }
    100% { opacity: 0.24387; }
}

/* System Properties Window Styling */
#system-window {
    top: 80px;
    left: 150px;
    width: 450px;
    height: 500px;
    z-index: 1;
    display: none;
}

.system-properties {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.system-header {
    display: flex;
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

body.theme-dark .system-header {
    border-bottom-color: #444;
}

.system-icon {
    width: 48px;
    height: 48px;
    margin-right: 15px;
}

.system-info h2 {
    margin: 0 0 5px 0;
    color: #000080;
}

body.theme-dark .system-info h2 {
    color: #00aaff;
    text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.system-info p {
    margin: 2px 0;
    font-size: 12px;
}

.secret-text {
    font-style: italic;
    color: #555;
}

body.theme-dark .secret-text {
    color: #aaa;
}

.footnote {
    font-size: 9px;
    color: #888;
    margin-top: 5px !important;
}

.system-tabs {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding: 5px 10px 0 10px;
}

body.theme-dark .system-tabs {
    border-bottom-color: #444;
}

.tab {
    padding: 5px 10px;
    margin-right: 5px;
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    border-bottom: none;
    cursor: pointer;
    font-size: 11px;
    position: relative;
    top: 1px;
}

.active-tab {
    background-color: #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

body.theme-dark .tab {
    background-color: #333;
    border-color: #444;
    color: #ddd;
}

body.theme-dark .active-tab {
    background-color: #252525;
    border-bottom: 1px solid #252525;
    color: #ff46fd;
}

.system-details {
    flex: 1;
    padding: 15px;
    overflow: auto;
    background-color: #f0f0f0;
    border-top: none;
}

body.theme-dark .system-details {
    background-color: #252525;
}

.detail-section {
    margin-bottom: 15px;
}

.detail-section h3 {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #000080;
}

body.theme-dark .detail-section h3 {
    color: #ff46fd;
}

.detail-section p {
    margin: 3px 0;
    font-size: 11px;
    padding-left: 10px;
}

.fineprint {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 10px;
}

body.theme-dark .fineprint {
    border-top-color: #444;
}

.system-button {
    margin-top: 10px;
    padding: 3px 8px;
    background-color: #c0c0c0;
    border: 2px outset #dfdfdf;
    font-size: 11px;
    cursor: pointer;
}

body.theme-dark .system-button {
    background-color: #333;
    border: 2px outset #444;
    color: #ddd;
}

#recycle-bin-window, #leaked-stuff-window {
    top: 100px;
    left: 150px;
    width: 600px;
    height: 400px;
    z-index: 1;
    display: none;
}

/* Browser Window Styles */
.browser-interface {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #f0f0f0;
}

.browser-toolbar, .address-bar {
  display: flex;
  padding: 5px;
  background-color: #d4d0c8;
  border-bottom: 1px solid #808080;
}

.browser-button {
  margin-right: 5px;
  padding: 2px 8px;
  background-color: #d4d0c8;
  border: 2px outset #f0f0f0;
  font-size: 11px;
  cursor: pointer;
}

.address-bar {
  align-items: center;
}

.address-bar span {
  margin-right: 5px;
}

.address-bar input {
  flex: 1;
  height: 22px;
  border: 2px inset #fff;
  background-color: #fff;
  padding: 2px 5px;
  font-size: 12px;
}

.browser-content {
  flex: 1;
  overflow: auto;
  background-color: #fff;
  padding: 10px;
}

.webpage {
  font-family: 'Times New Roman', Times, serif;
}

.webpage h1 {
  color: #000080;
  border-bottom: 2px solid #000080;
  font-size: 24px;
  margin-bottom: 10px;
}

.last-updated {
  color: #808080;
  font-style: italic;
  font-size: 12px;
}

.video-section {
  margin: 20px 0;
}

.video-section h2 {
  color: #800000;
  font-size: 18px;
  margin-bottom: 10px;
}

.video-item {
  margin-bottom: 20px;
  border: 1px solid #ddd;
  padding: 10px;
  background-color: #f9f9f9;
}

.video-item h3 {
  color: #000080;
  margin-bottom: 5px;
}

.video-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.video-info a {
  color: #0000ff;
  text-decoration: underline;
}

.video-info a:visited {
  color: #800080;
}

.rating {
  color: #ffa500;
}

/* Browser Window Dark Mode Styles */
body.theme-dark .browser-interface {
  background-color: #252525;
  color: #f0f0f0;
}

body.theme-dark .browser-toolbar, 
body.theme-dark .address-bar {
  background-color: #2a2a2a;
  border-bottom: 1px solid #444;
}

body.theme-dark .browser-button {
  background-color: #333;
  border: 2px outset #444;
  color: #ddd;
}

body.theme-dark .browser-button:hover {
  background-color: #444;
}

body.theme-dark .browser-button:active {
  border-style: inset;
  background-color: #222;
}

body.theme-dark .address-bar input {
  background-color: #1a1a1a;
  border: 2px inset #444;
  color: #ddd;
}

body.theme-dark .browser-content {
  background-color: #1a1a1a;
}

body.theme-dark .webpage {
  color: #ddd;
}

body.theme-dark .webpage h1 {
  color: #00aaff;
  border-bottom-color: #444;
  text-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

body.theme-dark .last-updated {
  color: #aaa;
}

body.theme-dark .video-section h2 {
  color: #ff46fd;
  text-shadow: 0 0 5px rgba(255, 70, 253, 0.5);
}

body.theme-dark .video-item {
  background-color: #252525;
  border-color: #444;
}

body.theme-dark .video-item h3 {
  color: #00aaff;
}

body.theme-dark .video-info a {
  color: #3a97ff;
}

body.theme-dark .video-info a:visited {
  color: #cc78ff;
}

