.nade-map-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border: 2px solid #333;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
}

#nade-map-canvas {
  display: block;
  width: 100%;
  height: 600px;
  cursor: grab;
}

#nade-map-canvas:active {
  cursor: grabbing;
}

.nade-map-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 100;
  display: flex;
  gap: 5px;
}

.nade-map-controls button {
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.2s;
}

.nade-map-controls button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.nade-details {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.nade-details.hidden {
  opacity: 0;
  pointer-events: none;
}

.nade-details-content {
  background-color: #2c2c2c;
  border-radius: 8px;
  padding: 15px;
  width: 90%;
  max-width: 500px; /* Increased width */
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  position: relative;
  color: #fff;
}

.close-details {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 1;
}

.nade-name {
  font-size: 1.4em;
  margin-bottom: 10px;
  text-align: center;
  font-weight: bold;
}

.nade-image-container {
  width: 100%;
  background-color: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.nade-cursor-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.nade-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nade-throw-method {
  margin: 0;
  font-style: italic;
  color: #ccc;
}

.details-link {
  background-color: #4a5568;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.2s;
}

.details-link:hover {
  background-color: #2d3748;
}

.copy-setpos-button {
  background: none;
  border: 1px solid #555;
  color: white;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-setpos-button:hover {
  background-color: #444;
}

.nade-name {
  margin: 0;
  font-size: 18px;
  color: #fff;
}

.nade-cursor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nade-throw-method {
  margin: 0;
  font-size: 14px;
  color: #ccc;
  max-width: 250px;
}

.view-full-guide {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

.view-full-guide:hover {
  background: #45a049;
}

/* Nade type colors */
.nade-smoke { color: #9E9E9E; }
.nade-flash { color: #FFEB3B; }
.nade-he { color: #FF5722; }
.nade-molotov { color: #FF9800; }