body {
  margin: 0;
  background: url('images/background.png') no-repeat center center/cover;
  height: 100vh;
  overflow: hidden;
  font-family: monospace;
  color: white;
}
@media (max-width: 600px) {
  #terminal, #scanner {
    width: 90%;
    font-size: 14px;
  }
}

#topBar {
  background: #222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  position: fixed;
  width: 100%;
  height: 40px;
  z-index: 1000;
}

.left-icons {
  display: flex;
  gap: 15px;
}

.top-icon {
  width: 40px; 
  height: 40px; 
  cursor: pointer;
}

#desktop {
  padding-top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 20px;
}

.icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#urlInput {
  position: absolute;
  top: 100px;
  right: 20px;
  width: 250px;
  margin-top: 10px;
}

#scanButton {
    position: absolute;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  top: 130px;
  right: 20px;
  width: 258px;
  margin-top: 10px;
}


.scanner {
  position: fixed;
  top: 100px;
  right: 200px;
  width: 300px;
  background-color: #9b9b9b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.scanner input, .scanner button {
  width: 90%;
  padding: 10px;
  margin-top: 10px;
}

.scanner h2 {
  text-align: center;
  margin-bottom: 10px;
}

#terminal {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 600px;
  background: #1a1a1a;
  border: 2px solid #555;
  border-radius: 8px;
  z-index: 1001;
}

.terminal-header {
  background: #333;
  padding: 8px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #444;
}

.buttons button {
  background: #555;
  color: white;
  border: none;
  padding: 2px 8px;
  margin-left: 5px;
  cursor: pointer;
  border-radius: 3px;
}

#terminalBody {
  padding: 10px;
  height: 300px;
  overflow-y: auto;
}

#inputLine {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #444;
}

.prompt {
  margin-right: 5px;
  color: lightgreen;
}

#commandInput {
  flex-grow: 1;
  background: black;
  color: white;
  border: none;
  outline: none;
  font-family: monospace;
  font-size: 14px;
}

.hidden {
  display: none;
}

/* Scanning bar moved to the right */
#scanResult {
  text-align: right;
  position: absolute;
  top: 160px;
  right: 20px;
}

#scanningBar {
  width: 0%;
  height: 5px;
  background-color: #4caf50;
}
