/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(135deg, #1e1e2f, #2c3e50);
  font-family: 'Segoe UI', sans-serif;
  height: 100vh;
  overflow: hidden;
}

/* Área do desktop */
#desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Ícones de apps */
.icon {
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  color: #ecf0f1;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.icon i {
  font-size: 2em;
  margin-bottom: 8px;
}

.icon span {
  font-size: 0.9em;
}

/* Janela de aplicativo */
.window {
  background-color: #f4f4f4;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  z-index: 1000;
}

/* Cabeçalho da janela */
.window-header {
  background-color: #34495e;
  color: white;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  cursor: move;
}

.window-header i {
  margin-right: 8px;
}

.window-header .fechar {
  background: none;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.window-header .fechar:hover {
  color: #e74c3c;
}

/* Conteúdo da janela */
.window-content {
  width: 100%;
  height: calc(100% - 40px);
  background-color: white;
}

.window-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsivo */
@media (max-width: 600px) {
  #desktop {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .icon {
    width: 80px;
    height: 80px;
  }

  .icon i {
    font-size: 1.5em;
  }

  .icon span {
    font-size: 0.8em;
  }
}
