.goal {
    border: 1px solid var(--used-color);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
    color: var(--used-color);
}

.name {
    font-size: 20px;
}

.progress {
    color: var(--font-color);
    margin-left: 15px;
    margin-top: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

.bar {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.distribution {
    color: var(--ion-color-primary);
}

.allowance-bar {
    display: flex;
    width: 95%;
    height: 15px !important;
    border-radius: 15px;
    background-color: var(--font-color);
    overflow: hidden;
}

.partition {
    --partition-color: white;
    background-color: var(--partition-color);
    width: 25%;
    height: 100%;
    //border-radius: 15px;
}

.buttons,
.title {
    display: flex;
    gap: 10px;
}

button {
    height: 30px;
    padding-inline: 30px;
    border-radius: 10px;
    color: white;
}

button:disabled,
button[disabled] {
    opacity: 0.5;
}

.add-button {
    background-color: var(--confirm-button-color);
}

.move-button {
    background-color: var(--ion-color-primary);
}

.spend-button {
    background-color: var(--negative-amount-color);
}

.icon {
    margin-left: auto;
    color: var(--font-color);
}

.color-wrapper {
    padding: 10px;
    border-radius: 9px;
    position: relative;
    z-index: 1;
}

.color {
    --background: rgba(0, 0, 0, 0.3);
    background-color: var(--background);
    border-radius: 9px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.other-goals {
    padding: unset;
}

.legend {
    width: 95%;
    display: flex;
    font-size: 13px;
    gap: 8px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    --legend-color: white;
    color: var(--legend-color);
    align-items: center;
}

.circle {
    width: 12px;
    height: 12px;
    background-color: var(--legend-color);
    border-radius: 20px;
    margin-right: 2px;
}

.toolbar {
    display: flex;
}

.top-add-button {
    background-color: var(--ion-color-primary);
    margin-right: 15px;
    padding-inline: 15px;
}