
/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

h1 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

button {
  background: #4cafef;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #2e9ed8;
}

label {
  color: #fff;
  font-size: 0.9rem;
}

input[type="range"] {
  margin-left: 5px;
}

.bar-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  overflow: hidden;
}

.bar {
  width: 20px;
  margin: 0 2px;
  background: #ffcc00;
  transition: all 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.bar.active {
  background: #ff5722;
}

.bar.sorted {
  background: #4caf50;
}

.status {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: 600;
}
