body {
    display: flex;
    height: 100vh;
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background-color: #1a1a1a;
    color: #d66d50;
}

.sidebar {
    width: 20%;
    background-color: #2c2c2c;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    box-sizing: border-box;
}

.controls {
    display: flex;
    flex-direction: column;
    width: 100%;
	display: none;
}

.controls label, .controls input, .controls select, .controls button {
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #00ff99;
    border: none;
    border-radius: 5px;
    color: #1a1a1a;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00cc79;
}

.stats {
    margin-top: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
	padding:5%;
}

#algorithm-title {
    font-size: 24px;
    margin-bottom: 10px;
}

#array-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 60%;
    position: relative;
}

.bar {
    margin: 0 2px;
    background: linear-gradient(#98e3d6, #33767b);
    box-shadow: 0 0 5px #105a6c;
    transition: height 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.bar.show-number::after {
    content: attr(data-value);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: #d66d50;
    font-size: 12px;
}

.bar.compare {
    background: linear-gradient(45deg, #f4e87c, #d66d50);
}

.bar.swap {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}
