/* Стили шестерёнки */
.settings-gear {
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 200px;
    left: 20px;
    z-index: 999;
    background: rgb(217 217 217 / 80%);
    border-radius: 50%;
    transition: transform 0.3s;
    height: 45px;
}

.settings-gear:hover {
    transform: rotate(30deg);
}

/* Модальное окно */
.settings-modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.settings-modal.active {
    display: block;
    transform: translateX(0);
}

.modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-close {
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    color: #999;
    background: none;
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: #333;
}

.modal-content {
    margin-top: 10px;
}

.color-picker-group {
    margin-bottom: 15px;
}

.color-picker-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}
