button {
    background-color: rgb(68, 68, 68);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    margin: 0.2rem 0.1rem;
    transition-duration: 1.25s;
    cursor: pointer;
    border-radius: 0.2rem;
}

button:hover {
    background-color: red;
    color: white;
}

.buttoncent {
    background-color: rgb(68, 68, 68);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    transition-duration: 1.25s;
    cursor: pointer;
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.buttoncent:hover {
    background-color: red;
    color: white;
}

.pcent {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

::-moz-progress-bar {
    background: rgb(82, 235, 52);
}

progress::-webkit-progress-value {
    background: rgb(82, 235, 52);
}

progress {
    background: rgb(82, 235, 52);
    border-radius: 15px;
}

.sidebar {
    margin: 0px;
}

p {
    color: white;
    font-size: 1rem;
    margin: 5px;
}

body {
    background-color: black;
}

label {
    color: white;
}

.spacedBottom {
    margin-bottom: 15px;
}

input[type="number"] {
    width: 25%;
}

select {
    margin-top: 10px;
    margin-bottom: 10px;
}

input:disabled,
select:disabled {
    background-color: #f9f9f9;
    color: #555;
    opacity: 1;
    border: 1px solid #ccc;
    cursor: not-allowed;
}

#perkContainer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.perk {
    padding: 12px;
    border-radius: 10px;
    background: #1e1e1e;
    color: white;
    font-family: sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
}

.perk.unlocked {
    border: 2px solid #4caf50;
    background: linear-gradient(145deg, #1f2f1f, #162416);
}

.perk-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.perk-reward {
    color: #ffd54f;
    margin-bottom: 6px;
}

.perk-bar {
    height: 6px;
    background: rgb(100, 100, 100);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 4px;
}

.perk-bar-fill {
    height: 100%;
    background: #4caf50;
    transition: width 0.3s;
}

.perk-progress {
    font-size: 12px;
    color: #aaa;
}