body {margin: 0; padding: 0; background: #000; font-family: 'Segoe UI', Arial, sans-serif; overflow: hidden;}
#desktop {width: 100vw; height: 100vh; position: relative; background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%); background-size: 400% 400%; animation: gradientShift 15s ease infinite; overflow-x: hidden;}
#logo-overlay {position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; background: url('fond.png') no-repeat center center; background-size: contain; z-index: 0; pointer-events: none; opacity: 0.7;}
#taskbar {position: fixed; bottom: 0; left: 0; width: 100%; height: 32px; background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); display: flex; align-items: center; justify-content: center; padding: 0 16px; box-sizing: border-box; color: #eceff4; border-top: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); box-shadow: 0 -2px 10px rgba(0,0,0,0.2);}

#clock {font-size: 18px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.3); letter-spacing: 0.5px;}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
#icons {position: absolute; top: 48px; left: 32px; display: flex; flex-direction: column; gap: 24px;}
.icon {display: flex; flex-direction: column; align-items: center; cursor: pointer; width: 80px; padding: 8px; border-radius: 8px; transition: all 0.3s ease; background: rgba(255,255,255,0.05);}
.icon:hover {background: rgba(255,255,255,0.15); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2);}
.icon svg {width: 36px; height: 36px; margin-bottom: 8px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); transition: transform 0.2s ease;}
.icon:hover svg {transform: scale(1.1);}
.icon span {display: block; margin-top: 4px; font-size: 12px; font-family: 'Segoe UI', Arial, sans-serif; color: #eceff4; font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.icon:focus {outline: 2px solid #5e81ac; outline-offset: 2px;}
#window {position: absolute; width: 400px; height: 400px; border-radius: 12px; background: #3A4556; box-shadow: 0 4px 24px rgba(0,0,0,0.18); overflow: hidden;}
.window-header {height: 32px; border-top-left-radius: 12px; border-top-right-radius: 12px; background: #2C3444; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: flex; align-items: center; padding: 0 24px; overflow: hidden;}
#window-content {width: 100%; height: calc(100% - 32px); border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; background: #000; overflow-y: auto; padding: 16px 0 0 0;}
#terminal-output {background: #000; color: #fff;}
#terminal-input {width: 100%; padding: 8px; border-radius: 4px; border: 1px solid #4c566a; font-size: 15px;}
.hidden {display: none;}
.window-header button {background: transparent !important; border: none !important; outline: none !important; box-shadow: none !important; color: #eceff4; border-radius: 4px; padding: 2px 8px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;}
.window-header button:focus, .window-header button:active, .window-header button:hover {background: transparent !important; border: none !important; outline: none !important; box-shadow: none !important;}
.window-header {background: #2C3444;}
.terminal {position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: #000 !important; color: #fff !important; border: none; box-shadow: none; font-family: 'Fira Mono', 'Consolas', monospace; font-size: 1.1em; overflow: hidden;}
#window-content {background: #000;}
/* Scrollbars esthétiques pour toutes les fenêtres */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: rgba(60, 67, 81, 0.3);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #5e81ac, #81a1c1);
  border-radius: 6px;
  border: 1px solid rgba(236, 239, 244, 0.1);
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #81a1c1, #88c0d0);
  box-shadow: 0 2px 8px rgba(94, 129, 172, 0.3);
}
::-webkit-scrollbar-track {
  background: rgba(46, 52, 64, 0.2);
  border-radius: 6px;
}
::-webkit-scrollbar-corner {
  background: rgba(60, 67, 81, 0.3);
}
/* Support Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #5e81ac rgba(60, 67, 81, 0.3);
}
.files-list .file-item {margin-bottom: 6px; padding-top: 4px; padding-bottom: 4px;}
.servers-list {
  padding-bottom: 24px;
  box-sizing: border-box;
}
.servers-list .server-item {
  margin-bottom: 6px;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Styles pour le MD5 Decoder */
.md5-decoder {
  background: rgba(20, 30, 50, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  max-height: 90vh;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}



.md5-decoder h3 {
  color: #64c8ff;
  margin-bottom: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.md5-decoder .section {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 15px;
  margin-bottom: 20px;
}

.md5-decoder .section h4 {
  color: #64c8ff;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}



.md5-decoder input, .md5-decoder textarea {
  width: 100%;
  padding: 8px;
  margin: 4px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 14px;
  box-sizing: border-box;
}

.md5-decoder input:focus, .md5-decoder textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.md5-decoder textarea {
  resize: vertical;
  min-height: 60px;
}

.md5-decoder button {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  color: white;
  padding: 8px;
  margin: 4px 0;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
}

.md5-decoder button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.md5-decoder .result-area {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 10px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-family: monospace;
  font-size: 12px;
  min-height: 40px;
  word-wrap: break-word;
}

.md5-decoder .tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.md5-decoder .history-section {
  background: rgba(20, 30, 60, 0.4);
  border: 1px solid rgba(100, 200, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  max-height: 250px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 200, 255, 0.5) transparent;
  transition: all 0.3s ease;
}

.md5-decoder .history-section::-webkit-scrollbar {
  width: 8px;
}

.md5-decoder .history-section::-webkit-scrollbar-track {
  background: rgba(20, 20, 40, 0.3);
  border-radius: 3px;
}

.md5-decoder .history-section::-webkit-scrollbar-thumb {
  background: rgba(100, 200, 255, 0.5);
  border-radius: 3px;
}

.md5-decoder .history-section::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 200, 255, 0.7);
}

.md5-decoder .history-section:hover {
  border-color: rgba(100, 200, 255, 0.4);
  box-shadow: 0 4px 16px rgba(100, 200, 255, 0.1);
}

.md5-decoder .history-section h4 {
  color: rgba(100, 200, 255, 0.9);
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 600;
}