body {
  margin: 0;
  padding: 0;
  background: url('../imgs/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Tahoma, sans-serif;
  user-select: none;
}

#desktop {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* Ikony pulpitu */
.icon {
  width: 80px;
  text-align: center;
  color: white;
  margin: 20px;
  display: inline-block;
}

.icon img {
  width: 48px;
  height: 48px;
}

/* Pasek zadań */
#taskbar {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to top, #0a246a, #3a6ea5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.5);
  border-top: 2px solid #2e4f9c;
}

#taskbar .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

#taskbar .right {
  display: flex;
  align-items: center;
  color: white;
  font-size: 0.9em;
  font-family: monospace;
  padding-right: 10px;
  background-color: #1a347d;
  border: 2px inset #4e7dd2;
  border-radius: 4px;
  min-width: 70px;
  justify-content: center;
  height: 60%;
}


#start {
  background-color: #c3daf9;
  border: 2px outset #fff;
  padding: 5px 15px;
  font-weight: bold;
  color: black;
  cursor: pointer;
}

#start-menu {
  position: absolute;
  bottom: 40px;
  left: 10px;
  width: 200px;
  background: #ffffff;
  border: 2px outset #999;
  display: none;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4);
  z-index: 10;
}

#start-menu.active {
  display: block;
}

#start-menu p {
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

#start-menu p:hover {
  background-color: #b0c4de;
}

/* Okno */
.window {
  position: absolute;
  top: 100px;
  left: 100px;
  width: 300px;
  border: 2px outset #fff;
  background: #e0e0e0;
  display: none;
  z-index: 20;
}

.title-bar {
  background: linear-gradient(to right, #0a246a, #3a6ea5);
  color: white;
  padding: 5px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
}

.window-content {
  padding: 10px;
  background: #fff;
  color: black;
}

.explorer-content {
  display: flex;
}

.sidebar {
  width: 120px;
  background: #e0e0e0;
  border-right: 2px inset #aaa;
  padding: 10px;
}

.sidebar p {
  font-size: 0.9em;
  margin: 5px 0;
  display: flex;
  align-items: center;
}

.sidebar img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.filelist {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.file {
  width: 80px;
  text-align: center;
  font-size: 0.85em;
  color: black;
}

.file img {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 5px;
}

#notepad-area {
  width: 100%;
  height: 300px;
  border: none;
  padding: 10px;
  font-family: Consolas, monospace;
  font-size: 14px;
  resize: none;
  outline: none;
  background: #fff;
  color: #000;
}

#saper-game {
  padding: 10px;
  font-family: monospace;
  display: grid;
  grid-template-columns: repeat(8, 30px);
  gap: 2px;
}

#saper-game button {
  width: 30px;
  height: 30px;
  background-color: #c0c0c0;
  border: 1px solid #808080;
  font-weight: bold;
  cursor: pointer;
}
