/* style.css */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #121212;
  color: #f0f0f0;
  margin: 0;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  color: #ffffff;
  font-size: 2.5rem;
}

nav {
  background-color: #333;
  padding: 10px;
  border-radius: 8px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover {
  background-color: #444;
}

#tierlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tier-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px;
}

.tier-label {
  min-width: 100px;
  padding: 10px;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-align: center;
  cursor: text;
}

.drop-zone {
  flex-grow: 1;
  min-height: 60px;
  background: #2a2a2a;
  border: 2px dashed #444;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
}

.tier-item {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: move;
  border-radius: 4px;
  border: 1px solid #555;
  position: relative;
}

.tier-item:hover {
  opacity: 0.8;
}

.show-delete-icon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255, 0, 0, 0.7);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
  cursor: pointer;
  color: white;
  font-size: 16px;
}

.show-delete-icon:hover {
  background-color: rgba(255, 0, 0, 1);
}

#image-upload {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  color: white;
  border: 1px solid #444;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1000;
}

#options {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

input[type="text"] {
  background-color: #1e1e1e;
  color: white;
  border: 1px solid #444;
  padding: 6px 10px;
  border-radius: 6px;
  width: 200px;
}

input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 2px #444;
  background-color: transparent;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

button {
  background-color: #333;
  color: white;
  border: 1px solid #555;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

button:hover {
  background-color: #444;
}

#unusedImages {
  background: #1e1e1e;
  padding: 15px;
  border: 2px dashed #555;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  border-radius: 8px;
}

#unusedImages p {
  color: #fff;
  text-align: center;
  flex-basis: 100%;
}


footer {
  text-align: center;
  color: #aaa;
  margin-top: 40px;
  font-size: 0.9rem;
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  background-color: #121212;
  padding: 10px;
}

footer strong {
  color: #fff;
}
